/**
 * BlijfBewust - Cookie Consent Popup
 * GDPR-compliant, eenmalig bij eerste bezoek
 */

/* ==========================================
   COOKIE CONSENT OVERLAY
   ========================================== */
.cookie-consent-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
}

.cookie-consent-overlay.visible {
    opacity: 1;
    visibility: visible;
}

/* ==========================================
   COOKIE CONSENT POPUP
   ========================================== */
.cookie-consent-popup {
    background: white;
    border-radius: 24px;
    max-width: 440px;
    width: 100%;
    padding: 32px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
}

.cookie-consent-overlay.visible .cookie-consent-popup {
    transform: translateY(0) scale(1);
}

/* Header */
.cookie-consent-header {
    margin-bottom: 20px;
}

.cookie-consent-logo {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
}

.cookie-consent-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cookie-consent-header h2 {
    font-family: var(--font-heading, Georgia, serif);
    font-size: 1.4rem;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.cookie-consent-header .subtitle {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

/* Content */
.cookie-consent-content {
    margin-bottom: 24px;
    text-align: left;
}

.cookie-consent-content p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-consent-content strong {
    color: #1e293b;
}

.cookie-highlight {
    background: #e8f4fd;
    border-left: 4px solid #118eec;
    padding: 14px 16px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 16px;
}

.cookie-highlight p {
    margin: 0;
    color: #0d6ebd;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Buttons */
.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    flex: 1;
    min-width: 140px;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    font-family: inherit;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #118eec 0%, #4dabf5 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(17, 142, 236, 0.3);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(17, 142, 236, 0.4);
}

.cookie-btn-minimal {
    background: #f1f5f9;
    color: #475569;
}

.cookie-btn-minimal:hover {
    background: #e2e8f0;
}

/* Footer link */
.cookie-consent-footer {
    margin-top: 16px;
    font-size: 0.8rem;
    color: #94a3b8;
}

.cookie-consent-footer a {
    color: #118eec;
    text-decoration: none;
}

.cookie-consent-footer a:hover {
    text-decoration: underline;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 500px) {
    .cookie-consent-popup {
        padding: 24px 20px;
        border-radius: 20px;
    }
    
    .cookie-consent-header h2 {
        font-size: 1.25rem;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

/* ==========================================
   REDUCED MOTION
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    .cookie-consent-overlay,
    .cookie-consent-popup {
        transition: opacity 0.2s ease;
        transform: none;
    }
}
