/* MyJamanot component library. Every class name that existed in the old
   app.css is preserved here (redrawn on tokens.css) so all 56 existing views
   keep working the moment this ships — no view file needs to change for the
   visual upgrade to take effect. New components are added alongside. */

/* ---------------------------------------------------------------------- */
/* Reset + base                                                            */
/* ---------------------------------------------------------------------- */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--gray-50);
    color: var(--ink-900);
    line-height: 1.55;
    font-size: var(--text-base);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* guards the .hero full-bleed trick below from ever causing horizontal scroll */
}

a { color: var(--emerald-700); text-decoration: none; }
a:hover { text-decoration: underline; }

img { display: block; max-width: 100%; }
/* Every <svg> in this app is a small inline icon (see App\Helpers\Icon) —
   inline-block + a slight negative vertical-align reads as centered next to
   adjacent text, including inside plain (non-flex) elements like <h1>. */
svg { display: inline-block; vertical-align: -3px; max-width: 100%; }

::selection { background: var(--emerald-50); color: var(--emerald-700); }

:focus-visible {
    outline: 2px solid var(--emerald-600);
    outline-offset: 2px;
    border-radius: 4px;
}

.container { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--space-5); }

/* ---------------------------------------------------------------------- */
/* Typography                                                              */
/* ---------------------------------------------------------------------- */

main { padding: var(--space-8) 0 var(--space-12); }

h1, h2, h3, h4 { color: var(--navy-950); margin-top: 0; font-weight: 700; letter-spacing: -0.01em; font-family: var(--font-display); }
h1 { font-size: var(--text-3xl); line-height: 1.25; }
h2 { font-size: var(--text-xl); line-height: 1.3; }
h3 { font-size: var(--text-lg); }
h4 { font-size: var(--text-base); }
p { margin-top: 0; }

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-lg { font-size: var(--text-lg); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.muted { color: var(--gray-600); }
.text-right { text-align: right; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }

/* ---------------------------------------------------------------------- */
/* Top navigation (public/buyer/seller header)                             */
/* ---------------------------------------------------------------------- */

.topnav {
    background: var(--navy-950);
    color: var(--white);
    position: sticky;
    top: 0;
    /* Higher than --z-drawer (60): .topnav's own z-index sets the ceiling
       for its whole stacking context, including the nested .nav-links
       mobile drawer (position:fixed, z-index 61 — but that only counts
       *within* .topnav's context). Below that ceiling, #nav-drawer-backdrop
       (a sibling of .topnav, z-index 60) would out-rank the entire topnav
       box at the page's top-level stacking context and silently swallow
       every tap on the open drawer's links. */
    z-index: calc(var(--z-drawer) + 2);
    box-shadow: var(--shadow-sm);
}
.topnav .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); gap: var(--space-4); }

.brand { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-lg); font-weight: 700; color: var(--white); letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 8px; overflow: hidden;
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700));
    color: var(--white);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-accent { color: var(--emerald-500); }

.nav-links { display: flex; align-items: center; gap: var(--space-5); }
.nav-links a:not(.btn) { display: inline-flex; align-items: center; gap: 6px; color: #e9dcc4; font-weight: 500; font-size: var(--text-sm); }
.nav-links a:not(.btn) svg { opacity: .85; flex-shrink: 0; }
.nav-links a:not(.btn):hover { color: var(--white); text-decoration: none; }
.nav-links .btn { margin-left: var(--space-1); }

.nav-role-tag {
    font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700;
    background: rgba(255,255,255,.1); color: #ffd98c; padding: 4px 10px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,.14);
}

.nav-icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: var(--radius-sm);
    color: #e9dcc4; background: transparent; border: 1px solid transparent; cursor: pointer;
    position: relative;
}
.nav-icon-btn:hover { background: rgba(255,255,255,.08); color: var(--white); }
.nav-icon-btn .badge-dot {
    position: absolute; top: 4px; right: 4px; min-width: 15px; height: 15px; padding: 0 3px;
    border-radius: 20px; background: var(--emerald-500); color: var(--navy-950);
    font-size: .62rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
}

.menu-toggle, .sidebar-toggle { display: none; }

/* ---------------------------------------------------------------------- */
/* Buttons                                                                  */
/* ---------------------------------------------------------------------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: var(--text-sm);
    font-family: var(--font-display);
    cursor: pointer;
    background: var(--emerald-600);
    color: var(--white);
    transition: background var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease), box-shadow var(--duration-fast) var(--ease);
    line-height: 1.2;
}
.btn:hover { background: var(--emerald-700); text-decoration: none; }
.btn:active { transform: translateY(0.5px); }
.btn:disabled { opacity: .6; cursor: not-allowed; }

.btn-secondary { background: var(--white); color: var(--navy-950); border-color: var(--gray-200); }
.btn-secondary:hover { background: var(--gray-50); border-color: var(--gray-400); }

.btn-outline { background: transparent; color: var(--emerald-700); border-color: var(--emerald-600); }
.btn-outline:hover { background: var(--emerald-50); }

.btn-danger { background: var(--danger-text); }
.btn-danger:hover { background: #941b12; }

.btn-dark { background: var(--navy-950); color: var(--gold-bg); }
.btn-dark:hover { background: var(--navy-900); }

.btn-block { display: flex; width: 100%; text-align: center; }
.btn-sm { padding: 7px 14px; font-size: var(--text-xs); }
.btn-lg { padding: 13px 26px; font-size: var(--text-base); }
.btn-icon { padding: 9px; width: 38px; height: 38px; }

/* Button loading state — toggled by app.js on submit */
.btn.is-loading { color: transparent; pointer-events: none; position: relative; }
.btn.is-loading::after {
    content: ''; position: absolute; width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,.5); border-top-color: #fff;
    animation: spin .6s linear infinite;
}
.btn-secondary.is-loading::after, .btn-outline.is-loading::after {
    border-color: rgba(11,31,58,.25); border-top-color: var(--navy-950);
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------------- */
/* Cards / surfaces                                                        */
/* ---------------------------------------------------------------------- */

.card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-5);
    box-shadow: var(--shadow-sm);
}

.card-flush { padding: 0; overflow: hidden; }
.card-flush > table { margin: 0; }

.grid { display: grid; gap: var(--space-4); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.stat-tile {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-6);
    box-shadow: var(--shadow-sm);
    position: relative;
}
/* Not scoped to .stat-tile — also used standalone at the top of a plain
   .card as a small icon badge (security.php, verification.php,
   buyer_protection.php, etc.). */
.stat-icon {
    width: 36px; height: 36px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    background: var(--emerald-50); color: var(--emerald-700);
    margin-bottom: var(--space-3);
}
.stat-tile .value { font-size: var(--text-2xl); font-weight: 700; color: var(--navy-950); letter-spacing: -0.01em; }
.stat-tile .label { color: var(--gray-600); font-size: var(--text-sm); margin-top: 2px; }
.stat-tile .trend { font-size: var(--text-xs); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; margin-top: var(--space-2); }
.stat-tile .trend.up { color: var(--success-text); }
.stat-tile .trend.down { color: var(--danger-text); }

/* Account profile header (views/account/profile.php) — avatar + name/role +
   verified-status at a glance, before the edit form below it. */
.profile-header {
    display: flex; align-items: center; gap: var(--space-5);
    padding: var(--space-6); margin-bottom: var(--space-5);
    background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); flex-wrap: wrap;
}
.avatar-lg, .avatar-sm {
    border-radius: 50%; flex-shrink: 0; overflow: hidden;
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700));
    color: var(--white); display: flex; align-items: center; justify-content: center;
    font-weight: 700; letter-spacing: -0.02em;
}
.avatar-lg img, .avatar-sm img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 64px; height: 64px; font-size: var(--text-2xl); }
.avatar-sm { width: 28px; height: 28px; font-size: var(--text-xs); }

/* Small avatar-upload overlay button on the profile header's .avatar-lg — a
   camera icon pinned to the bottom-right corner, matching common
   "click the photo to change it" conventions. */
.avatar-upload { position: relative; flex-shrink: 0; }
.avatar-upload-btn {
    position: absolute; bottom: -2px; right: -2px; width: 24px; height: 24px; border-radius: 50%;
    background: var(--navy-950); color: var(--white); border: 2px solid var(--white);
    display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.avatar-upload-btn:hover { background: var(--navy-800); }
.avatar-upload input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.profile-header-info { flex: 1; min-width: 200px; }
.profile-header-info h1 { margin-bottom: 4px; }
.profile-header-meta { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; font-size: var(--text-sm); color: var(--gray-600); }
.profile-header-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }

.section-title { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-3); flex-wrap: wrap; }
.section-title h1, .section-title h2 { margin-bottom: 0; }

/* Review cards on the public trust profile (views/public/trust_profile.php) */
.review-list { display: flex; flex-direction: column; gap: var(--space-4); }
.review-item { display: flex; gap: var(--space-3); padding-bottom: var(--space-4); border-bottom: 1px solid var(--gray-100); }
.review-item:last-child { padding-bottom: 0; border-bottom: none; }
.review-item .avatar-sm { flex-shrink: 0; }
.review-item-stars { color: var(--gold-600); font-size: var(--text-base); letter-spacing: 1px; }
.review-item-name { font-weight: 600; color: var(--navy-950); font-size: var(--text-sm); }
.review-item-comment { color: var(--gray-600); font-size: var(--text-sm); margin-top: 4px; }
.review-item-ts { color: var(--gray-400); font-size: var(--text-xs); margin-top: 6px; }

.empty-state {
    text-align: center; padding: var(--space-10) var(--space-6); color: var(--gray-600);
}
.empty-state .empty-icon {
    width: 52px; height: 52px; margin: 0 auto var(--space-4); border-radius: 50%;
    background: var(--gray-100); color: var(--gray-500); display: flex; align-items: center; justify-content: center;
}
.empty-state h3 { color: var(--navy-950); margin-bottom: 4px; }
.empty-state p { margin-bottom: var(--space-4); }

/* ---------------------------------------------------------------------- */
/* Forms                                                                    */
/* ---------------------------------------------------------------------- */

label { display: block; font-weight: 600; margin-bottom: 6px; font-size: var(--text-sm); color: var(--navy-950); }

input[type=text], input[type=email], input[type=password], input[type=number],
input[type=tel], input[type=date], input[type=url], input[type=file], textarea, select {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-family: inherit;
    margin-bottom: var(--space-4);
    background: var(--white);
    color: var(--ink-900);
    transition: border-color var(--duration-fast) var(--ease), box-shadow var(--duration-fast) var(--ease);
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--emerald-600);
    box-shadow: 0 0 0 3px var(--emerald-50);
}
input[type=file] { padding: 8px; }

.field-error { color: var(--danger-text); font-size: var(--text-xs); margin-top: -10px; margin-bottom: var(--space-3); }
.field-hint { color: var(--gray-600); font-size: var(--text-xs); margin-top: -10px; margin-bottom: var(--space-3); }

.radio-group { margin-bottom: var(--space-2); }
.radio-group label {
    font-weight: 500; display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
    padding: 10px 12px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
    cursor: pointer; transition: border-color var(--duration-fast) var(--ease), background var(--duration-fast) var(--ease);
}
.radio-group label:has(input:checked) { border-color: var(--emerald-600); background: var(--emerald-50); }
.radio-group input { width: auto; margin: 0; accent-color: var(--emerald-600); }

.checkbox-line { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: var(--text-sm); margin-bottom: var(--space-3); }
.checkbox-line input { width: auto; margin: 0; accent-color: var(--emerald-600); }

/* ---------------------------------------------------------------------- */
/* Alerts + toasts                                                         */
/* ---------------------------------------------------------------------- */

.alert { display: flex; align-items: flex-start; gap: 10px; padding: 13px 16px; border-radius: var(--radius-sm); margin-bottom: var(--space-4); font-size: var(--text-sm); border: 1px solid; }
.alert-error { background: var(--danger-bg); color: var(--danger-text); border-color: var(--danger-border); }
.alert-success { background: var(--success-bg); color: var(--success-text); border-color: var(--success-border); }
.alert-warning { background: var(--warning-bg); color: var(--warning-text); border-color: var(--warning-border); }
.alert-info { background: var(--info-bg); color: var(--info-text); border-color: var(--info-border); }

.toast-container {
    position: fixed; right: var(--space-5); bottom: var(--space-5);
    z-index: var(--z-toast); display: flex; flex-direction: column; gap: 10px;
    width: min(360px, calc(100vw - 2 * var(--space-5)));
}
.toast {
    display: flex; align-items: flex-start; gap: 10px;
    background: var(--white); border: 1px solid var(--gray-200); border-left: 4px solid var(--emerald-600);
    border-radius: var(--radius-md); padding: 14px 16px; box-shadow: var(--shadow-lg);
    font-size: var(--text-sm); color: var(--ink-900);
    opacity: 0; transform: translateY(8px); transition: opacity var(--duration-base) var(--ease), transform var(--duration-base) var(--ease);
}
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast.toast-error { border-left-color: var(--danger-text); }
.toast .toast-icon { flex-shrink: 0; color: var(--emerald-600); margin-top: 1px; }
.toast.toast-error .toast-icon { color: var(--danger-text); }
.toast .toast-close { margin-left: auto; background: none; border: none; cursor: pointer; color: var(--gray-400); padding: 0; flex-shrink: 0; }
.toast .toast-close:hover { color: var(--ink-900); }

/* ---------------------------------------------------------------------- */
/* Badges / status pills                                                   */
/* ---------------------------------------------------------------------- */

.pill {
    display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 20px;
    font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
    background: var(--gray-100); color: var(--gray-600); white-space: nowrap;
}
.pill-success { background: var(--success-bg); color: var(--success-text); }
.pill-warn { background: var(--warning-bg); color: var(--warning-text); }
.pill-danger { background: var(--danger-bg); color: var(--danger-text); }
.pill-info { background: var(--info-bg); color: var(--info-text); }
.pill-gold { background: var(--gold-bg); color: var(--gold-600); }

.badge-icon {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 20px;
    background: var(--emerald-50); color: var(--emerald-700); font-size: var(--text-xs); font-weight: 600;
    border: 1px solid var(--success-border);
}
.badge-icon .badge-dot-icon { width: 20px; height: 20px; border-radius: 50%; background: var(--emerald-600); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.badge-icon.is-pending { background: var(--gray-100); color: var(--gray-600); border-color: var(--gray-200); }
.badge-icon.is-pending .badge-dot-icon { background: var(--gray-400); }
.badge-icon.is-unverified { background: var(--warning-bg); color: var(--warning-text); border-color: var(--warning-border); }
.badge-icon.is-unverified .badge-dot-icon { background: transparent; color: var(--warning-text); }

/* ---------------------------------------------------------------------- */
/* Tables                                                                   */
/* ---------------------------------------------------------------------- */

table { width: 100%; border-collapse: collapse; }
/* Safety net for tables that don't opt into the stacked-card treatment below
   (e.g. short reference tables in views/public/developers.php) — keeps a
   wide table from ever forcing the whole page to scroll horizontally. */
table:not(.table-responsive) { display: block; overflow-x: auto; }
@media (min-width: 641px) {
    table:not(.table-responsive) { display: table; overflow-x: visible; }
}
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--gray-150); font-size: var(--text-sm); }
th { color: var(--gray-600); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; background: var(--gray-50); }
tbody tr:hover td { background: var(--gray-50); }
tbody tr:last-child td { border-bottom: none; }
.card-flush table th:first-child, .card-flush table td:first-child { padding-left: var(--space-6); }
.card-flush table th:last-child, .card-flush table td:last-child { padding-right: var(--space-6); }

/* Responsive tables — collapses to stacked cards below ~640px, R6 activates
   this via a `data-label` attribute added per <td> in list views. */
@media (max-width: 640px) {
    table.table-responsive thead { display: none; }
    table.table-responsive, table.table-responsive tbody, table.table-responsive tr, table.table-responsive td { display: block; width: 100%; }
    table.table-responsive tr { border: 1px solid var(--gray-200); border-radius: var(--radius-md); margin-bottom: var(--space-3); padding: var(--space-2) var(--space-4); }
    table.table-responsive td { border-bottom: 1px solid var(--gray-100); padding: 8px 0; display: flex; justify-content: space-between; gap: var(--space-3); }
    table.table-responsive td:last-child { border-bottom: none; }
    table.table-responsive td::before { content: attr(data-label); font-weight: 600; color: var(--gray-600); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .03em; }
}

/* ---------------------------------------------------------------------- */
/* Timeline (activity feed) + status-timeline (lifecycle stepper)          */
/* ---------------------------------------------------------------------- */

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { padding: 10px 0 10px 22px; border-left: 2px solid var(--gray-200); position: relative; }
.timeline li:last-child { border-left-color: transparent; }
.timeline li::before {
    content: ''; position: absolute; left: -6px; top: 16px;
    width: 10px; height: 10px; border-radius: 50%; background: var(--emerald-600); box-shadow: 0 0 0 3px var(--emerald-50);
}
.timeline .ts { color: var(--gray-500); font-size: var(--text-xs); margin-top: 2px; }

.status-timeline { display: flex; flex-wrap: wrap; gap: 0; margin: var(--space-2) 0 var(--space-5); }
.status-timeline .step { flex: 1; min-width: 90px; text-align: center; position: relative; padding-top: 28px; }
.status-timeline .step::before {
    content: ''; position: absolute; top: 8px; left: 0; right: 0; height: 2px; background: var(--gray-200);
}
.status-timeline .step:first-child::before { left: 50%; }
.status-timeline .step:last-child::before { right: 50%; }
.status-timeline .step .dot { position: absolute; top: 2px; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; border-radius: 50%; background: var(--gray-200); border: 2px solid var(--white); }
.status-timeline .step.is-done::before { background: var(--emerald-600); }
.status-timeline .step.is-done .dot { background: var(--emerald-600); }
.status-timeline .step.is-current .dot { background: var(--emerald-600); box-shadow: 0 0 0 4px var(--emerald-50); }
.status-timeline .step.is-current .step-label { color: var(--navy-950); font-weight: 700; }
.status-timeline .step .step-label { font-size: var(--text-xs); color: var(--gray-500); }

/* ---------------------------------------------------------------------- */
/* Key/value rows                                                          */
/* ---------------------------------------------------------------------- */

.kv { display: flex; justify-content: space-between; gap: var(--space-3); padding: 9px 0; border-bottom: 1px dashed var(--gray-200); font-size: var(--text-sm); }
.kv:last-child { border-bottom: none; }
.kv .k { color: var(--gray-600); }
.kv .v { font-weight: 600; color: var(--navy-950); text-align: right; }

/* profile_link() helper (app/Helpers/functions.php) — next to a buyer/
   seller/reviewer name wherever it appears, links to their public trust
   profile (spec §94). Deliberately lighter-weight than .kv .v so it reads
   as a secondary action, not part of the name itself. */
.profile-link { display: inline-flex; align-items: center; gap: 4px; font-size: var(--text-xs); font-weight: 600; color: var(--emerald-700); white-space: nowrap; }
.profile-link:hover { text-decoration: underline; }

/* ---------------------------------------------------------------------- */
/* Misc utility                                                            */
/* ---------------------------------------------------------------------- */

.inline-form { display: inline; }
.actions-row { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-4); }
.divider { border: none; border-top: 1px solid var(--gray-200); margin: var(--space-5) 0; }

.skeleton {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-150) 37%, var(--gray-100) 63%);
    background-size: 400% 100%;
    animation: skeleton-shimmer 1.4s ease infinite;
    border-radius: var(--radius-sm);
}
@keyframes skeleton-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------------------------------------------------------------------- */
/* Modal (native <dialog>) — see app.js for open/close wiring              */
/* ---------------------------------------------------------------------- */

dialog.modal {
    border: none; border-radius: var(--radius-lg); padding: 0; width: min(440px, calc(100vw - 2 * var(--space-5)));
    box-shadow: var(--shadow-lg);
}
dialog.modal::backdrop { background: rgba(10, 22, 40, .55); }
.modal-body { padding: var(--space-6); }
.modal-body h3 { display: flex; align-items: center; gap: 10px; }
.modal-body .modal-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--danger-bg); color: var(--danger-text); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.modal-actions { display: flex; justify-content: flex-end; gap: var(--space-3); margin-top: var(--space-6); }

/* ---------------------------------------------------------------------- */
/* Auth + hero                                                             */
/* ---------------------------------------------------------------------- */

.auth-wrap { max-width: 440px; margin: var(--space-10) auto; }
.auth-wrap .card { box-shadow: var(--shadow-md); }

/* Legal pages (terms/privacy/refund-policy/dispute-policy) — each section
   gets a small numbered badge instead of a plain <h2>, so a long policy
   document stays scannable. */
.legal-doc { max-width: 760px; margin: 0 auto; }
.legal-section { display: flex; gap: var(--space-4); padding: var(--space-5) 0; border-bottom: 1px solid var(--gray-100); }
.legal-section:last-child { border-bottom: none; padding-bottom: 0; }
.legal-section:first-child { padding-top: 0; }
.legal-num {
    flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--emerald-50); color: var(--emerald-700);
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: var(--text-sm);
}
.legal-section h2 { font-size: var(--text-base); margin-bottom: 6px; }
.legal-section p { color: var(--gray-600); margin: 0; }

.auth-header { text-align: center; margin-bottom: var(--space-5); }
.auth-header .auth-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%; background: var(--emerald-50); color: var(--emerald-700);
    margin-bottom: var(--space-3);
}
.auth-header h1 { font-size: var(--text-xl); margin-bottom: var(--space-2); }
.auth-header p { margin: 0; }

/* Icon-prefixed inputs (name/email/password) — a proper "input group": the
   icon sits in its own shaded, bordered box joined directly to the input
   (shared border, seam in the middle), not floating on top of it. */
.input-icon-shell { display: flex; margin-bottom: var(--space-4); }
.input-icon-shell .input-icon-addon {
    flex: 0 0 auto; width: 40px; display: flex; align-items: center; justify-content: center;
    background: var(--gray-100); color: var(--gray-500);
    border: 1px solid var(--gray-200); border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.input-icon-shell input { margin-bottom: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* Phone field — a real country-code <select> (flag + dial code) joined to
   the input the same way, instead of a hardcoded "+880" prefix; JS
   (initPhonePrefix in app.js) also auto-detects the country when a full
   number is pasted/typed and switches the select to match. */
.phone-shell { display: flex; margin-bottom: var(--space-4); }
.phone-shell .country-select {
    flex: 0 0 auto; width: auto; margin-bottom: 0; max-width: 108px;
    background: var(--gray-100); color: var(--navy-950); font-weight: 700;
    border: 1px solid var(--gray-200); border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    padding: 10px 6px 10px 12px;
}
.phone-shell input { margin-bottom: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.password-shell { position: relative; }
.password-shell input { padding-right: 42px; }
.password-shell .input-icon-btn {
    position: absolute; right: 4px; top: 4px; bottom: 4px; width: 34px;
    display: flex; align-items: center; justify-content: center;
    background: transparent; border: none; border-radius: var(--radius-sm); color: var(--gray-500); cursor: pointer;
}
.password-shell .input-icon-btn:hover { background: var(--gray-100); color: var(--navy-950); }

.role-radio-group { display: flex; gap: var(--space-3); margin-bottom: var(--space-2); }
.role-radio-group label { flex: 1; flex-direction: column; text-align: center; gap: 6px; }
.role-radio-group .role-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%; background: var(--gray-100); color: var(--gray-600);
    margin: 0 auto;
}
.role-radio-group label:has(input:checked) .role-icon { background: var(--emerald-600); color: var(--white); }
.role-radio-group .role-desc { font-size: var(--text-xs); font-weight: 400; color: var(--gray-500); }

.hero {
    /* Sits on the plain page background (cream) rather than its own dark
       block — the mockup's hero has no background of its own, only
       decorative blobs; a leftover dark gradient here was the cause of the
       hero rendering navy/brown-with-white-text instead of the intended
       light cream design. Still full-bleed edge-to-edge (so the blobs reach
       the true viewport edges instead of being clipped at .container's
       width) — .hero .container below re-centers the actual copy/buttons. */
    padding: 88px 0 96px; text-align: center; position: relative; overflow: hidden;
    width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--navy-950); font-size: var(--text-4xl); margin-bottom: var(--space-4); line-height: 1.15; }
.hero p { color: var(--gray-600); font-size: var(--text-lg); max-width: 600px; margin: 0 auto var(--space-8); }
.hero .btn { margin: 0 6px; }
.hero .hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-3); }
.hero .hero-badge {
    display: inline-flex; align-items: center; gap: 8px; background: var(--white);
    border: 1px solid var(--gray-200); color: var(--emerald-700); padding: 6px 14px; border-radius: 20px;
    font-size: var(--text-xs); font-weight: 600; margin-bottom: var(--space-5); box-shadow: var(--shadow-sm);
}

/* ---------------------------------------------------------------------- */
/* Footer                                                                   */
/* ---------------------------------------------------------------------- */

.site-footer { background: var(--navy-950); color: #c9b89c; padding: var(--space-10) 0 var(--space-6); margin-top: var(--space-12); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--space-8); padding-bottom: var(--space-8); border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-grid h4 { color: var(--white); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .04em; margin-bottom: var(--space-4); }
.footer-grid a { display: block; color: #c9b89c; font-size: var(--text-sm); margin-bottom: 10px; }
.footer-grid a:hover { color: var(--white); text-decoration: none; }
/* .footer-grid a's `display: block` above (same specificity as .brand's
   own `display: inline-flex`, so source order would otherwise decide it)
   was flattening the footer logo+wordmark link to block layout — the icon
   and text no longer sat on the same flex row, so they stopped lining up
   vertically. Restated here with one extra class to win outright. */
.footer-grid a.brand { display: inline-flex; margin-bottom: 0; }
.footer-brand p { font-size: var(--text-sm); max-width: 260px; margin: var(--space-3) 0 0; }
.footer-contact-info { margin: var(--space-4) 0 0; display: flex; flex-direction: column; gap: 8px; }
.footer-contact-info div { display: flex; align-items: flex-start; gap: 8px; font-size: var(--text-xs); color: #c9b89c; }
.footer-contact-info svg { flex-shrink: 0; margin-top: 2px; opacity: .8; }
.footer-contact-info a { color: #c9b89c; }
.footer-contact-info a:hover { color: var(--white); text-decoration: underline; }
.footer-service-of { font-size: var(--text-xs); opacity: .7; }
.footer-service-of a { color: var(--white); }
.footer-service-of a:hover { text-decoration: underline; }
a.footer-service-of-link {
    display: contents;
}
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--space-5); font-size: var(--text-xs); flex-wrap: wrap; gap: var(--space-3); }
.footer-social { display: flex; gap: var(--space-3); }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.06); color: #e9dcc4; }
.footer-social a:hover { background: rgba(255,255,255,.14); color: var(--white); }

/* Legacy bare-footer fallback (kept in case any view still relies on it) */
footer:not(.site-footer) { border-top: 1px solid var(--gray-200); padding: var(--space-5) 0; color: var(--gray-600); font-size: var(--text-sm); text-align: center; }

/* ---------------------------------------------------------------------- */
/* Admin shell: sidebar + topbar                                           */
/* ---------------------------------------------------------------------- */

.admin-shell { display: flex; min-height: 100vh; }

.admin-sidebar {
    width: var(--sidebar-width); flex-shrink: 0; background: var(--navy-950); color: #e9dcc4;
    padding: var(--space-5) var(--space-4); position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-sidebar .brand { margin-bottom: var(--space-6); padding: 0 var(--space-2); }
.sidebar-section-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: #a0907a; font-weight: 700; padding: 0 var(--space-3); margin: var(--space-4) 0 var(--space-2); }
.sidebar-section-label:first-of-type { margin-top: 0; }
.sidebar-link {
    display: flex; align-items: center; gap: 11px; padding: 9px var(--space-3); border-radius: var(--radius-sm);
    color: #d9c9a8; font-size: var(--text-sm); font-weight: 500; margin-bottom: 2px;
}
.sidebar-link:hover { background: var(--navy-800); color: var(--white); text-decoration: none; }
.sidebar-link.is-active { background: var(--emerald-600); color: var(--white); font-weight: 600; }
.sidebar-link svg { flex-shrink: 0; opacity: .9; }

.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-topbar {
    height: var(--header-height); background: var(--white); border-bottom: 1px solid var(--gray-200);
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
    padding: 0 var(--space-6); position: sticky; top: 0; z-index: 30;
}
.admin-topbar .topbar-search {
    display: flex; align-items: center; gap: 8px; background: var(--gray-100); border-radius: var(--radius-sm);
    padding: 8px 12px; color: var(--gray-500); font-size: var(--text-sm); flex: 1; max-width: 360px;
}
.admin-topbar .topbar-search input {
    flex: 1; border: 0; margin: 0; padding: 0; background: transparent; color: var(--ink-900);
    font-size: var(--text-sm); font-family: var(--font-body);
}
.admin-topbar .topbar-search input:focus { outline: none; }
.admin-topbar .topbar-actions { display: flex; align-items: center; gap: var(--space-3); }
.admin-topbar .admin-profile { display: flex; align-items: center; gap: 8px; font-size: var(--text-sm); font-weight: 600; color: var(--navy-950); }
.admin-profile .avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--emerald-600); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: var(--text-xs); }
.admin-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--radius-sm); color: var(--gray-600); background: transparent; border: 1px solid transparent; position: relative; }
.admin-icon-btn:hover { background: var(--gray-100); color: var(--navy-950); }

.admin-content { padding: var(--space-6); max-width: 1320px; width: 100%; margin: 0 auto; }

/* Mobile nav drawer (shared shape for both the public/dashboard header and the admin sidebar) */
.drawer-backdrop {
    position: fixed; inset: 0; background: rgba(10,22,40,.5); z-index: var(--z-drawer);
    opacity: 0; pointer-events: none; transition: opacity var(--duration-base) var(--ease);
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ---------------------------------------------------------------------- */
/* Charts (SVG, server-rendered — see App\Helpers\Chart)                   */
/* ---------------------------------------------------------------------- */

.chart-wrap { width: 100%; overflow-x: auto; }
.chart-svg text { font-family: inherit; fill: var(--gray-600); font-size: 10px; }
.chart-bar { fill: var(--emerald-600); }
.chart-bar:hover { fill: var(--emerald-700); }
.chart-gridline { stroke: var(--gray-150); stroke-width: 1; }
.chart-line { fill: none; stroke: var(--emerald-600); stroke-width: 2; }
.chart-area { fill: var(--emerald-50); }

/* ---------------------------------------------------------------------- */
/* Responsive                                                              */
/* ---------------------------------------------------------------------- */

/* ---------------------------------------------------------------------- */
/* Dispute evidence gallery (admin/dispute_show.php, disputes/show.php) —  */
/* each thumbnail is captioned with who uploaded it, so buyer vs seller    */
/* evidence is never ambiguous.                                            */
/* ---------------------------------------------------------------------- */

.evidence-grid { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.evidence-item { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100px; text-decoration: none; color: inherit; }
.evidence-thumb { width: 90px; height: 90px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--gray-200); background: var(--gray-50); }
.evidence-thumb-file { display: flex; align-items: center; justify-content: center; color: var(--gray-500); }
.evidence-caption { font-size: var(--text-xs); color: var(--gray-600); text-align: center; line-height: 1.3; }
.evidence-caption .role { display: block; color: var(--gray-400); }

/* ---------------------------------------------------------------------- */
/* Transaction flow — buyer/seller dashboard + guest secure link           */
/* (views/partials/transaction_detail.php, views/secure_link/show.php).    */
/* Goal: the one number/action that matters is always the most visually    */
/* prominent thing on the page, so a non-technical user never has to hunt  */
/* through a dense key-value list to know "what do I do next".             */
/* ---------------------------------------------------------------------- */

.tx-hero {
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
    background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
    border-radius: var(--radius-lg); padding: var(--space-6); margin-bottom: var(--space-5);
    flex-wrap: wrap; color: var(--white);
}
.tx-hero .tx-hero-label { font-size: var(--text-sm); color: #d9c9a8; margin-bottom: 4px; }
.tx-hero .tx-hero-amount { font-size: var(--text-3xl); font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; }
.tx-hero .tx-hero-sub { font-size: var(--text-sm); color: #e9dcc4; margin-top: 6px; max-width: 420px; }
.tx-hero .pill { background: rgba(255,255,255,.14); color: var(--white); font-weight: 600; }
.tx-hero-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(235,115,85,.18); color: var(--emerald-500); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.escrow-note {
    display: flex; gap: var(--space-3); align-items: flex-start; background: var(--emerald-50);
    border: 1px solid var(--emerald-500); border-radius: var(--radius-md); padding: var(--space-4);
    margin-bottom: var(--space-5); color: var(--navy-950); font-size: var(--text-sm); line-height: 1.55;
}
.escrow-note .escrow-note-icon { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--emerald-600); color: var(--white); display: flex; align-items: center; justify-content: center; }

.next-step-card {
    border: 1px dashed var(--emerald-500); background: var(--emerald-50); border-radius: var(--radius-md);
    padding: var(--space-4); margin-top: var(--space-5);
}
.next-step-card .next-step-title { font-weight: 700; color: var(--navy-950); display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.next-step-card p { color: var(--gray-600); font-size: var(--text-sm); margin-bottom: var(--space-3); }
.next-step-card p:last-child { margin-bottom: 0; }

.waiting-card {
    display: flex; align-items: center; gap: var(--space-3); background: var(--gray-50);
    border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: var(--space-4);
    margin-top: var(--space-5); color: var(--gray-600); font-size: var(--text-sm);
}
.waiting-card .waiting-icon { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--gray-150); color: var(--gray-500); display: flex; align-items: center; justify-content: center; }

.btn-quiet { background: transparent; color: var(--danger-text); border: 1px solid var(--danger-border); box-shadow: none; }
.btn-quiet:hover { background: var(--danger-bg); text-decoration: none; }

/* Dispute/refund conversation, styled as a chat thread rather than a flat
   activity log — makes it obvious at a glance who said what. */
.chat-thread { list-style: none; margin: var(--space-3) 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); max-height: 340px; overflow-y: auto; }
.chat-bubble { max-width: 88%; background: var(--gray-100); border-radius: var(--radius-md); padding: 10px 14px; align-self: flex-start; }
.chat-bubble.is-me { align-self: flex-end; background: var(--emerald-50); }
.chat-bubble .chat-meta { font-size: var(--text-xs); color: var(--gray-500); margin-bottom: 2px; display: flex; gap: 6px; align-items: center; }
.chat-bubble .chat-meta .role-tag { font-weight: 600; color: var(--gray-600); }
.chat-bubble .chat-text { font-size: var(--text-sm); color: var(--ink-900); white-space: pre-wrap; word-break: break-word; }
.chat-empty { color: var(--gray-500); font-size: var(--text-sm); text-align: center; padding: var(--space-4) 0; }

/* Compact vertical status timeline for narrow screens — the horizontal one
   above simply hides at <720px (see media query below), so this replaces it
   there instead of losing progress visibility entirely on mobile. */
.status-timeline-mobile { display: none; }

/* ---------------------------------------------------------------------- */
/* Developer docs page (views/public/developers.php)                       */
/* ---------------------------------------------------------------------- */

code {
    font-family: var(--font-mono);
    /* background: var(--gray-100); */
    padding: 2px 6px;
    border-radius: 4px;
    font-size: .9em;
}

/* Code-editor-style block (code_block() helper in app/Helpers/functions.php)
   — line numbers, one line per row, Copy button in the header. */
.code-editor {
    background: #1e1e1e; /* VS Code "Dark+" editor background */
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: var(--space-5) 0;
    box-shadow: var(--shadow-lg);
}
.code-editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: #323233; /* VS Code title-bar tone */
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    position: relative;
    padding-left: 76px; /* room for the traffic-light dots below */
}
/* Three macOS-style window-control dots — pure CSS, no extra markup. */
.code-editor-header::before {
    content: '';
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    width: 12px; height: 12px; border-radius: 50%;
    background: #ff5f56;
    box-shadow: 20px 0 0 #ffbd2e, 40px 0 0 #27c93f;
}
.code-editor-label {
    color: var(--gray-400);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.code-editor-header .btn {
    background: rgba(255, 255, 255, .1);
    color: var(--gray-100);
    border-color: transparent;
}
.code-editor-header .btn:hover { background: rgba(255, 255, 255, .18); }
.code-editor-body {
    display: flex;
    overflow-x: auto;
    padding: var(--space-3) 0;
}
.code-editor-body pre {
    margin: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: var(--text-sm);
    line-height: 1.6;
    white-space: pre;
}
.code-editor-body .line-numbers {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, .28);
    text-align: right;
    user-select: none;
    padding: 0 var(--space-3);
}
.code-editor-body .code-highlighted {
    flex: 1 1 auto;
    color: #d4d4d4;
    padding: 0 var(--space-4) 0 var(--space-3);
}
.code-editor-body .code-highlighted code { font-family: inherit; }

/* VS Code "Dark+" token palette */
.tok-comment { color: #6a9955; }
.tok-string { color: #ce9178; }
.tok-keyword { color: #569cd6; }
.tok-tag { color: #569cd6; }
.tok-attr { color: #9cdcfe; }
.tok-number { color: #b5cea8; }

.doc-steps {
    counter-reset: doc-step;
    list-style: none;
    margin: 0;
    padding: 0;
}
.doc-steps > li {
    counter-increment: doc-step;
    position: relative;
    padding: 0 0 var(--space-8) var(--space-12);
    border-left: 2px solid var(--gray-200);
    margin-left: 17px;
}
.doc-steps > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.doc-steps > li::before {
    content: counter(doc-step);
    position: absolute;
    left: -18px; top: 0;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--emerald-600);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: var(--text-sm);
}
.doc-steps h3 { margin-top: 0; }

.doc-toc {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin: var(--space-5) 0 var(--space-8);
}
.doc-toc a {
    background: var(--gray-100);
    color: var(--ink-900);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: var(--text-sm);
    text-decoration: none;
}
.doc-toc a:hover { background: var(--emerald-50); color: var(--emerald-700); }

@media (max-width: 900px) {
    .admin-sidebar {
        position: fixed; left: 0; top: 0; z-index: var(--z-drawer); transform: translateX(-100%);
        transition: transform var(--duration-base) var(--ease); box-shadow: var(--shadow-lg);
    }
    .admin-sidebar.is-open { transform: translateX(0); }
    .sidebar-toggle { display: inline-flex; }
    .admin-content { padding: var(--space-4); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .nav-links { position: fixed; top: 0; right: 0; height: 100vh; width: min(300px, 82vw);
        background: var(--navy-950); flex-direction: column; align-items: stretch; padding: 84px var(--space-5) var(--space-5);
        gap: var(--space-2); transform: translateX(100%); transition: transform var(--duration-base) var(--ease);
        z-index: calc(var(--z-drawer) + 1); overflow-y: auto; }
    .nav-links.is-open { transform: translateX(0); }
    .nav-links a:not(.btn) { padding: 10px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
    .nav-links .btn { margin: var(--space-2) 0 0; }
    .menu-toggle { display: inline-flex; }
    .nav-desktop-only { display: none; }
    .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
    .hero h1 { font-size: var(--text-3xl); }
    .hero { padding: 56px 0 64px; }
    .section-title { align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr; }
    .status-timeline { display: none; }
    .status-timeline-mobile { display: flex; flex-direction: column; margin: var(--space-2) 0 var(--space-5); border-left: 2px solid var(--gray-200); }
    .status-timeline-mobile .step { position: relative; padding: 0 0 var(--space-4) var(--space-4); }
    .status-timeline-mobile .step:last-child { padding-bottom: 0; }
    .status-timeline-mobile .dot { position: absolute; left: -7px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--gray-200); border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--gray-200); }
    .status-timeline-mobile .step.is-done .dot, .status-timeline-mobile .step.is-current .dot { background: var(--emerald-600); box-shadow: 0 0 0 1px var(--emerald-600); }
    .status-timeline-mobile .step.is-current .dot { box-shadow: 0 0 0 4px var(--emerald-50), 0 0 0 1px var(--emerald-600); }
    .status-timeline-mobile .step-label { font-size: var(--text-sm); color: var(--gray-500); }
    .status-timeline-mobile .step.is-current .step-label { color: var(--navy-950); font-weight: 700; }
    .tx-hero { padding: var(--space-5); }
    .tx-hero .tx-hero-amount { font-size: var(--text-2xl); }
    .chat-bubble { max-width: 100%; }
}
