/* CoolMates cookie consent */
.cookie-consent {
    position: fixed;
    inset: auto 24px 24px auto;
    z-index: 9999;
    width: min(460px, calc(100vw - 32px));
    color: #fff;
    background: linear-gradient(180deg, rgba(18, 28, 40, .96), rgba(7, 9, 14, .96));
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    box-shadow: 0 26px 90px rgba(0,0,0,.42);
    padding: 24px;
    font-family: Inter, Montserrat, Arial, sans-serif;
}
.cookie-consent[hidden], .cookie-modal[hidden] { display: none !important; }
.cookie-consent__eyebrow {
    color: #46B8FF;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.cookie-consent h2, .cookie-modal h2 {
    font-size: 22px;
    line-height: 1.2;
    margin: 0 0 12px;
    text-transform: uppercase;
}
.cookie-consent p, .cookie-modal p {
    color: #B7C7D9;
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 16px;
}
.cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}
.cookie-actions .cookie-settings-btn { grid-column: 1 / -1; }
.cookie-btn {
    min-height: 44px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    padding: 11px 14px;
    color: #fff;
    background: rgba(255,255,255,.06);
    font-weight: 800;
    cursor: pointer;
    transition: all .25s ease;
}
.cookie-btn:hover { border-color: rgba(70,184,255,.45); background: rgba(70,184,255,.10); }
.cookie-btn-primary {
    background: linear-gradient(90deg, #2EA8FF, #1277FF);
    border-color: transparent;
}
.cookie-link {
    color: #46B8FF;
    text-decoration: none;
    font-weight: 800;
}
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(0,0,0,.62);
    font-family: Inter, Montserrat, Arial, sans-serif;
}
.cookie-modal__dialog {
    width: min(720px, 100%);
    max-height: min(760px, calc(100vh - 36px));
    overflow: auto;
    color: #fff;
    background: linear-gradient(180deg, rgba(18, 28, 40, .98), rgba(7, 9, 14, .98));
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    box-shadow: 0 26px 90px rgba(0,0,0,.48);
    padding: 26px;
}
.cookie-category {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,.10);
}
.cookie-category strong {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
    text-transform: uppercase;
}
.cookie-switch input {
    position: absolute;
    opacity: 0;
}
.cookie-switch span {
    display: block;
    width: 52px;
    height: 30px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.16);
    position: relative;
}
.cookie-switch span::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: #fff;
    transition: transform .22s ease;
}
.cookie-switch input:checked + span {
    background: rgba(70,184,255,.45);
    border-color: rgba(70,184,255,.62);
}
.cookie-switch input:checked + span::after { transform: translateX(22px); }
.cookie-switch input:disabled + span { opacity: .72; }
.cookie-modal__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 18px;
}
.consent-placeholder {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    place-items: center;
    padding: 24px;
    text-align: center;
    background: linear-gradient(135deg, rgba(7,9,14,.88), rgba(7,9,14,.72));
}
.consent-placeholder__box {
    max-width: 360px;
    padding: 22px;
    border: 1px solid rgba(70,184,255,.18);
    border-radius: 12px;
    background: rgba(7,9,14,.82);
    box-shadow: 0 18px 42px rgba(0,0,0,.28);
}
@media (max-width: 576px) {
    .cookie-consent { inset: auto 12px 96px 12px; width: auto; padding: 20px; }
    .cookie-actions { grid-template-columns: 1fr; }
    .cookie-modal__dialog { padding: 22px; }
    .cookie-category { grid-template-columns: 1fr; }
    .cookie-modal__footer { justify-content: stretch; }
    .cookie-modal__footer .cookie-btn { width: 100%; }
}
