/* admin/css/pages/settings.css — Settings (spec §5). Loaded by
   pages/event/settings.js through ensureStylesheet. Colours, radii and type
   come from tokens.css; nothing here repeats a token value. */

/* Password: the input takes the row, Show/Hide and Remove sit beside it.
   The wrapper keeps a server error (validation.js setFieldError) under the
   input instead of between the buttons. */
.st-pwd-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
}

.st-pwd-input {
  display: flex;
  flex: 1 1 220px;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.st-pwd-row > .btn {
  min-height: 54px; /* level with the 54px control */
}

/* "Saves immediately" after Remove: centred on the 54px row. */
.st-pwd-row > .settings-immediate-badge {
  align-self: center;
}

/* Phone: the input takes the row, Show and Remove sit together under it. */
@media (max-width: 480px) {
  .st-pwd-input {
    flex-basis: 100%;
  }
}

/* Inline feedback for the immediate actions (no toasts, spec §4.10). */
.st-note {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
}

.st-note--ok { color: var(--success); }
.st-note--error {
  color: var(--danger);
  white-space: pre-line;
}

.st-note a {
  color: inherit;
}
