/* ============================================================
   Wallet Transactions (all wallets, admin) — fx-wtx- prefix.
   ============================================================ */

.fx-wtx-page { padding: 8px 4px 32px; }
.fx-wtx-denied { max-width: 640px; margin: 24px auto; }

/* ---- Header ------------------------------------------------ */
.fx-wtx-head { margin-bottom: 18px; }

.fx-wtx-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 600; letter-spacing: .08em;
    text-transform: uppercase; color: var(--text-muted, #8a8f98);
}

.fx-wtx-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #0d9488; box-shadow: 0 0 0 4px rgba(13, 148, 136, .15);
}

.fx-wtx-title-block h1 { margin: 6px 0 2px; font-size: 26px; font-weight: 600; }
.fx-wtx-title-block h1 em { font-style: italic; color: #0d9488; }
.fx-wtx-title-block p { margin: 0; color: var(--text-muted, #8a8f98); font-size: 14px; }

/* ---- Toolbar ----------------------------------------------- */
.fx-wtx-toolbar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px;
}

.fx-wtx-filter { max-width: 170px; }
.fx-wtx-search { flex: 1 1 300px; min-width: 260px; }

/* ---- Card / table ------------------------------------------ */
.fx-wtx-card {
    background: var(--surface, #fff);
    border: 1px solid var(--border, #e6e8eb);
    border-radius: 14px; overflow: hidden;
}

.fx-wtx-table { font-size: 13px; }

.fx-wtx-user-name { font-weight: 600; }
.fx-wtx-user-sub {
    font-size: 12px; color: var(--text-muted, #8a8f98);
    font-family: "Geist Mono", ui-monospace, monospace;
}
.fx-wtx-user-uname { color: var(--text-dim, #5b6068); }

.fx-wtx-mono {
    font-family: "Geist Mono", ui-monospace, monospace;
    font-size: 12.5px; color: var(--text-dim, #5b6068);
    white-space: nowrap; font-variant-numeric: tabular-nums;
}

.fx-wtx-credit { color: #15803d; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fx-wtx-debit  { color: #b91c1c; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---- Status pills ------------------------------------------ */
.fx-wtx-pill {
    display: inline-block; padding: 2px 10px; border-radius: 999px;
    font-size: 11px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase;
}
.fx-wtx-status-done     { background: #dcfce7; color: #15803d; }
.fx-wtx-status-pending  { background: #fef3c7; color: #b45309; }
.fx-wtx-status-failed   { background: #fee2e2; color: #b91c1c; }
.fx-wtx-status-reversed { background: #ede9fe; color: #6d28d9; }

/* ---- Empty / loading --------------------------------------- */
.fx-wtx-empty { padding: 36px 16px; text-align: center; color: var(--text-muted, #8a8f98); }
.fx-wtx-empty .mud-icon-root { font-size: 40px; opacity: .5; }
.fx-wtx-empty-title { margin-top: 8px; font-weight: 600; color: var(--text-dim, #5b6068); }
.fx-wtx-loading { padding: 24px; color: var(--text-muted, #8a8f98); }

/* ---- Detail dialog ----------------------------------------- */
.fx-wtx-detail { display: flex; flex-direction: column; gap: 4px; }

.fx-wtx-detail-grid {
    display: grid; grid-template-columns: 150px 1fr; row-gap: 7px; column-gap: 12px;
}

.fx-wtx-detail-label {
    font-size: 12px; font-weight: 600; color: var(--text-muted, #8a8f98);
    text-transform: uppercase; letter-spacing: .04em;
}

.fx-wtx-detail-value { font-size: 13.5px; word-break: break-word; }

.fx-wtx-detail-section {
    margin-top: 14px; margin-bottom: 6px; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim, #5b6068);
}

.fx-wtx-pre {
    margin: 0; padding: 12px 14px; background: #0f172a; color: #e2e8f0;
    border-radius: 10px; font-family: "Geist Mono", ui-monospace, monospace;
    font-size: 12px; line-height: 1.5; white-space: pre-wrap; word-break: break-word;
    max-height: 260px; overflow: auto;
}
