/* ==========================================
   Cookie Consent Styling
   ========================================== */

/* Cookie Banner
   ========================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
    font-size: 0.9rem;
    display: none; /* Hidden by default, will be shown with JS */
}

.cookie-banner.visible {
    display: block;
}

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

.cookie-content h3 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.cookie-content p {
    margin-bottom: 1rem;
    max-width: 80ch;
    color: #666;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Settings Panel
   ========================================== */
.cookie-settings {
    background-color: #f5f7fa;
    padding: 1.5rem 1rem;
    border-top: 1px solid #e1e4e8;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-settings h4 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.cookie-option {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e1e4e8;
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option label {
    font-weight: 600;
    padding-left: 0.5rem;
}

.cookie-option p {
    margin-top: 0.25rem;
    margin-left: 1.75rem;
    font-size: 0.85rem;
    color: #666;
}

#save-cookie-settings {
    margin-top: 1rem;
}

.hidden {
    display: none;
}

/* Responsive Styles
   ========================================== */
@media (max-width: 768px) {
    .cookie-content h3 {
        font-size: 1.1rem;
    }
    
    .cookie-content p {
        font-size: 0.85rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}

/* Cookie Preferences Toggle (Footer)
   ========================================== */
.cookie-preferences-button {
    background: none;
    border: none;
    text-decoration: underline;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cookie-preferences-button:hover {
    color: #FF6B35;
}
