/* Refined Toggle Switch for UI Selection */
.ui-toggle-container {
  padding: 12px 16px;
  background: transparent;
  border-radius: 6px;
  border: 1px solid rgba(71, 85, 105, 0.15);
  transition: all 0.2s ease;
}

.ui-toggle-container:hover {
  border-color: rgba(74, 144, 226, 0.25);
  background: rgba(74, 144, 226, 0.02);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
  cursor: pointer;
  vertical-align: middle;
}

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

.toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #d1d5db;
  border-radius: 24px;
  transition: 0.3s ease;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* Checked state (New UI) */
.toggle-switch input:checked + .toggle-slider {
  background-color: #4A90E2;
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(24px);
}

/* Hover effect */
.toggle-switch:hover .toggle-slider {
  background-color: #b8bfc6;
}

.toggle-switch input:checked:hover + .toggle-slider {
  background-color: #3a7bc8;
}

/* UI Toggle Labels */
.ui-toggle-label {
  font-size: 13px;
  color: #64748b;
  transition: color 0.2s ease;
}

.ui-toggle-label.active {
  color: #475569;
  font-weight: 500;
}
