/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 3px solid #1a237e;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: none;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

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

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

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text h3 {
    color: #1a237e;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.cookie-banner-text p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn-reject {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #e0e0e0;
}

.cookie-btn-reject:hover {
    background: #e9ecef;
    color: #333;
}

.cookie-btn-customize {
    background: #ffffff;
    color: #1a237e;
    border: 1px solid #1a237e;
}

.cookie-btn-customize:hover {
    background: #1a237e;
    color: #ffffff;
}

.cookie-btn-accept {
    background: #00695c;
    color: #ffffff;
}

.cookie-btn-accept:hover {
    background: #004d40;
}

.cookie-btn-cancel {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #e0e0e0;
}

.cookie-btn-cancel:hover {
    background: #e9ecef;
    color: #333;
}

.cookie-btn-save {
    background: #00695c;
    color: #ffffff;
}

.cookie-btn-save:hover {
    background: #004d40;
}

/* Cookie Customizer */
.cookie-customizer {
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
}

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

.cookie-customizer-content h4 {
    color: #1a237e;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.cookie-categories {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

.cookie-category {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
}

.cookie-category-header {
    margin-bottom: 8px;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 12px;
}

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

.cookie-slider {
    position: relative;
    width: 44px;
    height: 24px;
    background: #ccc;
    border-radius: 12px;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.cookie-slider:before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.cookie-toggle input[type="checkbox"]:checked + .cookie-slider {
    background: #00695c;
}

.cookie-toggle input[type="checkbox"]:checked + .cookie-slider:before {
    transform: translateX(20px);
}

.cookie-slider.essential {
    background: #00695c;
    opacity: 0.7;
}

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

.cookie-label {
    font-weight: 500;
    color: #333;
    flex: 1;
}

.cookie-description {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

.cookie-customizer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cookie-policy-link {
    color: #00695c;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.cookie-policy-link:hover {
    text-decoration: underline;
}

.cookie-customizer-buttons {
    display: flex;
    gap: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px;
    }
    
    .cookie-banner-text {
        text-align: center;
    }
    
    .cookie-banner-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 80px;
    }
    
    .cookie-customizer-content {
        padding: 20px 16px;
    }
    
    .cookie-customizer-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .cookie-customizer-buttons {
        justify-content: center;
    }
    
    .cookie-policy-link {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .cookie-banner-actions {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-customizer-buttons {
        flex-direction: column;
    }
    
    .cookie-categories {
        gap: 12px;
    }
    
    .cookie-category {
        padding: 12px;
    }
}