/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1e293b;
    border-top: 2px solid #06b6d4;
    padding: 1.5rem;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.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 {
    flex: 1;
}

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

.cookie-link {
    color: #06b6d4;
    text-decoration: underline;
}

.cookie-link:hover {
    color: #0891b2;
}

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

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: white;
}

.cookie-btn.accept:hover {
    background: linear-gradient(135deg, #0891b2, #0e7490);
    transform: translateY(-1px);
}

.cookie-btn.reject {
    background: #334155;
    color: #cbd5e1;
    border: 1px solid #475569;
}

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

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

.cookie-btn.customize:hover {
    background: #06b6d4;
    color: #0f172a;
}

/* Cookie Preferences Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 0.75rem;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal h3 {
    color: #f8fafc;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 0.5rem;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.cookie-category h4 {
    color: #f8fafc;
    margin: 0;
    font-size: 1rem;
}

.cookie-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    background: #334155;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cookie-toggle.active {
    background: #06b6d4;
}

.cookie-toggle.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

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

.cookie-toggle.active::after {
    transform: translateX(20px);
}

.cookie-category p {
    color: #94a3b8;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.4;
}

.cookie-modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.cookie-modal-actions .cookie-btn {
    flex: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    
    .cookie-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.8rem;
    }
    
    .cookie-modal {
        padding: 1rem;
    }
    
    .cookie-modal-content {
        padding: 1.5rem;
    }
    
    .cookie-modal-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-text p {
        font-size: 0.875rem;
    }
    
    .cookie-actions {
        gap: 0.5rem;
    }
    
    .cookie-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}