/* ===== Settings Tab (Hierarchy → Settings) ===== */
.settings-tab-wrap {
  padding: 0;
  max-width: none;
  width: 100%;
}

.settings-tab-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.settings-tab-title-block { min-width: 0; }
.settings-tab-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.settings-tab-sub {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--text-muted);
}
.settings-tab-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.settings-tab-body {
  /* in view mode, dim radio cards visually */
}
.settings-tab-body.is-view .ac-radio-card.is-disabled {
  cursor: default;
}
.settings-tab-body.is-view .ac-radio-card.is-disabled .ac-radio-mark {
  opacity: 0.7;
}
.settings-tab-body.is-view .ac-radio-card:not(.selected) {
  opacity: 0.55;
}
.settings-tab-body.is-view .ac-ip-add { display: none; }

/* Empty state for IPs */
.settings-empty-hint {
  font-size: 12px;
  color: var(--text-faint);
  font-style: italic;
}

/* IP add button: tighten visual to match wizard */
.ac-ip-add-pin {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

/* Number stepper buttons: respect disabled */
.ac-number-arrows button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ===== Account Limitations rows (Current existing | Max allowed) ===== */
.limit-row + .limit-row { margin-top: 14px; }
.limit-row-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.limit-row-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: end;
}
.limit-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.limit-col-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}
.ac-input.limit-current {
  background: #ffffff;
  border-color: var(--border);
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
  padding: 8px 6px;
  cursor: default;
}
.ac-input.limit-current:hover { border-color: var(--border); }
.limit-col .ac-number .ac-input {
  text-align: center;
  padding-right: 22px;
}
