/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    border-top: 3px solid #ff6b35;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    padding: 20px;
    display: none;
}

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

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

.cookie-banner-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

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

.cookie-policy-link {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
}

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

.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.3s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background-color: #27ae60;
    color: white;
}

.cookie-btn-accept:hover {
    background-color: #219a52;
}

.cookie-btn-reject {
    background-color: #e74c3c;
    color: white;
}

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

.cookie-btn-customize {
    background-color: #3498db;
    color: white;
}

.cookie-btn-customize:hover {
    background-color: #2980b9;
}

.cookie-btn-secondary {
    background-color: #95a5a6;
    color: white;
}

.cookie-btn-secondary:hover {
    background-color: #7f8c8d;
}

/* Cookie Customizer */
.cookie-customizer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 25px 20px;
    margin-top: 20px;
}

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

.cookie-customizer h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

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

.cookie-category {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

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

.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-color: #ccc;
    border-radius: 24px;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.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[type="checkbox"]:checked + .cookie-slider {
    background-color: #27ae60;
}

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

.cookie-toggle input[type="checkbox"]:disabled + .cookie-slider {
    background-color: #27ae60;
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-label {
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.95rem;
}

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

.cookie-customizer-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cookie-banner-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-btn {
        padding: 12px 18px;
        font-size: 0.9rem;
    }
    
    .cookie-categories {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cookie-category {
        padding: 15px;
    }
    
    .cookie-customizer-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-customizer-actions .cookie-btn {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .cookie-banner-text h3 {
        font-size: 1.1rem;
    }
    
    .cookie-banner-text p {
        font-size: 0.9rem;
    }
    
    .cookie-btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .cookie-banner-actions {
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 0;
    }
}