/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
    color: #FFFFFF;
    padding: 25px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
}

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

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

.cookie-text {
    margin-bottom: 20px;
}

.cookie-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #E2E8F0;
}

.cookie-text p {
    margin: 0;
    line-height: 1.5;
    color: #E2E8F0;
    font-size: 14px;
}

.cookie-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.cookie-preferences {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(45, 55, 72, 0.95);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    display: none;
}

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

.cookie-preferences h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #E2E8F0;
    text-align: center;
}

.cookie-category {
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

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

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

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

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

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

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

.cookie-toggle input[type="checkbox"]:disabled + .toggle-slider {
    background: #6B7280;
    cursor: not-allowed;
}

.cookie-info {
    flex: 1;
}

.cookie-info strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #E2E8F0;
    margin-bottom: 4px;
}

.cookie-info p {
    font-size: 12px;
    color: #CBD5E0;
    margin: 0;
    line-height: 1.4;
}

.cookie-preference-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, #8B9DC3 0%, #6B7280 100%);
    color: #FFFFFF;
}

.cookie-btn.accept:hover {
    background: linear-gradient(135deg, #6B7280 0%, #4A5568 100%);
    transform: translateY(-1px);
}

.cookie-btn.reject {
    background: transparent;
    color: #CBD5E0;
    border: 1px solid #4A5568;
}

.cookie-btn.reject:hover {
    background: #4A5568;
    color: #FFFFFF;
    transform: translateY(-1px);
}

.cookie-btn.customize {
    background: transparent;
    color: #8B9DC3;
    border: 1px solid #8B9DC3;
}

.cookie-btn.customize:hover {
    background: #8B9DC3;
    color: #FFFFFF;
    transform: translateY(-1px);
}

.cookie-btn.secondary {
    background: transparent;
    color: #A0AEC0;
    border: 1px solid #4A5568;
}

.cookie-btn.secondary:hover {
    background: #4A5568;
    color: #FFFFFF;
    transform: translateY(-1px);
}

.cookie-link {
    color: #8B9DC3;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cookie-link:hover {
    color: #CBD5E0;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 20px;
    }
    
    .cookie-text {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .cookie-actions {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        min-width: 120px;
    }
    
    .cookie-preferences {
        padding: 15px;
    }
    
    .cookie-category {
        padding: 12px;
    }
    
    .cookie-toggle {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-text h3 {
        font-size: 16px;
    }
    
    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        min-width: auto;
    }
    
    .cookie-preference-actions {
        flex-direction: column;
    }
    
    .cookie-preferences {
        padding: 12px;
    }
    
    .cookie-category {
        padding: 10px;
    }
}