.ai-theme-toggle-container {
  padding: 12px 16px;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 12px;
}

.ai-theme-toggle-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.ai-theme-toggle-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
}

.ai-theme-switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex: 0 0 auto;
}

.ai-theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ai-theme-slider {
  position: absolute;
  inset: 0;
  background: #d1d5db;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.ai-theme-slider:before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  top: 3px;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.ai-theme-switch input:checked + .ai-theme-slider {
  background: #667eea;
}

.ai-theme-switch input:checked + .ai-theme-slider:before {
  transform: translateX(20px);
}

.ai-theme-toggle-container.mobile-theme {
  padding: 16px !important;
  border-bottom: 1px solid #eee !important;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
}

.ai-theme-toggle-container.mobile-theme .ai-theme-toggle-text {
  font-size: 13px !important;
  color: #666 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}
