/* Minification failed. Returning unminified contents.
(13,28): run-time error CSS1039: Token not allowed after unary operator: '-left-panel-background'
(41,18): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(54,17): run-time error CSS1039: Token not allowed after unary operator: '-neutral-black'
(62,17): run-time error CSS1039: Token not allowed after unary operator: '-neutral-black'
(80,17): run-time error CSS1039: Token not allowed after unary operator: '-neutral-black'
(86,17): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(111,28): run-time error CSS1039: Token not allowed after unary operator: '-neutral-black'
(112,17): run-time error CSS1039: Token not allowed after unary operator: '-neutral-black'
(116,22): run-time error CSS1039: Token not allowed after unary operator: '-transition-speed'
(124,40): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(125,17): run-time error CSS1039: Token not allowed after unary operator: '-button-text-color'
(126,24): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(142,28): run-time error CSS1039: Token not allowed after unary operator: '-neutral-100'
(144,28): run-time error CSS1039: Token not allowed after unary operator: '-content-background'
(157,17): run-time error CSS1039: Token not allowed after unary operator: '-neutral-black'
(164,17): run-time error CSS1039: Token not allowed after unary operator: '-neutral-500'
(190,28): run-time error CSS1039: Token not allowed after unary operator: '-cl-neutral-200'
(192,22): run-time error CSS1039: Token not allowed after unary operator: '-transition-speed'
(202,28): run-time error CSS1039: Token not allowed after unary operator: '-button-text-color'
(204,22): run-time error CSS1039: Token not allowed after unary operator: '-transition-speed'
(208,28): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(216,29): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(296,17): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(299,22): run-time error CSS1039: Token not allowed after unary operator: '-transition-speed'
 */
/**
 * Cookie Consent Banner Styles
 * Positioned fixed top-right, responsive layout.
 * Uses CSS custom properties from theme.
 */

.cookieConsentBanner__wrapper {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 100%;
    z-index: 998;
    background-color: var(--left-panel-background);
    max-width: 600px;
    margin: 0 auto;
    padding: 24px;
    border-radius: 0.5rem;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.cookieConsentBanner__wrapper.cookieConsentBanner--hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.cookieConsentBanner__closeButton {
    position: absolute;
    top: 16px;
    right: 16px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    transition: opacity 0.3s ease;
}

.cookieConsentBanner__closeButton:hover path,
.cookieConsentBanner__closeButton:focus path {
    stroke: var(--primary-color);
}

.cookieConsentBanner__view--hidden {
    display: none;
}

.cookieConsentBanner__description {
    margin: 0 0 16px;
    padding: 0;
}

.cookieConsentBanner__title {
    color: var(--neutral-black);
    font-weight: 600;
    font-size: 18px;
    margin: 0 0 8px 0;
    padding: 0;
}

.cookieConsentBanner__text {
    color: var(--neutral-black);
    font-weight: 400;
    font-size: 14px;
    margin: 0;
    padding: 0;
    line-height: 16.8px;
}

.cookieConsentBanner__link {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    text-decoration: underline;
    font-weight: 500;
    color: var(--neutral-black);
}

.cookieConsentBanner__link:hover,
.cookieConsentBanner__link:focus,
.cookieConsentBanner__link:focus-visible {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookieConsentBanner__buttons {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.cookieConsentBanner__buttons--two {
    gap: 24px;
}

.cookieConsentBanner__buttons--three {
    gap: 16px;
}

.cookieConsentBanner__button {
    width: 100%;
    max-width: 260px;
    border-radius: 0.5rem;
    border: 1px solid var(--neutral-black);
    color: var(--neutral-black);
    font-size: 16px;
    height: 36px;
    font-weight: 500;
    transition: var(--transition-speed);
    margin: 0;
    background-color: transparent;
    cursor: pointer;
}

.cookieConsentBanner__button:hover,
.cookieConsentBanner__button:focus {
    box-shadow: inset 0 -40px 0 0 var(--primary-color);
    color: var(--button-text-color);
    border-color: var(--primary-color);
}

.cookieConsentBanner__categoryList {
    list-style: none;
    margin: 0 0 16px 0;
    padding: 0 4px 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 280px;
    overflow-y: auto;
}

.cookieConsentCategory {
    padding: 12px;
    border: 1px solid var(--neutral-100);
    border-radius: 0.5rem;
    background-color: var(--content-background);
}

.cookieConsentCategory__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cookieConsentCategory__name {
    font-weight: 500;
    font-size: 14px;
    color: var(--neutral-black);
}

.cookieConsentCategory__description {
    margin: 8px 0 0 0;
    padding: 0;
    font-size: 12px;
    color: var(--neutral-500);
}

.cookieConsentToggle {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
    margin: 0;
}

.cookieConsentToggle__input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.cookieConsentToggle__slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--cl-neutral-200);
    border-radius: 22px;
    transition: var(--transition-speed);
}

.cookieConsentToggle__slider::before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: var(--button-text-color);
    border-radius: 50%;
    transition: var(--transition-speed);
}

.cookieConsentToggle__input:checked + .cookieConsentToggle__slider {
    background-color: var(--primary-color);
}

.cookieConsentToggle__input:checked + .cookieConsentToggle__slider::before {
    transform: translateX(18px);
}

.cookieConsentToggle__input:focus-visible + .cookieConsentToggle__slider {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.cookieConsentToggle--locked .cookieConsentToggle__slider {
    cursor: not-allowed;
    opacity: 0.7;
}

.cookieConsentToggle--locked .cookieConsentToggle__input {
    cursor: not-allowed;
}

@media (max-width: 1200px) {
    .cookieConsentBanner__wrapper {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
    }
}

@media (max-width: 700px) {
    .cookieConsentBanner__wrapper {
        top: 25px;
        right: 0;
        left: 0;
        max-width: 320px;
    }

    .cookieConsentBanner__closeButton {
        top: 10px;
        right: 10px;
    }

    .cookieConsentBanner__title {
        font-size: 16px;
    }

    .cookieConsentBanner__text {
        font-size: 12px;
        line-height: 14.4px;
    }

    .cookieConsentBanner__buttons {
        gap: 12px;
    }

    .cookieConsentBanner__buttons--three {
        flex-direction: column;
        gap: 8px;
    }

    .cookieConsentBanner__buttons--two {
        gap: 16px;
        flex-direction: column-reverse;
    }

    .cookieConsentBanner__button {
        max-width: 100%;
        font-size: 14px;
    }

    .cookieConsentBanner__categoryList {
        max-height: 240px;
    }
}

@media (max-width: 380px) {
    .cookieConsentBanner__wrapper {
        max-width: 300px;
    }

    .cookieConsentBanner__title {
        font-size: 14px;
    }
}

/* Inline confirmation shown next to the Cookie Policy "Reset" button so the user
   sees that the action succeeded before the policy modal auto-closes. */
.cookieResetConfirmation {
    display: inline-block;
    margin-left: 12px;
    color: var(--primary-color);
    font-weight: 500;
    opacity: 0;
    transition: var(--transition-speed);
}

.cookieResetConfirmation--visible {
    opacity: 1;
}

/* Reduced motion (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
    .cookieConsentBanner__wrapper,
    .cookieConsentBanner__wrapper.cookieConsentBanner--hidden {
        transition: none;
    }

    .cookieConsentBanner__button,
    .cookieConsentToggle__slider,
    .cookieConsentToggle__slider::before,
    .cookieConsentBanner__closeButton {
        transition: none;
    }
}

