/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: var(--background-dark);
    border-top: 2px solid var(--primary-color);
    padding: 24px;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transition: bottom 0.3s ease;
}

.cookie-banner.show {
    bottom: 0;
    transform: none;
}

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

.cookie-text h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.cookie-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-link:hover {
    color: var(--secondary-color);
}

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

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    white-space: nowrap;
}

.cookie-accept {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.cookie-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.cookie-reject {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.cookie-reject:hover {
    background: var(--background-light);
    color: var(--text-primary);
}

.cookie-customize {
    background: var(--background-light);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.cookie-customize:hover {
    background: var(--primary-color);
    color: white;
}

/* Cookie Customization Panel */
.cookie-customization {
    background: var(--background-light);
    border-top: 1px solid var(--border-color);
    padding: 24px;
    margin-top: 20px;
}

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

.cookie-custom-content h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.cookie-category {
    background: var(--background-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
}

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

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

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

.toggle-slider {
    position: relative;
    width: 44px;
    height: 24px;
    background: var(--border-color);
    border-radius: 24px;
    transition: background 0.3s ease;
}

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

.cookie-toggle input[type="checkbox"]:checked + .toggle-slider {
    background: var(--primary-color);
}

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

.cookie-toggle input[type="checkbox"]:disabled + .toggle-slider {
    background: var(--text-muted);
    opacity: 0.6;
}

.toggle-label {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
}

.cookie-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.cookie-custom-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.cookie-save {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.cookie-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.cookie-cancel {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.cookie-cancel:hover {
    background: var(--background-dark);
    color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cookie-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .cookie-text h4 {
        font-size: 1.1rem;
    }
    
    .cookie-text p {
        font-size: 0.9rem;
    }
    
    .cookie-categories {
        gap: 12px;
    }
    
    .cookie-category {
        padding: 12px;
    }
    
    .cookie-custom-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}