.vlcc-root,
.vlcc-root * {
    box-sizing: border-box;
}

body.vlcc-modal-open {
    overflow: hidden;
}

.vlcc-banner {
    position: fixed;
    z-index: 2147483000;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 22px;
    border: 1px solid rgba(16, 42, 67, .16);
    border-radius: 18px;
    background: var(--vlcc-background, #fff);
    color: var(--vlcc-text, #102a43);
    box-shadow: 0 20px 60px rgba(15, 35, 55, .22);
    font-family: inherit;
}

.vlcc-banner[hidden],
.vlcc-modal[hidden],
.vlcc-overlay[hidden] {
    display: none !important;
}

.vlcc-banner__content {
    min-width: 0;
    max-width: 760px;
}

.vlcc-banner h2,
.vlcc-modal h2,
.vlcc-category h3 {
    color: var(--vlcc-text, #102a43);
}

.vlcc-banner h2 {
    margin: 0 0 6px;
    font-size: 1.17rem;
    line-height: 1.3;
}

.vlcc-banner p {
    margin: 0;
    font-size: .94rem;
    line-height: 1.55;
}

.vlcc-banner a,
.vlcc-policy-link {
    color: var(--vlcc-primary, #123d63);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.vlcc-test-badge {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #fff5cc;
    color: #6b5100;
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.vlcc-banner__actions,
.vlcc-modal__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.vlcc-button {
    min-height: 42px;
    padding: 10px 17px;
    border: 2px solid var(--vlcc-primary, #123d63);
    border-radius: 10px;
    font: inherit;
    font-size: .9rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.vlcc-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(15, 45, 70, .14);
}

.vlcc-button:focus-visible,
.vlcc-close:focus-visible,
.vlcc-switch input:focus-visible + .vlcc-switch__track {
    outline: 3px solid rgba(22, 138, 107, .35);
    outline-offset: 2px;
}

.vlcc-button--decision {
    min-width: 110px;
    background: var(--vlcc-primary, #123d63);
    color: #fff;
}

.vlcc-button--secondary {
    background: transparent;
    color: var(--vlcc-primary, #123d63);
}

.vlcc-overlay {
    position: fixed;
    z-index: 2147483001;
    inset: 0;
    background: rgba(4, 17, 29, .58);
    backdrop-filter: blur(2px);
}

.vlcc-modal {
    position: fixed;
    z-index: 2147483002;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    width: min(760px, calc(100vw - 28px));
    max-height: min(820px, calc(100vh - 28px));
    overflow: hidden;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(16, 42, 67, .14);
    border-radius: 20px;
    background: var(--vlcc-background, #fff);
    color: var(--vlcc-text, #102a43);
    box-shadow: 0 28px 90px rgba(0, 0, 0, .34);
    font-family: inherit;
}

.vlcc-modal__header,
.vlcc-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-color: rgba(16, 42, 67, .12);
}

.vlcc-modal__header {
    border-bottom: 1px solid rgba(16, 42, 67, .12);
}

.vlcc-modal__footer {
    border-top: 1px solid rgba(16, 42, 67, .12);
}

.vlcc-modal__header h2 {
    margin: 2px 0 0;
    font-size: 1.35rem;
}

.vlcc-eyebrow {
    color: var(--vlcc-accent, #168a6b);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.vlcc-close {
    display: inline-grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(16, 42, 67, .08);
    color: var(--vlcc-text, #102a43);
    font: inherit;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

.vlcc-modal__body {
    min-height: 0;
    overflow: auto;
    padding: 20px 22px;
}

.vlcc-intro {
    margin: 0 0 16px;
    font-size: .93rem;
    line-height: 1.55;
}

.vlcc-categories {
    display: grid;
    gap: 12px;
}

.vlcc-category {
    padding: 15px;
    border: 1px solid rgba(16, 42, 67, .13);
    border-radius: 14px;
    background: rgba(238, 246, 251, .42);
}

.vlcc-category__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.vlcc-category h3 {
    margin: 0 0 4px;
    font-size: 1rem;
}

.vlcc-category p {
    margin: 0;
    color: #486581;
    font-size: .85rem;
    line-height: 1.45;
}

.vlcc-switch {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}

.vlcc-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.vlcc-switch__track {
    position: relative;
    display: block;
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: #9fb3c8;
    transition: background .18s ease;
}

.vlcc-switch__track::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .22);
    content: '';
    transition: transform .18s ease;
}

.vlcc-switch input:checked + .vlcc-switch__track {
    background: var(--vlcc-accent, #168a6b);
}

.vlcc-switch input:checked + .vlcc-switch__track::after {
    transform: translateX(20px);
}

.vlcc-switch input:disabled + .vlcc-switch__track {
    opacity: .74;
}

.vlcc-switch__label {
    max-width: 78px;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.2;
}

.vlcc-services {
    margin-top: 11px;
    border-top: 1px solid rgba(16, 42, 67, .1);
    padding-top: 10px;
}

.vlcc-services summary {
    color: var(--vlcc-primary, #123d63);
    font-size: .79rem;
    font-weight: 800;
    cursor: pointer;
}

.vlcc-services__list {
    display: grid;
    gap: 8px;
    margin-top: 9px;
}

.vlcc-service {
    display: grid;
    grid-template-columns: minmax(110px, .8fr) minmax(80px, .55fr) minmax(100px, .8fr);
    gap: 7px 10px;
    align-items: start;
    padding: 9px 10px;
    border-radius: 9px;
    background: #fff;
    font-size: .78rem;
}

.vlcc-service code {
    overflow-wrap: anywhere;
}

.vlcc-service p {
    grid-column: 1 / -1;
    font-size: .78rem;
}

.vl-cookie-settings-link {
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.vl-cookie-policy-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.vl-cookie-policy-table {
    min-width: 980px;
}

@media (max-width: 860px) {
    .vlcc-banner {
        align-items: stretch;
        flex-direction: column;
        gap: 15px;
    }

    .vlcc-banner__actions {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .vlcc-button {
        width: 100%;
        min-width: 0;
    }

    .vlcc-modal__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .vlcc-policy-link {
        align-self: flex-start;
    }
}

@media (max-width: 620px) {
    .vlcc-banner {
        right: 9px;
        bottom: 9px;
        left: 9px;
        padding: 16px;
        border-radius: 15px;
    }

    .vlcc-banner__actions {
        grid-template-columns: 1fr 1fr;
    }

    .vlcc-banner__actions .vlcc-button--secondary {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .vlcc-modal {
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 12px);
        transform: none;
        border-radius: 18px 18px 0 0;
    }

    .vlcc-modal__header,
    .vlcc-modal__body,
    .vlcc-modal__footer {
        padding-right: 16px;
        padding-left: 16px;
    }

    .vlcc-category__heading {
        flex-direction: column;
    }

    .vlcc-switch {
        align-self: stretch;
        justify-content: space-between;
    }

    .vlcc-switch__label {
        order: -1;
        max-width: none;
    }

    .vlcc-modal__actions {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr 1fr;
    }

    .vlcc-modal__actions .vlcc-button--secondary {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .vlcc-service {
        grid-template-columns: 1fr;
    }

    .vlcc-service p {
        grid-column: auto;
    }
}
