/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

.cookie-text h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
    color: white;
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
    color: #E0E0E0;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.cookie-btn.accept {
    background-color: var(--accent-color);
    color: white;
}

.cookie-btn.accept:hover {
    background-color: var(--coral-highlight);
}

.cookie-btn.reject {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cookie-btn.reject:hover {
    background-color: white;
    color: var(--primary-color);
}

.cookie-btn.customize {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--accent-color);
}

.cookie-btn.customize:hover {
    background-color: var(--accent-color);
    border-color: var(--coral-highlight);
}

.cookie-btn.save {
    background-color: var(--accent-color);
    color: white;
}

.cookie-btn.save:hover {
    background-color: var(--coral-highlight);
}

.cookie-btn.cancel {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cookie-btn.cancel:hover {
    background-color: var(--primary-color);
    color: white;
}

.cookie-link {
    color: #E0E0E0;
    text-decoration: underline;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.cookie-link:hover {
    color: white;
}

/* Cookie Customization Panel */
.cookie-customization {
    display: none;
    background-color: white;
    border-top: 2px solid var(--accent-color);
    padding: 2rem 0;
}

.cookie-customization.show {
    display: block;
}

.cookie-custom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-custom-content h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.cookie-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cookie-category {
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.cookie-category-header {
    margin-bottom: 1rem;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--primary-color);
}

.cookie-toggle input[type="checkbox"] {
    display: none;
}

.cookie-slider {
    position: relative;
    width: 50px;
    height: 24px;
    background-color: #ccc;
    border-radius: 24px;
    transition: background-color 0.3s ease;
}

.cookie-slider:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
}

.cookie-toggle input:checked + .cookie-slider {
    background-color: var(--accent-color);
}

.cookie-toggle input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

.cookie-slider.essential {
    background-color: var(--accent-color);
    opacity: 0.7;
}

.cookie-slider.essential:before {
    transform: translateX(26px);
}

.cookie-label {
    font-size: 1rem;
    font-weight: 600;
}

.cookie-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cookie-buttons {
        justify-content: center;
        width: 100%;
        gap: 0.5rem;
    }
    
    .cookie-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .cookie-text h4 {
        font-size: 1rem;
    }
    
    .cookie-text p {
        font-size: 0.9rem;
    }
    
    .cookie-categories {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cookie-category {
        padding: 1rem;
    }
    
    .cookie-custom-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-custom-buttons .cookie-btn {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 0.75rem 0;
    }
    
    .cookie-content {
        padding: 0 15px;
        gap: 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cookie-btn {
        width: 100%;
        max-width: 250px;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .cookie-link {
        font-size: 0.85rem;
    }
}