/* IronGuard.ai - Cookie Consent Banner Styles */
/* GDPR/CCPA/LGPD Compliant */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 
        0 -4px 32px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(0, 212, 255, 0.1);
    padding: 24px 32px;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 100%;
}

.cookie-consent-banner.cookie-consent-visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-consent-banner.cookie-consent-hidden {
    transform: translateY(100%);
    opacity: 0;
}

.cookie-consent-content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary, #ffffff);
    margin: 0 0 8px 0;
    letter-spacing: -0.3px;
}

.cookie-consent-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary, #c8d0e0);
    margin: 0;
}

.cookie-consent-link {
    color: var(--accent-security, #00d4ff);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.cookie-consent-link:hover {
    color: var(--accent-security-light, #33e0ff);
}

.cookie-consent-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-consent-btn {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 44px;
    white-space: nowrap;
    outline: none;
}

.cookie-consent-btn:focus {
    outline: 2px solid var(--accent-security, #00d4ff);
    outline-offset: 2px;
}

.cookie-consent-btn-primary {
    background: linear-gradient(135deg, #00d4ff 0%, #00aacc 100%);
    color: #ffffff;
    box-shadow: 
        0 4px 16px rgba(0, 212, 255, 0.4),
        0 0 40px rgba(0, 212, 255, 0.2);
}

.cookie-consent-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 24px rgba(0, 212, 255, 0.5),
        0 0 60px rgba(0, 212, 255, 0.3);
}

.cookie-consent-btn-primary:active {
    transform: translateY(0);
}

.cookie-consent-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary, #ffffff);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-consent-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 20px 24px;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    
    .cookie-consent-text {
        min-width: auto;
    }
    
    .cookie-consent-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-consent-btn {
        width: 100%;
    }
    
    .cookie-consent-title {
        font-size: 16px;
    }
    
    .cookie-consent-description {
        font-size: 13px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .cookie-consent-banner {
        border-top: 2px solid rgba(0, 212, 255, 0.5);
    }
    
    .cookie-consent-btn {
        border-width: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .cookie-consent-banner {
        transition: none;
    }
    
    .cookie-consent-btn:hover {
        transform: none;
    }
}

