/* ============================================================
   account.css - My Account / wallet pages
   ============================================================ */
.acct-grid{display:grid;grid-template-columns:260px 1fr;gap:16px}
@media(max-width:820px){.acct-grid{grid-template-columns:1fr}}
.acct-nav a{display:block;padding:11px 14px;font-weight:700;font-size:13px;border-radius:8px;margin-bottom:4px}
.acct-nav a.active{background:var(--navy-1);color:#fff}
.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}
.stat-card{background:var(--card);border-radius:var(--radius-lg);box-shadow:var(--shadow);padding:16px}
.stat-card .label{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.4px;font-weight:700}
.stat-card .val{font-size:22px;font-weight:900;margin-top:4px}
table.tx{width:100%;border-collapse:collapse;font-size:12.5px}
table.tx th{text-align:left;color:var(--muted);font-size:10.5px;text-transform:uppercase;padding:8px;border-bottom:1px solid var(--line)}
table.tx td{padding:9px 8px;border-bottom:1px solid var(--line)}
.pill{padding:3px 9px;border-radius:10px;font-size:10.5px;font-weight:800}
.pill.ok{background:#e4f6ea;color:var(--green)}
.pill.pend{background:#fff4d6;color:#8a6300}
.pill.dep{background:#e6ecff;color:var(--navy-1)}

/* ============================================================
   Deposit / Withdraw - payment methods
   ============================================================ */
.pay-methods{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.pay-method{display:flex;flex-direction:column;align-items:flex-start;gap:3px;
  padding:12px 14px;border:1.5px solid var(--line);border-radius:10px;background:var(--card);
  cursor:pointer;text-align:left;font-family:inherit;transition:border-color .12s,box-shadow .12s}
.pay-method:hover{border-color:var(--navy-1)}
.pay-method:focus-visible{outline:2px solid var(--navy-1);outline-offset:2px}
.pay-method.active{border-color:var(--navy-1);box-shadow:0 0 0 1.5px var(--navy-1) inset}
.pay-method-name{font-weight:800;font-size:13.5px}
.pay-method-note{font-size:11px;color:var(--muted)}

/* ============================================================
   my.t money deposit panel
   ============================================================ */
.myt-panel{margin-top:14px;padding:14px;border:1.5px solid var(--line);border-radius:10px;background:#fbfcfe}
.myt-head{display:flex;flex-direction:column;gap:2px;margin-bottom:12px}
.myt-mark{font-weight:900;font-size:15px;letter-spacing:-.2px}
.myt-sub{font-size:11.5px;color:var(--muted)}

/* The credential help text sits UNDER the field on purpose: the customer needs
   to read "this is your login password, not a PIN" before they type, and a
   tooltip is not read before typing. */
.myt-help{font-size:11px;color:var(--muted);line-height:1.45;margin-top:5px}

.myt-note{font-size:11px;color:var(--muted);line-height:1.45;margin-top:10px}

.myt-msg{font-size:12px;line-height:1.5;border-radius:8px;padding:10px 12px;margin:10px 0}
.myt-msg-detail{font-size:11px;opacity:.85;margin-top:4px;word-break:break-all}
.myt-msg-warn{background:#fff4d6;color:#8a6300}
.myt-msg-bad{background:#fff5f5;color:#c0392b;border:1px solid #f3b7b7}
.myt-msg-ok{background:#f3fbf5;color:#0e8a4b;border:1px solid #bfe3c9}

/* INDETERMINATE gets its own colour, deliberately not the red one. An outcome
   we cannot confirm is not a failure, and a customer who reads it as one
   retries a payment that may already exist. */
.myt-msg-unknown{background:#fff8e6;color:#7a5400;border:1px solid #e6c86a}

/* NOT_COMPLETED (F3-01) is deliberately neutral, not red: a cancelled or
   declined gateway hand-off charged nothing, so it is not an error to warn
   about, just a fact to state. */
.myt-msg-neutral{background:#f4f4f6;color:#53565c;border:1px solid #d7d9dd}

/* ============================================================
   myt money return RESULT (R-061 item 3, 15 Oct 2026) — replaces the whole
   deposit/withdraw card, not a banner above it. Big tick/cross for every
   TERMINAL outcome; a third, distinct "pending" treatment (amber, no tick,
   no cross) for the one state — processing — that has not resolved yet,
   so it is never shown as a false success or a false failure.
   ============================================================ */
.myt-result{display:flex;flex-direction:column;align-items:center;text-align:center;padding:36px 16px}
.myt-result-icon{width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:30px;line-height:1;margin-bottom:16px}
.myt-result-icon.ok{background:#e4f6ea;color:var(--green)}
.myt-result-icon.bad{background:#fff5f5;color:#c0392b}
.myt-result-icon.pending{background:#fff8e6;color:#7a5400}
.myt-result-status{font-size:20px;font-weight:900;margin-bottom:6px}
.myt-result-status.ok{color:var(--green)}
.myt-result-status.bad{color:#c0392b}
.myt-result-status.pending{color:#7a5400}
.myt-result-message{font-size:13px;color:var(--muted);max-width:420px;line-height:1.5}
.myt-result-detail{font-size:11.5px;opacity:.8;margin-top:12px;word-break:break-all}

@media(max-width:520px){
  .pay-methods{grid-template-columns:1fr}
}

