.ngf-wrap,
.ngf-wrap * {
    box-sizing: border-box;
}

.ngf-wrap {
    width: 100%;
    margin: 15px 0;
    color: #222;
    font-family: inherit;
}

.ngf-card {
    width: 100%;
    margin: 15px 0;
    padding: 18px;
    border: 1px solid #d8e2ec;
    background: #fff;
}

.ngf-contact-card {
    margin-top: 30px;
    border-top: 4px solid #628bb4;
}

.ngf-title {
    margin: 0 0 12px;
    color: #24394d;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: -0.02em;
}

.ngf-note {
    margin: 0 0 15px;
    padding: 12px;
    border-left: 4px solid #628bb4;
    background: #f4f8fb;
    color: #334;
    font-size: 15px;
    line-height: 1.55;
}

.ngf-field-row {
    position: relative;
    width: 100%;
    margin: 15px 0;
}

.ngf-input,
.ngf-contact-text {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 13px 14px;
    border: 1px solid #c7d5e2;
    border-radius: 0;
    background: #fff;
    color: #222;
    font-size: 16px;
    line-height: 1.45;
    outline: none;
    box-shadow: none;
    appearance: none;
}

.ngf-contact-text {
    min-height: 140px;
    resize: vertical;
}

.ngf-input:focus,
.ngf-contact-text:focus {
    border-color: #628bb4;
    box-shadow: 0 0 0 2px rgba(98, 139, 180, 0.16);
}

.ngf-main-button,
.ngf-contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    margin: 15px 0;
    padding: 15px 18px;
    border: 0;
    border-radius: 0;
    background: #000;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    cursor: pointer;
    text-align: center;
}

.ngf-main-button:hover,
.ngf-contact-button:hover,
.ngf-main-button:focus,
.ngf-contact-button:focus {
    background: #222;
    color: #fff;
}

.ngf-list {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 50;
    width: 100%;
    max-height: 270px;
    overflow-y: auto;
    border: 1px solid #c7d5e2;
    background: #fff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.ngf-list.is-open {
    display: block;
}

.ngf-list-item {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid #eef3f7;
    border-radius: 0;
    background: #fff;
    color: #222;
    font-size: 15px;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
}

.ngf-list-item:last-child {
    border-bottom: 0;
}

.ngf-list-item:hover,
.ngf-list-item:focus {
    background: #000;
    color: #fff;
}

.ngf-topic-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    margin: 15px 0;
}

.ngf-topic-button {
    flex: 1 1 150px;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #628bb4;
    border-radius: 0;
    background: #fff;
    color: #628bb4;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    cursor: pointer;
    text-align: center;
}

.ngf-topic-button.is-active,
.ngf-topic-button:hover,
.ngf-topic-button:focus {
    background: #628bb4;
    color: #fff;
}

.ngf-detail-box {
    width: 100%;
    margin: 15px 0 0;
}

.ngf-info-picker {
    position: relative;
    width: 100%;
    margin: 15px 0;
}

.ngf-result,
.ngf-info-result,
.ngf-contact-result {
    width: 100%;
    margin: 15px 0 0;
}

.ngf-result-row,
.ngf-info-line,
.ngf-contact-message {
    display: block;
    width: 100%;
    margin: 8px 0;
    padding: 12px 13px;
    border: 1px solid #dbe6f0;
    background: #f9fbfd;
    color: #222;
    font-size: 15px;
    line-height: 1.55;
}

.ngf-result-row.ngf-strong {
    border-color: #628bb4;
    background: #f2f7fb;
    color: #1f3447;
    font-weight: 800;
}

.ngf-result-row.ngf-warn {
    border-color: #e0b36d;
    background: #fff9ed;
}

.ngf-result-row.ngf-error {
    border-color: #da8b8b;
    background: #fff4f4;
}

.ngf-file-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin: 12px 0;
    padding: 14px 16px;
    border: 1px solid #628bb4;
    border-radius: 0;
    background: #628bb4;
    color: #fff !important;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none !important;
}

.ngf-file-button:hover,
.ngf-file-button:focus {
    background: #4d759c;
    color: #fff !important;
}

.ngf-share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    margin: 0 0 20px;
    padding: 15px 18px;
    border: 1px solid #2f3f4f;
    border-radius: 0;
    background: #2f3f4f;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
}

.ngf-share-button:hover,
.ngf-share-button:focus {
    background: #1e2a36;
    color: #fff;
}

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 25px;
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: 640px) {
    .ngf-card {
        padding: 15px;
    }

    .ngf-title {
        font-size: 18px;
    }

    .ngf-topic-button {
        flex-basis: calc(50% - 8px);
        font-size: 14px;
    }

    .ngf-input,
    .ngf-contact-text,
    .ngf-main-button,
    .ngf-contact-button,
    .ngf-share-button {
        font-size: 15px;
    }
}
