/**
 * ═══════════════════════════════════════════════════════════════
 * MATA AI - Cookie Consent Banner
 * Premium, Minimalista, GDPR Compliant
 * ═══════════════════════════════════════════════════════════════
 */

/* ═══════════════════════════════════════════════════════════════
   COOKIE BANNER STYLES
   ═══════════════════════════════════════════════════════════════ */

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 9999;
    
    /* Glassmorphism - matches header style */
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.04) 50%,
        rgba(255, 255, 255, 0.06) 100%
    );
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    
    padding: 20px 28px;
    max-width: calc(100% - 48px);
    width: 580px;
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.25),
        0 4px 16px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    
    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cookie-banner.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cookie-banner.hiding {
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
}

/* Content */
.cookie-content {
    flex: 1;
    min-width: 0;
}

.cookie-text {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin: 0;
}

.cookie-text a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.cookie-text a:hover {
    opacity: 0.8;
}

/* Actions */
.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    white-space: nowrap;
    border: none;
    outline: none;
}

.cookie-btn-accept {
    background: rgba(255, 255, 255, 0.95);
    color: #0A0A0A;
}

.cookie-btn-accept:hover {
    background: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.cookie-btn-decline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

.cookie-btn-decline:hover {
    border-color: rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.05);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 640px) {
    .cookie-banner {
        bottom: 16px;
        padding: 16px 20px;
        flex-direction: column;
        text-align: center;
        gap: 16px;
        width: calc(100% - 32px);
        border-radius: 14px;
    }
    
    .cookie-text {
        font-size: 13px;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 140px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    .cookie-banner {
        transition: opacity 0.3s ease;
        transform: translateX(-50%) translateY(0) !important;
    }
}
