/* ==========================================
   Cookie Consent
   ========================================== */
.cookie-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2500;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-consent.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-consent__panel {
    max-width: 880px;
    margin: 0 auto;
    background: rgba(10, 14, 20, 0.94);
    border: 1px solid rgba(56, 189, 248, 0.28);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 14px 16px;
    display: grid;
    gap: 10px;
}

.cookie-consent__title {
    margin: 0;
    color: #FFFFFF;
    font-family: var(--font);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.cookie-consent__text {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.93rem;
    line-height: 1.5;
}

.cookie-consent__actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.cookie-btn {
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn--primary {
    background: var(--brand);
    color: #031B2A;
    border-color: rgba(56, 189, 248, 0.4);
}

.cookie-btn--primary:hover {
    background: var(--brand-deep);
    transform: translateY(-1px);
}

.cookie-btn--ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.86);
    border-color: rgba(255, 255, 255, 0.28);
}

.cookie-btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.45);
    color: #FFFFFF;
}

.cookie-settings-btn {
    position: fixed;
    left: 14px;
    bottom: 14px;
    z-index: 2450;
    display: none;
    border: 1px solid rgba(56, 189, 248, 0.36);
    background: rgba(10, 14, 20, 0.86);
    color: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.cookie-settings-btn.is-visible {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

    .cookie-consent__panel {
        border-radius: 12px;
        padding: 12px;
    }

    .cookie-consent__actions {
        justify-content: stretch;
        gap: 8px;
    }

    .cookie-btn {
        width: 100%;
    }
}
