.kepsas-search-modal {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(22px, env(safe-area-inset-top)) 22px max(22px, env(safe-area-inset-bottom));
}

    .kepsas-search-modal[hidden] {
        display: none !important;
    }

.kepsas-search-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 25, 38, 0.55);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.kepsas-search-modal.is-open
.kepsas-search-backdrop {
    opacity: 1;
}

.kepsas-search-panel {
    position: relative;
    z-index: 2;
    width: min(900px, 100%);
    max-height: calc(100vh - 44px);
    max-height: calc(100dvh - 44px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 25px 27px 27px;
    color: #0b2635;
    background: #ffffff;
    border: 1px solid #dce4e8;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(4, 25, 38, 0.24);
    opacity: 0;
    transform: translateY(10px) scale(0.986);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.kepsas-search-modal.is-open
.kepsas-search-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.kepsas-search-panel::-webkit-scrollbar {
    width: 6px;
}

.kepsas-search-panel::-webkit-scrollbar-track {
    background: transparent;
}

.kepsas-search-panel::-webkit-scrollbar-thumb {
    background: rgba(143, 162, 173, 0.48);
    border-radius: 999px;
}

.kepsas-search-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 19px;
}

.kepsas-search-heading {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.kepsas-search-heading-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #123f55;
    background: #f1f4f5;
    border: 1px solid #dce4e8;
    border-radius: 12px;
    font-size: 17px;
}

.kepsas-search-heading-copy {
    min-width: 0;
}

.kepsas-search-kicker {
    display: block;
    margin-bottom: 4px;
    color: #123f55;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.kepsas-search-heading h2 {
    margin: 0;
    color: #0b2635;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.35px;
}

.kepsas-search-head-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 9px;
}

.kepsas-search-faq-button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    color: #123f55;
    background: #f7f9fa;
    border: 1px solid #dce4e8;
    border-radius: 11px;
    text-decoration: none;
    font-size: 11.5px;
    font-weight: 750;
    white-space: nowrap;
    box-shadow: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

    .kepsas-search-faq-button > i:first-child {
        color: #123f55;
        font-size: 11px;
    }

.kepsas-search-faq-arrow {
    color: #1aa6b7;
    font-size: 8px;
    transition: transform 0.18s ease;
}

.kepsas-search-faq-button:hover {
    color: #0b2635;
    background: #f5f7f8;
    border-color: rgba(26, 166, 183, 0.48);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(18, 62, 88, 0.07);
}

    .kepsas-search-faq-button:hover
    .kepsas-search-faq-arrow {
        transform: translateX(2px);
    }

.kepsas-search-close {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #8fa2ad;
    background: transparent;
    border: 0;
    border-radius: 11px;
    font-size: 17px;
    cursor: pointer;
    transition: color 0.18s ease, background-color 0.18s ease;
}

    .kepsas-search-close:hover {
        color: #0b2635;
        background: #f1f5f7;
    }

.kepsas-search-form {
    width: 100%;
    margin: 0 0 24px;
}

.kepsas-search-input-shell {
    position: relative;
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    padding: 4px 4px 4px 48px;
    background: #ffffff;
    border: 1px solid #dce4e8;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(17, 57, 78, 0.035);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

    .kepsas-search-input-shell:focus-within {
        border-color: rgba(18, 63, 85, 0.52);
        box-shadow: 0 4px 12px rgba(7, 28, 40, 0.05);
    }

.kepsas-search-input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #8fa2ad;
    font-size: 15px;
    pointer-events: none;
}

.kepsas-search-input-shell input {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 0 15px 0 0;
    color: #0b2635;
    background: transparent;
    border: 0;
    outline: 0;
    box-shadow: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 650;
}

    .kepsas-search-input-shell input::placeholder {
        color: #8fa2ad;
        font-weight: 600;
        opacity: 1;
    }

.kepsas-search-submit {
    min-width: 112px;
    height: 48px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 19px;
    color: #ffffff;
    background: #123f55;
    border: 0;
    border-radius: 11px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

    .kepsas-search-submit:hover {
        background: #18556e;
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(18, 62, 88, 0.18);
    }

    .kepsas-search-submit i {
        font-size: 9px;
    }

.kepsas-search-section {
    width: 100%;
}

    .kepsas-search-section +
    .kepsas-search-section {
        margin-top: 21px;
        padding-top: 19px;
        border-top: 1px solid #dce4e8;
    }

.kepsas-search-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 12px;
}

.kepsas-search-section-title {
    padding: 0;
}

    .kepsas-search-section-title::before,
    .kepsas-search-section-title::after {
        content: none;
        display: none;
    }

.kepsas-search-section-kicker {
    display: block;
    margin-bottom: 3px;
    color: #6f838e;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 1.15px;
    text-transform: uppercase;
}

.kepsas-search-section-head h3 {
    margin: 0;
    color: #0b2635;
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.25;
}

.kepsas-search-section-note {
    color: #7a8e99;
    font-size: 11px;
    font-weight: 650;
}

.kepsas-search-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px;
}

.kepsas-search-action {
    --action-color: #1aa6b7;
    position: relative;
    min-width: 0;
    min-height: 138px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 13px 14px;
    overflow: hidden;
    color: #0b2635;
    background: #f8fafb;
    border: 1px solid #dce4e8;
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(12, 39, 53, 0.025);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

    .kepsas-search-action::before,
    .kepsas-search-action::after {
        content: none;
        display: none;
    }

.kepsas-search-action--blue {
    --action-color: #1684b5;
}

.kepsas-search-action--yellow {
    --action-color: #d5a40f;
}

.kepsas-search-action--teal {
    --action-color: #f7941d;
}

.kepsas-search-action--red {
    --action-color: #d93238;
}

.kepsas-search-action:hover {
    color: #0b2635;
    background: #ffffff;
    border-color: rgba(26, 166, 183, 0.48);
    transform: translateY(-2px);
    box-shadow: 0 9px 20px rgba(13, 39, 52, 0.08);
}

.kepsas-search-action-icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 9px;
    background: #f1f4f5;
    border: 1px solid #e2e7ea;
    border-radius: 14px;
}

.kepsas-search-svg {
    display: block;
    width: 46px;
    height: 46px;
    max-width: 46px;
    max-height: 46px;
    overflow: visible;
}

.kepsas-search-action-copy {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .kepsas-search-action-copy strong {
        display: block;
        color: #0b2635;
        font-size: 14px;
        font-weight: 800;
        line-height: 1.3;
    }

    .kepsas-search-action-copy small {
        display: block;
        max-width: 185px;
        margin-top: 5px;
        color: #6f828d;
        font-size: 10.5px;
        font-weight: 650;
        line-height: 1.4;
    }

.kepsas-search-action-go {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--action-color);
    font-size: 8px;
    opacity: 0.74;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.kepsas-search-action:hover
.kepsas-search-action-go {
    opacity: 1;
    transform: translateX(2px);
}

.search-new-head,
.search-new-mark {
    transform-box: fill-box;
    transition: transform 0.30s ease-in-out;
}

.search-new-head {
    transform-origin: center;
}

.kepsas-search-action:is(:hover, :focus-visible)
.search-new-mark {
    transform: translateY(-18px);
}

.kepsas-search-action:is(:hover, :focus-visible)
.search-new-head {
    transform: scale(1.12);
}

.search-bill-document {
    filter: url(#searchBillShadow);
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease;
}

.search-bill-line {
    transform-box: fill-box;
    transform-origin: left center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.kepsas-search-action:is(:hover, :focus-visible)
.search-bill-document {
    filter: url(#searchBillShadowHover);
    transform: translateY(-12px) scale(1.06);
}

.kepsas-search-action:is(:hover, :focus-visible)
.search-bill-line--1 {
    transform: scaleX(1.16);
    transition-delay: 0s;
}

.kepsas-search-action:is(:hover, :focus-visible)
.search-bill-line--2 {
    transform: scaleX(1.22);
    transition-delay: 0.05s;
}

.kepsas-search-action:is(:hover, :focus-visible)
.search-bill-line--3 {
    transform: scaleX(1.16);
    transition-delay: 0.10s;
}

.kepsas-search-action:is(:hover, :focus-visible)
.search-bill-line--4 {
    transform: scaleX(1.12);
    transition-delay: 0.15s;
}

.kepsas-search-action:is(:hover, :focus-visible)
.search-bill-line--5 {
    transform: scaleX(1.16);
    transition-delay: 0.20s;
}

.search-debt-icon {
    filter: url(#searchDebtShadow);
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease;
}

.search-debt-lines {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.search-debt-line {
    transition: stroke 0.4s ease;
}

.kepsas-search-action:is(:hover, :focus-visible)
.search-debt-icon {
    transform: translateY(-6px) rotate(-4deg) scale(1.02);
    filter: url(#searchDebtShadowHover);
}

.kepsas-search-action:is(:hover, :focus-visible)
.search-debt-lines {
    transform: scale(1.15);
}

.kepsas-search-action:is(:hover, :focus-visible)
.search-debt-line {
    stroke: #f7941d;
}

.search-online-pc {
    transition: transform 0.4s ease;
}

.search-online-btn {
    transform-box: fill-box;
    transform-origin: center;
    transition: fill 0.3s ease, transform 0.3s ease;
}

.search-online-line {
    transform-box: fill-box;
    transform-origin: left center;
    transition: transform 0.4s ease, fill 0.4s ease;
}

.kepsas-search-action:is(:hover, :focus-visible)
.search-online-pc {
    transform: translateY(-4px);
}

.kepsas-search-action:is(:hover, :focus-visible)
.search-online-btn {
    fill: #9c141a;
    transform: scale(1.05);
}

.kepsas-search-action:is(:hover, :focus-visible)
.search-online-line--1 {
    transform: scaleX(1.2);
    fill: #e53935;
    transition-delay: 0.1s;
}

.kepsas-search-action:is(:hover, :focus-visible)
.search-online-line--2 {
    transform: scaleX(1.3);
    fill: #e53935;
    transition-delay: 0.2s;
}

.kepsas-search-question-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.kepsas-search-question {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 9px 15px;
    color: #294250;
    background: #f8fafb;
    border: 1px solid #dce4e8;
    border-radius: 12px;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.35;
    box-shadow: none;
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

    .kepsas-search-question i {
        flex: 0 0 auto;
        color: #1aa6b7;
        font-size: 9px;
        transition: transform 0.18s ease;
    }

    .kepsas-search-question:hover {
        color: #0b2635;
        background: #f5f7f8;
        border-color: rgba(26, 166, 183, 0.48);
        transform: translateY(-1px);
        box-shadow: 0 6px 14px rgba(12, 39, 53, 0.05);
    }

        .kepsas-search-question:hover i {
            transform: translateX(2px);
        }

    .kepsas-search-faq-button:focus-visible,
    .kepsas-search-close:focus-visible,
    .kepsas-search-submit:focus-visible,
    .kepsas-search-action:focus-visible,
    .kepsas-search-question:focus-visible {
        outline: 3px solid rgba(18, 63, 85, 0.18);
        outline-offset: 2px;
    }

@media (max-width: 900px) {
    .kepsas-search-modal {
        padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
    }

    .kepsas-search-panel {
        width: 100%;
        max-width: 740px;
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);
    }

    .kepsas-search-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .kepsas-search-modal {
        padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));
    }

    .kepsas-search-panel {
        width: 100%;
        max-width: none;
        max-height: calc(100vh - 20px);
        max-height: calc(100dvh - 20px);
        padding: 20px 15px max(20px, env(safe-area-inset-bottom));
        border-radius: 18px;
    }

    .kepsas-search-head {
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 17px;
    }

    .kepsas-search-heading {
        gap: 10px;
    }

    .kepsas-search-heading-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 12px;
    }

    .kepsas-search-heading h2 {
        max-width: 190px;
        font-size: 16px;
    }

    .kepsas-search-kicker {
        font-size: 8.5px;
    }

    .kepsas-search-faq-button {
        width: 40px;
        height: 40px;
        min-height: 40px;
        padding: 0;
    }

        .kepsas-search-faq-button span,
        .kepsas-search-faq-arrow {
            display: none;
        }

    .kepsas-search-close {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .kepsas-search-form {
        margin-bottom: 20px;
    }

    .kepsas-search-input-shell {
        min-height: 54px;
        padding: 4px 4px 4px 43px;
        border-radius: 14px;
    }

    .kepsas-search-input-icon {
        left: 16px;
        font-size: 13px;
    }

    .kepsas-search-input-shell input {
        height: 43px;
        padding-right: 8px;
        font-size: 12.5px;
    }

    .kepsas-search-submit {
        min-width: 72px;
        height: 43px;
        padding: 0 13px;
        border-radius: 10px;
        font-size: 11.5px;
    }

        .kepsas-search-submit i {
            display: none;
        }

    .kepsas-search-section +
    .kepsas-search-section {
        margin-top: 20px;
        padding-top: 18px;
    }

    .kepsas-search-section-head {
        margin-bottom: 11px;
    }

    .kepsas-search-section-note {
        display: none;
    }

    .kepsas-search-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .kepsas-search-action {
        min-height: 118px;
        padding: 13px 8px 11px;
        border-radius: 13px;
    }

    .kepsas-search-action-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        margin-bottom: 7px;
        border-radius: 12px;
    }

    .kepsas-search-svg {
        width: 43px;
        height: 43px;
    }

    .kepsas-search-action-copy strong {
        font-size: 12px;
    }

    .kepsas-search-action-copy small {
        display: none;
    }

    .kepsas-search-question-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .kepsas-search-question {
        width: 100%;
        min-height: 42px;
        justify-content: space-between;
        padding: 9px 12px;
        font-size: 12px;
    }
}

@media (max-width: 430px) {
    .kepsas-search-panel {
        padding-right: 14px;
        padding-left: 14px;
    }

    .kepsas-search-head {
        align-items: center;
        gap: 8px;
    }

    .kepsas-search-heading-icon {
        display: none;
    }

    .kepsas-search-heading h2 {
        max-width: none;
        font-size: 16px;
    }

    .kepsas-search-head-actions {
        gap: 6px;
    }

    .kepsas-search-input-shell {
        padding-left: 41px;
    }

    .kepsas-search-input-icon {
        left: 15px;
    }
}

@media (max-width: 360px) {
    .kepsas-search-panel {
        border-radius: 16px;
    }

    .kepsas-search-heading h2 {
        font-size: 15px;
    }

    .kepsas-search-input-shell {
        padding-left: 38px;
    }

    .kepsas-search-input-icon {
        left: 13px;
    }

    .kepsas-search-submit {
        min-width: 66px;
        padding-right: 11px;
        padding-left: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kepsas-search-modal *,
    .kepsas-search-modal *::before,
    .kepsas-search-modal *::after {
        transition: none !important;
    }

    .kepsas-search-submit:hover,
    .kepsas-search-faq-button:hover,
    .kepsas-search-action:hover,
    .kepsas-search-question:hover {
        transform: none;
    }
}

body.cookie-modal-open {
    overflow: hidden;
}

