/* Developed by RegiTech (+2348038240084). Unauthorized removal does not transfer authorship. */
/* ==========================================================================
   iPay — Moniepoint-inspired blue theme, component layer.
   New markup patterns for Dashboard, Airtime flow, PIN sheet, Receipt.
   ========================================================================== */


/* Match the site's existing fluid container (.tf-container) so this page's
   width behaves the same as every untouched page on wider screens. */

.mp-container {
    max-width: 1320px;
    padding: 0 16px 24px;
}


/* App header (service flow pages) adopts the brand colour */

.app-header {
    background: linear-gradient(135deg, var(--mp-blue) 0%, var(--mp-blue-dark) 100%) !important;
}

/* The !important fill here is what every page's own .active rule loses to, so
   the text colour has to be set alongside it. Without the `color`, pages whose
   .active sets `color: #AB2923` (transfer.css, services.css) kept red text on
   this red fill — measured 1.00:1, i.e. the label vanished entirely. topup.css
   happened to set #fff and was the only one unaffected.
   Fixing it here rather than per page keeps the four callers in step. */
.quick-amt-btn.active {
    background: var(--mp-blue) !important;
    border-color: var(--mp-blue) !important;
    color: #fff !important;
}


/* Page body needs room for the fixed tab bar below.
   Bar is 6px + 44px tab + 6px + 2px border = 58px, and its wrapper adds 20px
   beneath, so 78px is the true minimum; 88px leaves a little breathing room.
   env() keeps it clear of the iPhone home indicator too. */

.app-body-wrap {
    padding-bottom: calc(88px + env(safe-area-inset-bottom)) !important;
}


/* ---- Bottom tab bar ---------------------------------------------------------
   Dark floating capsule, icons only. The active tab is marked by a soft glass
   panel behind it plus a brand-tinted icon — no fill, no shadow, no label.
   Labels stay in the markup for screen readers (.mp-tab-label is visually
   hidden below), so dropping the text costs nothing in accessibility.      */

.mp-tabbar-wrap {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 500;
    display: flex;
    justify-content: center;
    padding: 0 16px calc(20px + env(safe-area-inset-bottom));
    pointer-events: none;
}

.mp-tabbar {
    pointer-events: auto;
    display: flex;
    align-items: stretch;
    gap: 3px;
    width: 100%;
    max-width: 400px;
    /* Black with a glass sheen over it, floating over the page in both themes */
    background: var(--mp-glass-dark), #000000;
    border-radius: 22px;
    padding: 6px;
    box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .55), var(--mp-glass-edge);
    border: 0;
}

[data-theme="dark"] .mp-tabbar {
    background: var(--mp-glass-dark), #000000;
    box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6), var(--mp-glass-edge-soft);
    border: 0;
}

/* Each tab is its own segment — the glass panel is on the tab itself, so the
   whole 44px touch target lights up rather than just a tile around the icon. */
.mp-tab {
    flex: 1 1 0; min-width: 0;
    display: flex;
    align-items: center; justify-content: center;
    height: 44px;
    padding: 0;
    border-radius: 16px;
    text-decoration: none;
    background: transparent;
    color: rgba(255, 255, 255, .42);
    transition: background .24s cubic-bezier(.4, 0, .2, 1), color .2s ease;
}
.mp-tab:hover { color: rgba(255, 255, 255, .75); }

/* Chip is a pass-through now — the icon centres via .mp-tab itself. Kept so the
   existing markup in templates/foot.php needs no change. */
.mp-tab-chip {
    display: flex; align-items: center; justify-content: center;
    background: transparent;
    border: 0;
}
.mp-tab i { font-size: 19px; line-height: 1; }

/* Icons only — labels remain in the DOM purely for assistive tech. */
.mp-tab-label {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Gradient glass panel — brighter at the top edge, fading down, so the active
   segment reads as a lit pane rather than a flat 10% wash. Stays translucent
   white (not a brand fill) so the brand-tinted icon on top keeps its contrast. */
.mp-tab.is-active {
    background: linear-gradient(180deg,
        rgba(255, 255, 255, .22) 0%,
        rgba(255, 255, 255, .11) 55%,
        rgba(255, 255, 255, .06) 100%);
    color: var(--mp-brand-on-dark);
}
.mp-tab.is-active:active { transform: scale(.94); }

@media (prefers-reduced-motion: reduce) {
    .mp-tab { transition: none; }
    .mp-tab.is-active:active { transform: none; }
}

/* Narrow phones: tighten the bar; icons alone leave plenty of room. */
@media (max-width: 359px) {
    .mp-tabbar { padding: 5px; gap: 2px; }
    .mp-tab { height: 42px; border-radius: 14px; }
    .mp-tab i { font-size: 18px; }
}


/* ---- Topbar: avatar + level pill + help/bell ---- */

.mp-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 8px;
}

.mp-topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mp-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #FBEDEC;
    color: var(--mp-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    overflow: hidden;
}

.mp-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mp-level-pill {
    background: #FFF1DE;
    color: #B9720B;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--mp-pill);
}

.mp-topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mp-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--mp-card-bg);
    border: 1px solid var(--mp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mp-text);
    position: relative;
    font-size: 16px;
}

.mp-icon-btn .mp-badge-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--mp-red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}


/* ---- Legacy account row — deprecated, kept only so old markup doesn't break; not used on Dashboard anymore ---- */

.mp-account-row {
    display: none;
}


/* ---- Balance card — flat brand colour, no account number (most users fund via Monnify checkout) ---- */

.mp-balance-card {
    background: linear-gradient(165deg, var(--mp-brand) 0%, var(--mp-brand-2) 100%);
    border-radius: var(--mp-radius-lg);
    color: #fff;
    padding: 16px 18px 14px;
    box-shadow: 0 10px 24px -12px rgba(171, 41, 35, 0.35);
}

.mp-balance-card .label {
    font-size: 12px;
    color: rgba(255, 255, 255, .72);
    font-weight: 600;
}

.mp-balance-card .amount {
    font-family: var(--mp-font-mono);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-top: 4px;
    font-variant-numeric: tabular-nums;
}

.mp-balance-card .amount .eye-icon {
    font-size: 14px;
    margin-left: 8px;
    color: rgba(255, 255, 255, .6);
    cursor: pointer;
}

.mp-balance-card .hero-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.mp-balance-card .history-link,
.mp-balance-card .hero-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 0;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .28);
    white-space: nowrap;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, .10);
}

.mp-balance-card .hero-btn.pri {
    background: #fff;
    color: var(--mp-brand);
    border-color: transparent;
}


/* ---- Section headers ---- */

.mp-section {
    margin-top: 16px;
}

.mp-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.mp-section-title h3 {
    font-size: 14px;
    font-weight: 800;
    color: var(--mp-text);
    margin: 0;
}

.mp-section-title a {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--mp-blue);
    text-decoration: none;
}


/* ---- Quick actions grid ---- */

.mp-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 6px;
}

.mp-action-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: var(--mp-text);
}

.mp-action-tile .tile-icon {
    width: 100%;
    aspect-ratio: 1;
    background: var(--mp-brand-soft);
    border: none;
    border-radius: var(--mp-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mp-brand);
    font-size: 17px;
}

.mp-action-tile span {
    font-size: 11.5px;
    font-weight: 600;
    text-align: center;
}


/* ---- Transactions list ---- */

.mp-txn-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mp-txn-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 4px;
    text-decoration: none;
    color: var(--mp-text);
    border-bottom: 1px solid var(--mp-border);
}

.mp-txn-item:last-child {
    border-bottom: none;
}

.mp-txn-ico {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--mp-page-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.mp-txn-ico img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.mp-txn-body {
    flex: 1;
    min-width: 0;
}

.mp-txn-body .t-title {
    font-weight: 700;
    font-size: 13.5px;
}

.mp-txn-body .t-sub {
    font-size: 12px;
    color: var(--mp-text-muted);
}

.mp-txn-right {
    text-align: right;
    flex-shrink: 0;
}

.mp-txn-right .t-amt {
    font-weight: 800;
    font-size: 13.5px;
}

.mp-txn-right .t-amt.credit {
    color: var(--mp-green);
}

.mp-txn-right .t-amt.debit {
    color: var(--mp-text);
}

.mp-txn-pill {
    display: inline-block;
    margin-top: 3px;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: var(--mp-pill);
}

.mp-txn-pill.success {
    background: #E6F7EC;
    color: var(--mp-green);
}

.mp-txn-pill.failed {
    background: #FDEBEB;
    color: var(--mp-red);
}

.mp-txn-pill.pending {
    background: #FFF3DA;
    color: #B9720B;
}


/* ---- Service form card (Airtime etc.) ---- */

.mp-svc-card {
    background: var(--mp-card-bg);
    border-radius: var(--mp-radius-lg);
    padding: 20px;
    border: 1px solid var(--mp-border);
}

.mp-field-label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--mp-text-muted);
    margin-bottom: 8px;
}

.mp-field-input {
    width: 100%;
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius-md);
    padding: 13px 14px;
    font-size: 15px;
    font-weight: 700;
    color: var(--mp-text);
    background: var(--mp-page-bg);
}

.mp-chip-row {
    display: flex;
    gap: 10px;
    margin-bottom: 4px;
}

.mp-chip {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid transparent;
    padding: 3px;
    cursor: pointer;
    background: var(--mp-page-bg);
}

.mp-chip img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.mp-chip.active {
    border-color: var(--mp-blue);
}

.mp-amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.mp-amount-grid button {
    border: 1px solid var(--mp-border);
    background: var(--mp-page-bg);
    border-radius: var(--mp-radius-md);
    padding: 11px 0;
    font-weight: 700;
    color: var(--mp-text);
}

.mp-amount-grid button.active {
    background: var(--mp-blue);
    border-color: var(--mp-blue);
    color: #fff;
}

.mp-primary-btn {
    width: 100%;
    background: var(--mp-btn-grad);
    color: #fff;
    border: none;
    /* One shared token for every action button in the app — see
       --mp-btn-radius in theme-mp.css. This was a full pill before, which did
       not match .ap-submit on Airtime, Data or TopUp. */
    border-radius: var(--mp-btn-radius);
    padding: 15px 0;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    transition: background .18s ease;
}
/* styles/styles.css has a bare `button:hover { color: #AB2923; }` that
   applies to every <button> in the app — its element+pseudo specificity
   beats a plain `.mp-primary-btn { color: #fff }`, so hover was silently
   flipping the label to brand-red text on a dark-red hover background.
   Setting color explicitly here outranks it. */
.mp-primary-btn:hover:not(:disabled) { background: var(--mp-btn-grad-hover); color: #fff; }

/* Stays fully vivid when disabled, matching .ap-submit and every other
   brand-gradient CTA in the app — none of them dim on :disabled. Faded
   opacity read as washed-out pink here instead of "not ready yet". Only
   the cursor changes, which is enough since the click is already blocked
   by the disabled attribute itself. */
.mp-primary-btn:disabled {
    cursor: not-allowed;
}


/* ---- Confirm payment card ---- */

.mp-confirm-card {
    background: var(--mp-card-bg);
    border-radius: var(--mp-radius-lg);
    padding: 24px 20px;
    border: 1px solid var(--mp-border);
}

.mp-confirm-amount {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    color: var(--mp-text);
    margin-bottom: 18px;
}

.mp-confirm-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid var(--mp-border);
    font-size: 13.5px;
}

.mp-confirm-row:last-of-type {
    border-bottom: none;
}

.mp-confirm-row .label {
    color: var(--mp-text-muted);
}

.mp-confirm-row .value {
    font-weight: 700;
    color: var(--mp-text);
}

.mp-confirm-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.mp-btn-cancel,
.mp-btn-pay {
    flex: 1;
    /* Was a pill while every primary button on the page behind it is 12px. */
    border-radius: var(--mp-btn-radius);
    padding: 14px 0;
    font-weight: 800;
    border: none;
    font-size: 14px;
}

.mp-btn-cancel {
    background: var(--mp-page-bg);
    color: var(--mp-text);
}

.mp-btn-pay {
    background: var(--mp-btn-grad);
    color: #fff;
}

/* Both need an explicit hover colour. styles/styles.css:692 has a bare
   `button:hover { color: #AB2923 }`, which out-specifies a plain class rule —
   so with no hover rule of their own these inherited brand red. On .mp-btn-pay
   that is brand red on the brand-red gradient: measured 1.00:1 at the ramp's
   top stop, i.e. the label disappeared completely on hover. */
.mp-btn-pay:hover {
    background: var(--mp-btn-grad-hover);
    color: #fff;
}
.mp-btn-cancel:hover {
    background: var(--mp-border);
    color: var(--mp-text);
}


/* ---- PIN sheet (keypad) ------------------------------------------------
   Shared by every payment flow (airtime, data, cable, transfer, withdraw…).
   Bottom sheet: grip → title → dot indicator → keypad → security note.
   Specificity note: `.tf-panel .panel-up` (0,0,2,0) in styles/styles.css
   sets the corner radius, so the sheet must match that weight to win.     */

.tf-panel .panel-box.mp-pin-sheet {
    background: var(--mp-card-bg);
    /* The shorthand above resets background-image, so the sheet's glass sheen
       has to be re-declared here rather than inherited from .panel-box. */
    background-image: var(--mp-glass-sheet);
    box-shadow: var(--mp-glass-edge-soft);
    border-radius: 22px 22px 0 0;
    padding: 10px 22px calc(24px + env(safe-area-inset-bottom));
    text-align: center;
}

/* Legacy `.heading` rules elsewhere in the codebase (e.g.
   `.wrap-panel-clear .heading p` and `.wrap-content-panel .heading` in
   styles/styles.css) add a white block, a border-bottom rule and extra
   padding. This sheet owns its own layout, so neutralise them here — that
   keeps it safe even if a caller re-adds one of those wrapper classes. */
.mp-pin-sheet .heading {
    background: transparent;
    border: 0;
    border-radius: 0;
    margin: 0;
    padding: 0;
}
.mp-pin-sheet .heading p {
    border: 0;
    padding: 0;
}

/* Grip — signals the sheet is dismissible */
.mp-pin-grip {
    display: block;
    width: 38px;
    height: 4px;
    margin: 0 auto 18px;
    border-radius: 999px;
    background: var(--mp-border);
}

.mp-pin-sheet h4 {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.3px;
    color: var(--mp-text);
    margin: 0 0 5px;
}

.mp-pin-sub {
    font-size: 13px;
    line-height: 1.45;
    color: var(--mp-text-muted);
    margin: 0 auto;
    max-width: 30ch;
}

/* ---- Dot indicator ----
   Small filled dots read as a PIN indicator; large empty circles read as
   input boxes the user is meant to type into directly. */
.mp-pin-dots {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 26px 0 30px;
}

.mp-pin-dots input,
[data-theme="dark"] .mp-pin-dots input {
    width: 15px !important;
    height: 15px !important;
    min-height: 0 !important;
    padding: 0 !important;
    border-radius: 50%;
    border: 1.5px solid var(--mp-border) !important;
    background: transparent !important;
    font-size: 0 !important;
    color: transparent !important;
    caret-color: transparent;
    box-shadow: none !important;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

/* Filled state — a value present means the placeholder is no longer shown */
.mp-pin-dots input:not(:placeholder-shown),
[data-theme="dark"] .mp-pin-dots input:not(:placeholder-shown) {
    background: var(--mp-brand) !important;
    border-color: var(--mp-brand) !important;
    transform: scale(1.18);
}

/* ---- Keypad ---- */
.mp-pin-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 290px;
    margin: 0 auto;
}

.mp-pin-keypad button {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mp-page-bg);
    border: none;
    color: var(--mp-text);
    font-size: 22px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    padding: 0;
    border-radius: 14px;
    cursor: pointer;
    transition: background .12s ease, transform .1s ease;
}

.mp-pin-keypad button:active {
    background: var(--mp-brand-soft);
    color: var(--mp-brand);
    transform: scale(.94);
}

.mp-pin-keypad button.mp-key-action {
    background: transparent;
    color: var(--mp-text-muted);
    font-size: 14px;
    font-weight: 600;
}
.mp-pin-keypad button.mp-key-action:active { background: transparent; color: var(--mp-red); }

.mp-pin-keypad button.mp-key-back {
    background: transparent;
    color: var(--mp-text-muted);
}
.mp-pin-keypad button.mp-key-back:active { background: transparent; color: var(--mp-brand); }
.mp-pin-keypad button.mp-key-back svg { width: 24px; height: 24px; }

/* ---- Security note ---- */
.mp-pin-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 22px 0 0;
    font-size: 11.5px;
    color: var(--mp-text-muted);
}
.mp-pin-secure i { font-size: 12px; }


/* ---- Receipt / success card ---- */

.mp-receipt-card {
    background: var(--mp-card-bg);
    border-radius: var(--mp-radius-lg);
    overflow: hidden;
    border: 1px solid var(--mp-border);
}

.mp-receipt-hero {
    background: linear-gradient(135deg, var(--mp-blue) 0%, var(--mp-blue-dark) 100%);
    color: #fff;
    text-align: center;
    padding: 34px 20px 26px;
}

.mp-receipt-check {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff;
    color: var(--mp-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 26px;
}

.mp-receipt-hero .amt {
    font-size: 24px;
    font-weight: 800;
}

.mp-receipt-hero .sub {
    font-size: 13px;
    color: #D7E1FF;
    margin-top: 4px;
}

.mp-receipt-body {
    padding: 18px 20px;
}

.mp-receipt-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--mp-border);
    font-size: 13.5px;
}

.mp-receipt-row:last-child {
    border-bottom: none;
}

.mp-receipt-row .label {
    color: var(--mp-text-muted);
}

.mp-receipt-row .value {
    font-weight: 700;
    color: var(--mp-text);
}

.mp-receipt-actions {
    display: flex;
    gap: 10px;
    padding: 4px 20px 20px;
}


/* ═══════════════════════════════════════════════════════════════════════
   Transfer panel — "Where to?" chooser + iPay-user lookup form.
   .panel-box has no padding of its own anywhere in the codebase, so this
   panel supplies its own: the grip stays flush with the sheet's top edge,
   everything else lives inside .trp-pad.
   ═══════════════════════════════════════════════════════════════════════ */

.trp-sheet { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
.trp-pad { padding: 4px 22px 0; }

.trp-title {
    margin: 4px 0 2px;
    font-size: 19px; font-weight: 800; letter-spacing: -.3px;
    text-align: center; color: var(--mp-text);
}
.trp-sub {
    margin: 0 0 18px;
    font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
    text-align: center; color: var(--mp-text-muted);
}

/* ── Destination cards ── */
.trp-option {
    width: 100%;
    display: flex; align-items: center; gap: 14px;
    padding: 16px;
    margin-bottom: 20px;
    border: 1.5px solid var(--mp-border); border-radius: 16px;
    background: var(--mp-card-bg);
    text-align: left; text-decoration: none; cursor: pointer;
    font-family: inherit;
    outline: none;
    transition: border-color .16s ease, background .16s ease, transform .1s ease;
}
.trp-option:last-of-type { margin-bottom: 0; }
/* No colored border on hover/focus/active: on mobile WebViews, simply
   TAPPING a <button> counts as ":focus-visible", so a brand-coloured border
   there doesn't flash briefly — it sticks, permanently, on whichever card
   was last tapped, reading as a stuck error/selected state. Feedback here is
   background + a momentary press-scale only, which can't get stuck. */
@media (hover: hover) {
    .trp-option:hover { background: var(--mp-page-bg); }
}
.trp-option:active { transform: scale(.99); }
.trp-option:focus-visible { box-shadow: 0 0 0 3px var(--mp-border); }

.trp-option-ico {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
    background: var(--mp-brand-soft); color: var(--mp-brand);
    font-size: 19px;
}
.trp-option-ico.is-neutral {
    background: var(--mp-page-bg); color: var(--mp-text-muted);
}

.trp-option-text {
    flex: 1 1 auto; min-width: 0;
    display: flex; flex-direction: column; gap: 2px;
}
.trp-option-text strong {
    font-size: 14.5px; font-weight: 800; color: var(--mp-text);
}
.trp-option-text span {
    font-size: 12px; font-weight: 600; color: var(--mp-text-muted);
}

.trp-option-arrow { flex-shrink: 0; font-size: 16px; color: var(--mp-text-muted); }

/* ── Step 2: iPay-user lookup ── */
.trp-back {
    display: flex; align-items: center; gap: 5px;
    padding: 0 0 16px; margin: 0;
    border: none; background: none;
    font-family: inherit; font-size: 12.5px; font-weight: 700;
    color: var(--mp-text-muted); cursor: pointer;
}
.trp-back:hover { color: var(--mp-text); }

.trp-who {
    display: flex; align-items: center; gap: 12px;
    padding: 14px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: var(--mp-page-bg);
}
.trp-who-ico {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    background: var(--mp-brand); color: #fff; font-size: 17px;
}
.trp-who-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.trp-who-text strong { font-size: 14px; font-weight: 800; color: var(--mp-text); }
.trp-who-text span { font-size: 12px; font-weight: 600; color: var(--mp-text-muted); }

/* Phone field. Not .ap-input-shell/.ap-field — this panel is shared by
   every page (it lives in templates/foot.php), and pages like Dashboard.php
   never load services.css. Everything here has to resolve from
   theme-mp-components.css, which is the one stylesheet loaded everywhere. */
.trp-field { margin-bottom: 14px; }
.trp-field-wrap { position: relative; }
.trp-field-wrap .mp-field-input { padding-right: 40px; }

.trp-clear-btn {
    position: absolute; top: 50%; right: 10px; transform: translateY(-50%);
    display: flex; align-items: center; justify-content: center;
    width: 22px; height: 22px;
    border: none; border-radius: 50%; background: var(--mp-page-bg);
    color: var(--mp-text-muted); font-size: 11px; line-height: 1;
    cursor: pointer;
}
.trp-clear-btn:hover { background: var(--mp-border); color: var(--mp-text); }

.trp-fee {
    display: flex; align-items: center; gap: 6px;
    margin: 10px 2px 20px;
    font-size: 12.5px; color: var(--mp-text-muted);
}
.trp-fee i { color: var(--mp-green); font-size: 14px; }
.trp-fee strong { color: var(--mp-text); font-weight: 700; }