/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2C3E50;
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

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

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

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

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

.cookie-policy-link {
    color: #F1C40F;
    text-decoration: underline;
}

.cookie-policy-link:hover {
    color: #f39c12;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-actions .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid #64748b;
}

.btn-outline:hover {
    background-color: #64748b;
    color: white;
    transform: translateY(-2px);
}

/* Cookie Customization */
.cookie-customization {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #475569;
}

.cookie-customization h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.cookie-categories {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cookie-category {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
}

.cookie-toggle {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
}

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

.toggle-slider {
    width: 50px;
    height: 24px;
    background-color: #64748b;
    border-radius: 12px;
    position: relative;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.toggle-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 + .toggle-slider {
    background-color: #2D6A4F;
}

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

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

.cookie-info strong {
    color: white;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.cookie-info p {
    color: #cbd5e1;
    font-size: 0.85rem;
    line-height: 1.3;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-actions .btn {
        flex: 1;
        min-width: 120px;
        max-width: 180px;
    }
    
    .cookie-categories {
        gap: 0.75rem;
    }
    
    .cookie-toggle {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cookie-actions .btn {
        max-width: none;
        width: 100%;
    }
    
    .cookie-customization {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .toggle-slider {
        width: 44px;
        height: 22px;
    }
    
    .toggle-slider::before {
        width: 18px;
        height: 18px;
    }
    
    .cookie-toggle input[type="checkbox"]:checked + .toggle-slider::before {
        transform: translateX(22px);
    }
}