/* ── Shared account-card ──────────────────────────────────── */
.account-card {
  background: var(--navy-dark);
  border: 1px solid rgba(var(--ink-rgb),0.07);
  border-radius: var(--r-card);
  margin-bottom: 20px;
  overflow: hidden;
}
.account-card-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(var(--ink-rgb),0.07);
}
.account-card-title { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.account-card-body  { padding: 20px 24px; }

/* ── Warning notice ───────────────────────────────────────── */
.warning-notice {
  display: flex;
  gap: 12px;
  background: rgba(var(--orange-rgb),0.07);
  border-left: 3px solid var(--orange);
  border-radius: var(--r-control);
  padding: 14px 16px;
  margin-bottom: 24px;
  line-height: 1.65;
}
.warning-notice-icon { flex-shrink: 0; margin-top: 1px; color: var(--orange); }
.warning-notice-body { font-size: 13px; color: var(--text-secondary); }
.warning-notice-body strong { color: var(--text-primary); font-weight: 600; }

/* ── Form fields ──────────────────────────────────────────── */
.field-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.field-input {
  width: 100%;
  background: var(--navy-deepest);
  border: 1px solid rgba(var(--ink-rgb),0.1);
  border-radius: var(--r-control);
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text-primary);
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border-color 120ms;
}
.field-input:focus  { border-color: var(--orange); }
.field-input::placeholder { color: var(--text-muted); }
.field-input:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.field-select {
  width: 100%;
  background: var(--navy-deepest);
  border: 1px solid rgba(var(--ink-rgb),0.1);
  border-radius: var(--r-control);
  padding: 8px 32px 8px 12px;
  font-size: 13px;
  color: var(--text-primary);
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border-color 120ms;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4L6 8L10 4' stroke='%2386A2B1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
}
.field-select:focus   { border-color: var(--orange); }
.field-select:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.field-select option  { background: var(--navy-mid); color: var(--text-primary); }

.form-row {
  margin-bottom: 16px;
}
.form-row:last-child { margin-bottom: 0; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

/* ── Result card ──────────────────────────────────────────── */
.result-card {
  background: var(--navy-mid);
  border: 1px solid rgba(var(--ink-rgb),0.08);
  border-radius: var(--r-control);
  padding: 16px 20px;
  margin-top: 20px;
}
.result-card-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.result-row {
  display: flex;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 6px;
  align-items: baseline;
}
.result-row:last-of-type { margin-bottom: 0; }
.result-key   { color: var(--text-muted); width: 110px; flex-shrink: 0; font-size: 12px; }
.result-val   { color: var(--text-primary); font-weight: 500; }
.result-val.muted { color: var(--text-secondary); font-weight: 400; }

.result-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  justify-content: flex-end;
}

/* ── Success flash ────────────────────────────────────────── */
.flash-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--status-ok-rgb),0.07);
  border-left: 3px solid var(--status-ok);
  border-radius: var(--r-control);
  color: var(--success-text);
  font-size: 14px;
  padding: 12px 16px;
  margin-top: 20px;
  opacity: 1;
  transition: opacity 400ms;
}
.flash-msg.hidden  { display: none; }
.flash-msg.fade-out { opacity: 0; }
