/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.98);
  border-top: 2px solid #667eea;
  z-index: 9999;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  max-height: 100vh;
  overflow-y: auto;
}

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

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

.cookie-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cookie-icon {
  font-size: 1.5rem;
}

.cookie-header h3 {
  color: #f1f5f9;
  font-size: 1.1rem;
  margin: 0;
}

.cookie-text {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.cookie-text a {
  color: #667eea;
  text-decoration: none;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(30, 41, 59, 0.8);
  border-radius: 12px;
}

.cookie-option {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

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

.cookie-toggle input {
  display: none;
}

.toggle-slider {
  width: 44px;
  height: 24px;
  background: #475569;
  border-radius: 12px;
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}

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

.cookie-toggle input:checked + .toggle-slider {
  background: #667eea;
}

.cookie-toggle input:checked + .toggle-slider::after {
  transform: translateX(20px);
}

.cookie-toggle input:disabled + .toggle-slider {
  opacity: 0.5;
}

.toggle-label {
  color: #f1f5f9;
  font-weight: 600;
  font-size: 0.9rem;
}

.cookie-desc {
  color: #64748b;
  font-size: 0.8rem;
  margin-left: 3.25rem;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

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

.cookie-btn-primary {
  background: #667eea;
  color: white;
}

.cookie-btn-primary:hover {
  background: #5a67d8;
}

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

.cookie-btn-secondary:hover {
  background: #475569;
}

.cookie-btn-text {
  background: none;
  color: #94a3b8;
}

.cookie-btn-text:hover {
  color: #f1f5f9;
}

/* Mobile */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 1rem;
  }
  
  .cookie-options {
    padding: 0.75rem;
  }
  
  .cookie-actions {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
    text-align: center;
  }
}
