/* Cookie consent prototype. Kept separate from the compiled main.css. */
.cookie-banner[hidden],
.cookie-modal[hidden] { display: none !important; }

.cookie-banner {
    position: fixed;
    z-index: 10000;
    left: 24px;
    right: 24px;
    bottom: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 26px 28px;
    color: #f7f7f5;
    background: #171a1d;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 14px;
    box-shadow: 0 18px 60px rgba(0,0,0,.3);
    font-family: inherit;
}
.cookie-banner__copy { max-width: 650px; }
.cookie-banner__eyebrow {
    margin: 0 0 8px;
    color: #a9c58b;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .13em;
}
.cookie-banner h2,
.cookie-modal h2 { margin: 0 0 10px; font-size: 1.35rem; line-height: 1.25; }
.cookie-banner__copy > p:not(.cookie-banner__eyebrow),
.cookie-modal__panel > p:not(.cookie-banner__eyebrow):not(.cookie-prototype-note) {
    margin: 0 0 12px;
    color: #d1d5d8;
    font-size: .92rem;
    line-height: 1.6;
}
.cookie-banner a { color: #c5dda7; text-underline-offset: 3px; }
.cookie-banner__actions,
.cookie-modal__actions { display: flex; flex-wrap: wrap; gap: 9px; }
.cookie-banner__actions { flex-shrink: 0; }
.cookie-button {
    min-height: 42px;
    padding: 10px 15px;
    border: 1px solid transparent;
    border-radius: 7px;
    font: inherit;
    font-size: .88rem;
    font-weight: 650;
    cursor: pointer;
}
.cookie-button:focus-visible,
.cookie-modal button:focus-visible,
.cookie-switch input:focus-visible + span {
    outline: 3px solid #a9c58b;
    outline-offset: 3px;
}
.cookie-button--primary { color: #172016; background: #c5dda7; }
.cookie-button--primary:hover { background: #d6e8c1; }
.cookie-button--secondary { color: #f7f7f5; background: transparent; border-color: #697076; }
.cookie-button--secondary:hover { background: rgba(255,255,255,.09); }

.cookie-modal {
    position: fixed;
    z-index: 10001;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}
.cookie-modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(10,12,14,.72);
    cursor: default;
}
.cookie-modal__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 620px);
    max-height: min(90vh, 800px);
    overflow-y: auto;
    padding: 30px;
    color: #f7f7f5;
    background: #171a1d;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 14px;
    box-shadow: 0 18px 60px rgba(0,0,0,.35);
}
.cookie-modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 36px;
    height: 36px;
    color: #f7f7f5;
    background: transparent;
    border: 0;
    font-size: 1.8rem;
    cursor: pointer;
}
.cookie-choice {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 17px 0;
    border-top: 1px solid rgba(255,255,255,.13);
}
.cookie-choice strong { display: block; margin-bottom: 5px; }
.cookie-choice p { margin: 0; color: #c5cbd0; font-size: .87rem; line-height: 1.5; }
.cookie-switch { display: flex; align-items: center; gap: 9px; flex-shrink: 0; cursor: pointer; }
.cookie-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cookie-switch > span:first-of-type {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    background: #60686e;
    border-radius: 20px;
    transition: background .15s ease;
}
.cookie-switch > span:first-of-type::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    transition: transform .15s ease;
}
.cookie-switch input:checked + span:first-of-type { background: #73965a; }
.cookie-switch input:checked + span:first-of-type::after { transform: translateX(18px); }
.cookie-switch input:disabled + span:first-of-type { opacity: .55; }
.cookie-switch__status { min-width: 56px; color: #c5cbd0; font-size: .75rem; }
.cookie-modal__actions { justify-content: flex-end; margin-top: 22px; }
.cookie-prototype-note {
    margin: 18px 0 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.13);
    color: #b9c0c5;
    font-size: .78rem;
    line-height: 1.5;
}
body.cookie-modal-open { overflow: hidden; }
#cookie-settings-link {
    padding: 0;
    color: inherit;
    background: none;
    border: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}
#cookie-settings-link:hover { opacity: .75; }
#cookie-settings-link:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

@media (max-width: 760px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        display: block;
        padding: 21px;
        gap: 16px;
    }
    .cookie-banner__actions { margin-top: 16px; }
    .cookie-banner__actions .cookie-button { flex: 1 1 auto; }
    .cookie-modal__panel { padding: 25px 20px; }
    .cookie-choice { align-items: flex-start; }
    .cookie-switch { padding-top: 2px; }
    .cookie-modal__actions .cookie-button { flex: 1 1 auto; }
}
