/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(15, 23, 42, 0.95);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    max-height: 80vh;
    overflow-y: auto;
}

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

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
}

.cookie-consent-content h2 {
    color: white;
    margin-bottom: 1rem;
    text-align: center;
}

.cookie-consent-content p {
    margin-bottom: 1.5rem;
    text-align: center;
}

.cookie-consent-content a {
    color: #FFCE00;
    text-decoration: underline;
}

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

.cookie-consent-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cookie-option {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-option input {
    margin-right: 1rem;
}

.cookie-option label {
    font-weight: 600;
    margin-right: auto;
    cursor: pointer;
}

.cookie-option p {
    flex-basis: 100%;
    margin: 0.5rem 0 0 2rem;
    font-size: 0.875rem;
    color: #CBD5E1;
    text-align: left;
}

.cookie-consent-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-consent-buttons button {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.25rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

#accept-necessary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

#accept-necessary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#accept-all {
    background-color: #1E3A8A;
    color: white;
}

#accept-all:hover {
    background-color: #1E40AF;
}

#save-preferences {
    background-color: #FFCE00;
    color: #0F172A;
}

#save-preferences:hover {
    background-color: #FFD700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cookie-consent-buttons {
        flex-direction: column;
    }
    
    .cookie-consent-buttons button {
        width: 100%;
    }
    
    .cookie-option {
        padding: 0.75rem;
    }
}

@media (min-width: 768px) {
    .cookie-option {
        flex-wrap: nowrap;
    }
    
    .cookie-option p {
        flex-basis: auto;
        margin: 0 0 0 1rem;
    }
}
