/**
 * Cookie Consent Banner Styles
 */

#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 1rem 1.5rem;
    z-index: 99999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

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

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

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

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

.cookie-consent-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #e0e0e0;
}

.cookie-consent-text a {
    color: #4fc3f7;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.cookie-consent-text a:hover {
    border-bottom-color: #4fc3f7;
}

.cookie-consent-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.625rem 1.25rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    outline: none;
}

.cookie-btn:focus {
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.4);
}

.cookie-btn-accept {
    background: #0d6efd;
    color: #fff;
}

.cookie-btn-accept:hover {
    background: #0b5ed7;
}

.cookie-btn-decline {
    background: transparent;
    color: #b0b0b0;
    border: 1px solid #555;
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #777;
}

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

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

    .cookie-consent-text {
        min-width: auto;
    }

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

    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        max-width: 150px;
    }
}

@media (max-width: 400px) {
    .cookie-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Dark mode adjustments (if site supports it) */
@media (prefers-color-scheme: dark) {
    #cookie-consent-banner {
        background: linear-gradient(135deg, #0d0d15 0%, #121225 100%);
    }
}

/* Animation for banner appearance */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

    #cookie-consent-banner.cookie-consent-visible {
        animation: none;
    }
}
