/* ============================================================
   Manage Mobile User panel — fx-mup- prefix.
   ============================================================ */

.fx-mup-page { padding: 8px 4px 40px; }

.fx-mup-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.fx-mup-head h1 { margin: 0; font-size: 24px; font-weight: 600; }
.fx-mup-head h1 em { font-style: italic; color: #6366f1; }
.fx-mup-back { }

/* ---- Hero ---- */
.fx-mup-hero {
    display: flex; align-items: center; gap: 16px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #fff; border-radius: 16px; padding: 20px 22px; margin-bottom: 18px;
}
.fx-mup-avatar {
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.15); font-size: 22px; font-weight: 700; flex: 0 0 auto;
}
.fx-mup-hero-name { font-size: 20px; font-weight: 600; }
.fx-mup-hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.fx-mup-chip {
    display: inline-block; padding: 3px 10px; border-radius: 999px;
    background: rgba(255,255,255,.12); font-size: 12.5px;
    font-family: "Geist Mono", ui-monospace, monospace;
}
.fx-mup-chip-ok   { background: rgba(34,197,94,.25); }
.fx-mup-chip-warn { background: rgba(245,158,11,.25); }

/* ---- Cards grid ---- */
.fx-mup-grid2 {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 16px; margin-bottom: 8px;
}
.fx-mup-card {
    background: var(--surface, #fff); border: 1px solid var(--border, #e6e8eb);
    border-radius: 14px; padding: 16px 18px;
}
.fx-mup-card-title {
    display: flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: 14px; margin-bottom: 12px; color: var(--text-dim, #5b6068);
}
.fx-mup-card-action { margin-left: auto; }

.fx-mup-kv {
    display: grid; grid-template-columns: 130px 1fr; row-gap: 7px; column-gap: 10px;
    font-size: 13.5px;
}
.fx-mup-kv > span:nth-child(odd) {
    color: var(--text-muted, #8a8f98); font-size: 12px; text-transform: uppercase;
    letter-spacing: .03em; align-self: center;
}
.fx-mup-kv > span:nth-child(even) { word-break: break-word; }

.fx-mup-mono { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12.5px; }

/* ---- Section heads ---- */
.fx-mup-section {
    margin: 24px 0 12px; font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; color: var(--text-dim, #5b6068);
}

/* ---- Action cards (history) ---- */
.fx-mup-cards {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px;
}
.fx-mup-action-card {
    display: flex; align-items: center; gap: 12px; cursor: pointer;
    background: var(--surface, #fff); border: 1px solid var(--border, #e6e8eb);
    border-radius: 12px; padding: 14px 16px; transition: box-shadow .15s, transform .05s, border-color .15s;
}
.fx-mup-action-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); border-color: #cbd5e1; }
.fx-mup-action-card:active { transform: translateY(1px); }
.fx-mup-action-icon {
    width: 40px; height: 40px; border-radius: 10px; flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center;
}
.fx-mup-action-label { font-weight: 600; font-size: 14px; flex: 1 1 auto; }
.fx-mup-action-chevron { color: var(--text-muted, #b0b4ba); }

/* ---- Action buttons row ---- */
.fx-mup-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Dialog helpers ---- */
.fx-mup-dlg-table { font-size: 13px; }
.fx-mup-sub { font-size: 12px; color: var(--text-muted, #8a8f98); }
.fx-mup-empty { padding: 28px 16px; text-align: center; color: var(--text-muted, #8a8f98); }
.fx-mup-pill {
    display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11px;
    font-weight: 600; text-transform: uppercase; background: #f1f5f9; color: #64748b;
}
.fx-mup-ok { background: #dcfce7; color: #15803d; }
.fx-mup-pending { background: #fef3c7; color: #b45309; }
