/* ============================================================
   FORMS - Inputs, selects, textareas
   ============================================================ */

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-group label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.input-field {
  width: 100%;
  padding: 12px 14px;
  background: rgba(14, 14, 30, 0.9);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  border-radius: 3px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-mono);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.input-field:focus {
  border-color: rgba(var(--accent-rgb), 0.5);
  box-shadow:
    0 0 16px rgba(var(--accent-rgb), 0.15),
    inset 0 0 8px rgba(var(--accent-rgb), 0.03);
}

.input-field::placeholder {
  color: var(--text-dim);
}

/* --- Theme Switcher Button --- */
.theme-btn-wrapper {
  position: relative;
}

.theme-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  width: 160px;
  z-index: 100;
  padding: 4px 0;
}

.theme-dropdown-item {
  padding: 8px 14px;
  font-size: 0.75rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
}

.theme-dropdown-item:hover {
  background: rgba(var(--accent-rgb), 0.08);
}

.theme-dropdown-item {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.theme-dropdown-item:hover {
  border-color: rgba(255,255,255,0.25);
}
.theme-dropdown-item.active {
  color: var(--cyan);
}
.theme-dropdown-item.active[data-theme="void"] {
  border-color: #00f0ff;
  box-shadow: 0 0 6px rgba(0, 240, 255, 0.35);
}
.theme-dropdown-item.active[data-theme="nebula"] {
  border-color: #a855f7;
  box-shadow: 0 0 6px rgba(168, 85, 247, 0.35);
}
.theme-dropdown-item.active[data-theme="solar"] {
  border-color: #f59e0b;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.35);
}

.theme-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  flex-shrink: 0;
}

.theme-swatch.swatch-void { background: #00f0ff; }
.theme-swatch.swatch-nebula { background: #a855f7; }
.theme-swatch.swatch-solar { background: #f59e0b; }

/* --- Font Size Setting --- */
.fontsize-options {
  display: flex;
  gap: 6px;
}

.fontsize-option {
  padding: 6px 14px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  border-radius: 2px;
  border: 1px solid transparent;
  transition: all 0.15s;
  cursor: pointer;
}

.fontsize-option.active {
  color: var(--cyan);
  border-color: rgba(var(--accent-rgb), 0.3);
  background: rgba(var(--accent-rgb), 0.06);
}

.fontsize-option:hover {
  color: var(--text-secondary);
}

/* --- Notification Preferences --- */
.notif-prefs-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.notif-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.notif-pref-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.notif-pref-help {
  margin: -2px 0 6px;
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--text-muted, #6b7a8f);
}
