﻿/* ============================================================
   PRYZMA — cookie banner
   Builds on main.css (variables and buttons).
   ============================================================ */

.consent-banner {
    position: fixed;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1000;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(67,97,238,0.35);
    background: rgba(12,14,40,0.97);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
    animation: consentIn 0.35s ease both;
}

    .consent-banner[hidden] {
        display: none;
    }

.consent-text {
    flex: 1;
    min-width: 0;
}

.consent-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.35rem;
}

    .consent-title i {
        color: var(--gold);
        margin-right: 0.25rem;
    }

.consent-text p {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.55;
}

.consent-text a {
    color: var(--accent-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.consent-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

    .consent-actions button {
        cursor: pointer;
        font: inherit;
        white-space: nowrap;
    }

@keyframes consentIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 640px) {
    .consent-banner {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1.25rem;
    }

    .consent-actions button {
        flex: 1;
        justify-content: center;
    }
}
