/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.5rem;
    z-index: 1000;
    border-top: 2px solid #f4a261;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

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

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

.cookie-text h3 {
    color: #f4a261;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.cookie-text p {
    margin: 0;
    margin-bottom: 1rem;
    line-height: 1.5;
    color: #e0e0e0;
}

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

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

.cookie-btn.accept {
    background: linear-gradient(135deg, #0d7377, #14a085);
    color: white;
}

.cookie-btn.accept:hover {
    background: linear-gradient(135deg, #0a5d61, #118a75);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 115, 119, 0.3);
}

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

.cookie-btn.reject:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.cookie-btn.customize {
    background: transparent;
    color: #f4a261;
    border: 2px solid #f4a261;
}

.cookie-btn.customize:hover {
    background: #f4a261;
    color: #1a1a1a;
    transform: translateY(-1px);
}

.cookie-btn.save {
    background: linear-gradient(135deg, #0d7377, #14a085);
    color: white;
}

.cookie-btn.back {
    background: transparent;
    color: #ccc;
    border: 1px solid #666;
}

.cookie-policy-link {
    color: #f4a261;
    text-decoration: none;
    font-size: 0.85rem;
    margin-left: 1rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.cookie-policy-link:hover {
    border-bottom-color: #f4a261;
}

/* Cookie Preferences Panel */
.cookie-preferences {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #444;
    transition: all 0.3s ease;
}

.cookie-preferences.hidden {
    display: none;
}

.cookie-category {
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid #f4a261;
}

.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: #666;
    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;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
}

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

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

.cookie-toggle input[type="checkbox"]:disabled + .toggle-slider {
    background: #f4a261;
    opacity: 0.7;
}

.cookie-info strong {
    color: #f4a261;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.cookie-info p {
    margin: 0;
    font-size: 0.8rem;
    color: #ccc;
    line-height: 1.4;
}

.cookie-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-btn {
        flex: 1 1 auto;
        min-width: 100px;
    }
    
    .cookie-policy-link {
        margin-left: 0;
        margin-top: 0.5rem;
        display: block;
        text-align: center;
    }
    
    .cookie-toggle {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .cookie-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

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