/* =============================================================================
     SETTINGS TABS
     ============================================================================= */

.settings-tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid var(--color-border-light);
  margin-bottom: 1.5rem;
}

.settings-tab {
  padding: 0.75rem 1rem;
  min-height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.5;
  transition:
    opacity 0.2s,
    border-color 0.2s;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.settings-tab:hover {
  opacity: 0.8;
}

.settings-tab.active {
  opacity: 1;
  border-bottom-color: var(--color-accent-primary);
}

.settings-tab .material-icons-outlined {
  font-size: 1.4rem;
  color: var(--color-text-primary);
}

.settings-panels {
  display: grid;
}

.settings-panel {
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--transition-medium) ease;
}

.settings-panel.active {
  visibility: visible;
  opacity: 1;
}

/* =============================================================================
   SETTINGS MODAL
   ============================================================================= */

.settings-section h3 {
  margin: 1.5rem 0 1rem 0;
  color: var(--color-text-strong);
  font-size: 1.1rem;
}

.settings-section:first-child h3 {
  margin-top: 0;
}

.setting-item {
  margin-bottom: 1.5rem;
}

.setting-item:last-child {
  margin-bottom: 1rem;
}

.setting-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-text-primary);
  font-weight: 600;
}

.setting-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-primary);
  cursor: pointer;
  min-height: 44px;
}

.setting-checkbox {
  width: 1.2rem;
  height: 1.2rem;
  accent-color: var(--color-accent-primary);
  min-width: 20px;
  min-height: 20px;
}

.setting-select {
  width: 100%;
  padding: 0.75rem;
  min-height: 44px;
  border: 1px solid var(--color-border-medium);
  border-radius: var(--border-radius);
  background: var(--color-background);
  color: var(--color-text-primary);
  font-size: 1rem;
}
