/* Cookie Consent Banner Styles */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-top: 2px solid #4f46e5;
    padding: 1.25rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .cookie-consent-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cookie-consent-content {
    flex: 1;
    color: #d1d5db;
    font-size: 0.9rem;
    line-height: 1.5;
}

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

.cookie-consent-content a {
    color: #8b5cf6;
    text-decoration: underline;
    transition: color 0.2s;
}

.cookie-consent-content a:hover {
    color: #a78bfa;
}

.cookie-consent-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 280px;
}

@media (min-width: 640px) {
    .cookie-consent-actions {
        flex-direction: row;
        gap: 0.75rem;
    }
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border: none;
    text-align: center;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.5);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6);
}

.cookie-btn-essential {
    background: transparent;
    color: #d1d5db;
    border: 2px solid #4b5563;
}

.cookie-btn-essential:hover {
    background: #374151;
    border-color: #6b7280;
    transform: translateY(-2px);
}

/* Animation for fade in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#cookie-consent-banner.show {
    animation: fadeIn 0.4s ease-out;
}

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

    .cookie-consent-content {
        font-size: 0.85rem;
    }

    .cookie-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
}
