/* Cookie Consent Banner Styles */

#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border-top: 2px solid var(--cyan-accent, #00d4ff);
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 212, 255, 0.1);
    z-index: 10000;
    display: none;
    transform: translateY(100%);
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

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

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

.cookie-consent-text {
    flex: 1;
    color: var(--text-secondary, rgba(255, 255, 255, 0.9));
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-consent-text p {
    margin: 0 0 0.5rem 0;
}

.cookie-consent-text a {
    color: var(--cyan-accent, #00d4ff);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.cookie-consent-text a:hover {
    border-bottom-color: var(--cyan-accent, #00d4ff);
}

.cookie-consent-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-consent-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.cookie-consent-btn-accept {
    background: var(--cyan-accent, #00d4ff);
    color: #0a0a0a;
}

.cookie-consent-btn-accept:hover {
    background: #00bbee;
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
    transform: translateY(-1px);
}

.cookie-consent-btn-reject {
    background: transparent;
    color: var(--text-secondary, rgba(255, 255, 255, 0.7));
    border: 1px solid var(--border-secondary, rgba(255, 255, 255, 0.2));
}

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

/* Mobile responsive styles */
@media (max-width: 768px) {
    #cookie-consent-banner {
        padding: 1rem;
    }

    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .cookie-consent-text {
        font-size: 0.875rem;
    }

    .cookie-consent-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cookie-consent-btn {
        width: 100%;
        text-align: center;
    }
}

/* Tablet styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .cookie-consent-content {
        gap: 1.5rem;
    }

    .cookie-consent-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Accessibility: Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    #cookie-consent-banner {
        transition: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    #cookie-consent-banner {
        border-top-width: 3px;
    }

    .cookie-consent-btn {
        border-width: 2px;
    }
}
