#settings-modal .modal-header {
  margin-bottom: 0;
}

.settings-section {
  margin-bottom: var(--space-md);
}

.settings-section-title {
  font-size: var(--font-sm);
  color: rgba(var(--gradient-start-rgb), 1);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-lg);
}

.setting-item label {
  color: var(--text-secondary);
  flex: 1;
  margin-right: var(--space-md);
}

/* Theme select dropdown */
.theme-select {
  min-width: 12rem;
  width: max-content;
}

/* Divider between sections */
.settings-divider {
  height: 1px;
  background: linear-gradient(to right, transparent,rgba(var(--gradient-start-rgb), 0.12), transparent);
  margin: var(--space-xl) 0;
}

/* Switch toggle */
.setting-item input[type="checkbox"] {
  --toggle-padding: 0.3rem;
  --toggle-width: 4.4rem;
  --toggle-height: 2.4rem;
  --toggle-bubble: calc(var(--toggle-height) - (var(--toggle-padding) * 2));
  appearance: none;
  display: flex;
  align-items: center;
  padding: 0 var(--toggle-padding);
  width: var(--toggle-width);
  height: var(--toggle-height);
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-input);
  border-radius: 3.4rem;
  outline: none;
  transition: all 0.4s ease;
}

.setting-item input[type="checkbox"] {
  box-shadow: none;
}

.setting-item input[type="checkbox"]:checked {
  background-color: rgba(var(--gradient-start-rgb), 0.5);
}

.setting-item input[type="checkbox"]::before {
  content: "";
  width: var(--toggle-bubble);
  height: var(--toggle-bubble);
  background-color: var(--text-muted);
  border-radius: 50%;
  transition: margin 0.3s ease;
}

.setting-item input[type="checkbox"]:checked::before {
  margin-left: calc(100% - var(--toggle-bubble));
  background-color: var(--text-secondary);
}
