/* Central stylesheet. No inline styling is allowed in templates. */
label,
input {
  display: block;
  width: 100%;
  max-width: 420px;
  margin-bottom: 0.75rem;
}


/* NONNIE_PERMIT_ISSUE_FORM_START */
.governed-form label {
  color: var(--nonnetjie-brass);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.governed-form input,
.governed-form select,
.governed-form textarea {
  display: block;
  width: 100%;
  max-width: 680px;
  margin: 0.35rem 0 0.75rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(211, 167, 95, 0.24);
  border-radius: 12px;
  background: rgba(7, 9, 12, 0.64);
  color: var(--nonnetjie-cream);
}

.governed-form input::placeholder,
.governed-form textarea::placeholder {
  color: rgba(169, 177, 184, 0.7);
}

.governed-form button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
/* NONNIE_PERMIT_ISSUE_FORM_END */

/* NONNIE_OPERATIONAL_SELECTION_UI_START */
.nonnie-operational-selection-panel {
  margin: 0.5rem 0 1.25rem;
}

.nonnie-operational-selection-selected {
  border: 1px solid #3b4654;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  background: #1b2128;
  color: #f3f3f3;
  font-weight: 600;
}

.nonnie-operational-selection-selected.is-selected {
  border-color: #78916f;
  background: #26303a;
  color: #ffffff;
}

.nonnie-operational-selection-results {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.nonnie-operational-selection-result {
  width: 100%;
  text-align: left;
  border: 1px solid #3b4654;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  background: #1b2128;
  color: #f3f3f3;
  cursor: pointer;
}

.nonnie-operational-selection-result:hover,
.nonnie-operational-selection-result:focus {
  border-color: #78916f;
  background: #26303a;
  color: #ffffff;
}

.nonnie-operational-selection-empty,
.nonnie-field-help {
  color: #c8d0d8;
  font-size: 0.9rem;
}
/* NONNIE_OPERATIONAL_SELECTION_UI_END */


/* ===================================================================== */
/* NONNIE_OPERATIONAL_SELECTION_RESULTS_SUBANCHOR                         */
/* UAT readability fix - dark cards with high contrast text              */
/* ===================================================================== */

.selection-result,
.lookup-result,
.selection-display,
.selection-summary,
.selection-panel,
.lookup-selection {
    background:#1b2128 !important;
    color:#f3f3f3 !important;
    border:1px solid #3b4654 !important;
}

.selection-result *,
.lookup-result *,
.selection-display *,
.selection-summary *,
.selection-panel *,
.lookup-selection * {
    color:#f3f3f3 !important;
}

.selection-result .muted,
.lookup-result .muted,
.selection-display .muted,
.selection-summary .muted,
.selection-panel .muted,
.lookup-selection .muted {
    color:#c8d0d8 !important;
}

.selection-result strong,
.lookup-result strong,
.selection-display strong,
.selection-summary strong {
    color:#ffffff !important;
}

.selection-result:hover,
.lookup-result:hover,
.selection-panel:hover {
    background:#26303a !important;
}
