/* transfer.css — owner: js/transfer.js
   Only .transfer-* names live here; the dialog shell is components.css's and is never
   redefined. Every colour is a token from base.css. */

.transfer{
  display:flex; flex-direction:column; gap:var(--sp-3);
}

/* The code is read across a table, so it is the largest thing in the dialog and
   monospaced-by-tracking rather than by font: the app ships no monospace face. */
.transfer-code{
  padding:var(--sp-3) var(--sp-2);
  border:2px solid var(--brand); border-radius:var(--r-md);
  background:var(--brand-soft);
  color:var(--ink);
  font-size:32px; font-weight:800; line-height:1.1;
  letter-spacing:.14em; text-indent:.14em; text-align:center;
  overflow-wrap:anywhere;
  user-select:all;                /* one long-press selects the whole thing */
}
.transfer-clock{
  font-size:13px; font-weight:800; text-align:center; color:var(--ink-soft);
}
.transfer-wait{
  padding-block:var(--sp-4);
  font-size:15px; font-weight:700; text-align:center; color:var(--ink-soft);
}

.transfer-steps{
  display:flex; flex-direction:column; gap:var(--sp-1);
  margin:0; padding-left:1.25em;
  font-size:14px; font-weight:600; line-height:1.4; color:var(--ink);
}
.transfer-steps li{ list-style:decimal; }
.transfer-steps b{ font-weight:800; }

.transfer-note{ line-height:1.4; }

.transfer-input{
  width:100%; min-height:56px;
  padding:var(--sp-2) var(--sp-3);
  border:2px solid var(--line); border-radius:var(--r-md);
  background:var(--surface); color:var(--ink);
  font-family:inherit; font-size:26px; font-weight:800; line-height:1;
  text-align:center; letter-spacing:.12em; text-indent:.12em;
  text-transform:uppercase;
}
.transfer-input:focus-visible{ border-color:var(--brand); }

/* Said, not assumed. Colour is backed by the ⚠️ glyph in the markup. */
.transfer-warn{
  padding:var(--sp-2) var(--sp-3);
  border:2px solid var(--bad-soft); border-radius:var(--r-md);
  background:var(--bad-soft); color:var(--ink);
  font-size:12px; font-weight:700; line-height:1.4;
}

@media (max-width:359px){
  .transfer-code{ font-size:26px; }
  .transfer-input{ font-size:22px; }
}
