.whpg-wrap {
    margin: 15px 0;
    padding: 18px;
    border: 1px solid #d9e3ee;
    background: #ffffff;
    box-sizing: border-box;
}

.whpg-wrap * {
    box-sizing: border-box;
}

.whpg-field {
    margin-bottom: 14px;
}

.whpg-label,
.whpg-inquiry-title {
    display: block;
    margin-bottom: 8px;
    color: #222222;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.whpg-input,
.whpg-textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #bfd0e2;
    background: #ffffff;
    color: #222222;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 0;
    outline: none;
    box-shadow: none;
}

.whpg-input:focus,
.whpg-textarea:focus {
    border-color: #628bb4;
}

.whpg-textarea {
    min-height: 130px;
    resize: vertical;
}

.whpg-combobox {
    position: relative;
}

.whpg-topic-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 9999;
    max-height: 240px;
    overflow-y: auto;
    border: 1px solid #bfd0e2;
    background: #ffffff;
}

.whpg-topic-item,
.whpg-topic-empty {
    width: 100%;
    padding: 12px 14px;
    border-bottom: 1px solid #eef3f8;
    color: #222222;
    font-size: 15px;
    line-height: 1.5;
    cursor: pointer;
}

.whpg-topic-item:last-child,
.whpg-topic-empty:last-child {
    border-bottom: 0;
}

.whpg-topic-item:hover,
.whpg-topic-item:focus,
.whpg-topic-item.is-active {
    background: #000000;
    color: #ffffff;
}

.whpg-topic-empty {
    cursor: default;
    background: #ffffff;
    color: #666666;
}

.whpg-action-button,
.whpg-share-button {
    display: block;
    width: 100%;
    min-height: 52px;
    margin: 15px 0 0;
    padding: 14px 16px;
    border: 0;
    border-radius: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.whpg-action-button:hover,
.whpg-share-button:hover {
    opacity: 0.92;
}

.whpg-calc-button,
.whpg-inquiry-button {
    background: #000000;
    color: #ffffff;
}

.whpg-share-button {
    background: #5f7c98;
    color: #ffffff;
}

.whpg-inline-message {
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid #d8e3ef;
    background: #f7fbff;
    color: #24405d;
    font-size: 15px;
    line-height: 1.6;
}

.whpg-validation-message {
    border-color: #efc5c5;
    background: #fff5f5;
    color: #8d2f2f;
}

.whpg-result {
    margin-top: 15px;
    border: 1px solid #d9e3ee;
    background: #f9fbfe;
}

.whpg-result-row {
    padding: 13px 14px;
    border-bottom: 1px solid #e7eef6;
    color: #222222;
    font-size: 15px;
    line-height: 1.7;
}

.whpg-result-row:last-child {
    border-bottom: 0;
}

.whpg-result-label {
    display: block;
    margin-bottom: 4px;
    color: #4b6987;
    font-size: 13px;
    font-weight: 700;
}

.whpg-result-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #222222;
}

.whpg-result-text {
    display: block;
    color: #333333;
    font-size: 15px;
    font-weight: 400;
}

.whpg-separator {
    margin: 28px 0;
    border-top: 2px solid #e7eef6;
}

.whpg-after-actions {
    margin-top: 15px;
}

a.eitc-apply-button,
a.eitc-apply-button:link,
a.eitc-apply-button:visited,
a.eitc-apply-button:hover,
a.eitc-apply-button:focus,
a.eitc-apply-button:active {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    padding: 16px 20px;
    margin: 15px 0 0;
    border: 1px solid #4d759c;
    background: linear-gradient(180deg, #7399c0 0%, #628bb4 48%, #4d759c 100%);
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none !important;
    box-shadow: 0 12px 24px rgba(98, 139, 180, 0.26), inset 0 1px 0 rgba(255,255,255,0.25);
    overflow: hidden;
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
    animation: eitcApplyPulse 1.7s ease-in-out infinite;
    box-sizing: border-box;
    -webkit-text-fill-color: #ffffff !important;
}

a.eitc-apply-button span,
a.eitc-apply-button span:link,
a.eitc-apply-button span:visited,
a.eitc-apply-button span:hover,
a.eitc-apply-button span:focus,
a.eitc-apply-button span:active {
    position: relative;
    z-index: 2;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

a.eitc-apply-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -30%;
    width: 24%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.26) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-18deg);
    animation: eitcApplyShine 2.8s linear infinite;
    z-index: 1;
}

a.eitc-apply-button:hover,
a.eitc-apply-button:focus {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(98, 139, 180, 0.34), inset 0 1px 0 rgba(255,255,255,0.25);
    filter: saturate(1.05);
}

a.eitc-apply-button:active {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    transform: translateY(1px);
    box-shadow: 0 8px 16px rgba(98, 139, 180, 0.26), inset 0 2px 6px rgba(0,0,0,0.15);
}

@keyframes eitcApplyPulse {
    0%, 100% {
        box-shadow: 0 12px 24px rgba(98, 139, 180, 0.26), inset 0 1px 0 rgba(255,255,255,0.25);
    }
    50% {
        box-shadow: 0 16px 30px rgba(98, 139, 180, 0.34), inset 0 1px 0 rgba(255,255,255,0.3);
    }
}

@keyframes eitcApplyShine {
    0% {
        left: -30%;
    }
    100% {
        left: 120%;
    }
}

@media (max-width: 768px) {
    .whpg-wrap {
        padding: 16px;
    }

    .whpg-topic-list {
        max-height: 220px;
    }
}
