body.cookie-preferences-open {
    overflow: hidden;
}

.cookie-consent-banner[hidden],
.cookie-preferences[hidden] {
    display: none !important;
}

.cookie-consent-banner {
    width: auto;
    box-sizing: border-box;
    position: fixed;
    z-index: 10000000;
    right: 22px;
    bottom: 22px;
    left: 22px;
    color: #fff;
}

.cookie-consent-banner-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: #17181a;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
    box-shadow: 0 12px 45px rgba(0, 0, 0, .45);
}

.cookie-consent-copy {
    max-width: 680px;
}

.cookie-consent-copy h2,
.cookie-preferences-header h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 23px;
    line-height: 1.25;
}

.cookie-consent-copy p,
.cookie-preferences-body > p {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    line-height: 1.55;
}

.cookie-consent-copy a,
.cookie-policy-link {
    color: #aab2ff;
    font-size: 14px;
    text-decoration: underline;
}

.cookie-consent-actions,
.cookie-preferences-actions {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 10px;
}

.cookie-consent-actions {
    flex-wrap: wrap;
    max-width: 430px;
}

.cookie-consent-button,
.cookie-map-placeholder button {
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 6px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s;
}

.cookie-consent-button-primary,
.cookie-map-placeholder button {
    color: #fff;
    background: #3e51ff;
    border-color: #3e51ff;
}

.cookie-consent-button-primary:hover,
.cookie-map-placeholder button:hover {
    background: #2639e8;
    border-color: #2639e8;
}

.cookie-consent-button-secondary {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, .48);
}

.cookie-consent-button-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .08);
}

.cookie-consent-button-link {
    min-height: auto;
    padding: 6px 8px;
    color: #fff;
    background: transparent;
    text-decoration: underline;
}

.cookie-preferences {
    position: fixed;
    z-index: 10000001;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-preferences-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .78);
}

.cookie-preferences-dialog {
    position: relative;
    width: 100%;
    max-width: 720px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    color: #fff;
    background: #232529;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .55);
    outline: none;
}

.cookie-preferences-header {
    padding: 24px 64px 20px 24px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.cookie-preferences-kicker {
    display: block;
    margin-bottom: 5px;
    color: #8995ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cookie-preferences-close {
    position: absolute;
    top: 17px;
    right: 18px;
    width: 40px;
    height: 40px;
    padding: 0;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    font-size: 27px;
    line-height: 36px;
    cursor: pointer;
}

.cookie-preferences-body {
    padding: 22px 24px 10px;
}

.cookie-category {
    margin: 12px 0;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 8px;
}

.cookie-category-copy strong,
.cookie-category-copy span {
    display: block;
}

.cookie-category-copy strong {
    margin-bottom: 5px;
    color: #fff;
    font-size: 16px;
}

.cookie-category-copy span {
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    line-height: 1.45;
}

.cookie-switch {
    min-width: 110px;
    display: grid;
    grid-template-columns: 43px 1fr;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.cookie-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cookie-switch > span {
    width: 43px;
    height: 24px;
    position: relative;
    background: #65686e;
    border-radius: 20px;
    transition: background-color .2s;
}

.cookie-switch > span:after {
    content: "";
    width: 18px;
    height: 18px;
    position: absolute;
    top: 3px;
    left: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s;
}

.cookie-switch input:checked + span {
    background: #3e51ff;
}

.cookie-switch input:checked + span:after {
    transform: translateX(19px);
}

.cookie-switch input:focus-visible + span {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.cookie-switch em {
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    font-style: normal;
}

.cookie-switch-required {
    cursor: default;
}

.cookie-policy-link {
    display: inline-block;
    margin: 5px 0 12px;
}

.cookie-preferences-actions {
    padding: 18px 24px 24px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.cookie-map-placeholder {
    width: 100%;
    min-height: 400px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    background: #202225;
    border: 5px solid #3e51ff;
    text-align: center;
}

.cookie-map-placeholder i {
    margin-bottom: 4px;
    color: #3e51ff;
    font-size: 34px;
}

.cookie-map-placeholder strong {
    font-size: 20px;
}

.cookie-map-placeholder span {
    max-width: 370px;
    color: rgba(255, 255, 255, .74);
    font-size: 14px;
}

.cookie-map-placeholder button {
    margin-top: 8px;
}

.cookie-consent-noscript {
    position: fixed;
    z-index: 10000000;
    right: 20px;
    bottom: 20px;
    left: 20px;
    padding: 16px;
    color: #fff;
    background: #17181a;
    border: 1px solid rgba(255, 255, 255, .2);
    text-align: center;
}

@media (max-width: 991px) {
    .cookie-consent-banner-inner {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
    }

    .cookie-consent-actions {
        max-width: none;
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .cookie-consent-banner {
        right: 10px;
        bottom: 10px;
        left: 10px;
    }

    .cookie-consent-banner-inner {
        max-height: calc(100vh - 20px);
        overflow-y: auto;
        padding: 18px;
    }

    .cookie-consent-copy h2,
    .cookie-preferences-header h2 {
        font-size: 20px;
    }

    .cookie-consent-actions,
    .cookie-preferences-actions {
        flex-direction: column;
    }

    .cookie-consent-button {
        width: 100%;
    }

    .cookie-consent-button-link {
        min-height: 44px;
    }

    .cookie-preferences {
        padding: 8px;
    }

    .cookie-preferences-dialog {
        max-height: calc(100vh - 16px);
    }

    .cookie-preferences-header,
    .cookie-preferences-body,
    .cookie-preferences-actions {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cookie-category {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .cookie-switch {
        min-width: 0;
    }
}
