.acec-estimator {
    margin: 15px 0;
    font-family: inherit;
    color: #111111;
}

.acec-estimator * {
    box-sizing: border-box;
}

.acec-card {
    margin: 15px 0;
    padding: 18px;
    border: 1px solid #d9e2ec;
    background: #ffffff;
}

.acec-block-label,
.acec-select-label,
.acec-direct-title {
    display: block;
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 700;
    color: #111111;
}

.acec-field-block,
.acec-select-row,
.acec-result-item,
.acec-inquiry-desc,
.acec-inline-message,
.acec-inquiry-textarea,
.acec-submit-button,
.eitc-apply-button,
.acec-share-button {
    width: 100%;
}

.acec-field-block,
.acec-select-row,
.acec-result-item {
    margin-bottom: 14px;
}

.acec-region-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.acec-region-button {
    min-width: 78px;
    padding: 12px 14px;
    border: 1px solid #628bb4;
    background: #ffffff;
    color: #628bb4;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.acec-region-button.is-active,
.acec-region-button:hover,
.acec-region-button:focus {
    background: #628bb4;
    color: #ffffff;
    outline: none;
}

.acec-subtopics[hidden],
.acec-result-wrap[hidden] {
    display: none !important;
}

.acec-search-select {
    position: relative;
}

.acec-search-select input[type="text"] {
    width: 100%;
    height: 48px;
    padding: 12px 14px;
    border: 1px solid #cfd8df;
    background: #ffffff;
    font-size: 15px;
    color: #111111;
    outline: none;
}

.acec-search-select input[type="text"]:focus {
    border-color: #628bb4;
}

.acec-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    max-height: 240px;
    overflow-y: auto;
    border: 1px solid #d6dce2;
    background: #ffffff;
    display: none;
}

.acec-options.is-open {
    display: block;
}

.acec-option {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    background: #ffffff;
    text-align: left;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.35;
    color: #111111;
}

.acec-option:hover,
.acec-option:focus,
.acec-option.is-active {
    background: #000000;
    color: #ffffff;
    outline: none;
}

.acec-option-empty {
    padding: 12px 14px;
    font-size: 14px;
    color: #666666;
}

.acec-submit-button,
.acec-inquiry-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 16px 18px;
    border: 0;
    border-radius: 0;
    background: #000000;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.acec-submit-button:hover,
.acec-submit-button:focus,
.acec-inquiry-button:hover,
.acec-inquiry-button:focus {
    opacity: 0.92;
    outline: none;
}

.acec-result-list {
    margin-top: 16px;
}

.acec-result-item {
    padding: 14px 16px;
    border: 1px solid #dbe6f0;
    background: #f7fbff;
}

.acec-result-name {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #4d759c;
}

.acec-result-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    word-break: keep-all;
}

.acec-result-actions {
    margin-top: 10px;
}

.acec-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    margin: 0 0 10px;
    padding: 16px 20px;
    border: 1px solid #4d759c;
    border-radius: 0;
    background: #edf4fb;
    color: #2f5f8c;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
}

.acec-share-button:hover,
.acec-share-button:focus {
    background: #dceaf7;
    outline: none;
}

.acec-direct-title {
    margin-bottom: 8px;
}

.acec-inquiry-desc {
    margin: 0 0 12px;
    font-size: 15px;
    color: #444444;
    line-height: 1.5;
}

.acec-inquiry-textarea {
    min-height: 140px;
    margin: 0 0 12px;
    padding: 14px;
    border: 1px solid #cfd8df;
    font-size: 15px;
    resize: vertical;
    outline: none;
}

.acec-inquiry-textarea:focus {
    border-color: #628bb4;
}

.acec-inline-message {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #111111;
}

.acec-inline-message.is-error {
    color: #c62828;
}

.acec-inline-message.is-success {
    color: #1b5e20;
}

@media (max-width: 767px) {
    .acec-card {
        padding: 16px;
    }

    .acec-region-button {
        flex: 1 1 calc(50% - 8px);
    }
}

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 12px;
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%;
}
}
