/* PrimePay Momo (momo.primepay.mw): the bits agents.css doesn't have. Brand: Ink #09000D, Yellow #EBCC00, Light #EFEFEF. */

/* ---- inside the portal ---- */
.momo-sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 8px; }
.momo-sec-head h2 { margin: 0; font-size: 18px; }
.momo-ops { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.momo-op { display: flex; flex-direction: column; gap: 4px; text-decoration: none; padding: 14px 16px; }
.momo-op:hover { border-color: var(--ag-navy, #09000D); }
.momo-op-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.momo-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.momo-three h2, .momo-two h2 { margin: 0 0 6px; font-size: 16px; }
.momo-three p { margin: 0; line-height: 1.55; }
.momo-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.momo-form { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.momo-form label { font-size: 14px; font-weight: 600; }
.momo-form input:not([type=checkbox]) { min-height: 44px; width: 100%; max-width: 420px; padding: 0 12px; border: 1px solid var(--ag-border, #D6DDEA); border-radius: 10px; font: inherit; }
.momo-form p { margin: 0; line-height: 1.5; }
.momo-checks { border: 0; padding: 0; margin: 6px 0; display: flex; flex-direction: column; gap: 8px; }
.momo-checks legend { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.momo-checks label { font-weight: 400; display: flex; gap: 8px; align-items: center; }
.momo-hr { border: 0; border-top: 1px solid var(--ag-line, #EEF0F4); margin: 14px 0; width: 100%; }
.momo-foot { margin-top: 8px; }

/* Momo badge next to the logo in the shared layout */
.momo-badge { font-size: 11px; font-weight: 800; background: #EBCC00; color: #09000D; border-radius: 6px; padding: 2px 7px; margin-left: 6px; vertical-align: middle; }

/* "Become a mobile money agent" on the dashboard (MomoPrompt view component) */
.momo-promo { border-radius: 16px; background: #09000D; color: #fff; padding: 20px 24px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; margin: 0 0 18px; }
.momo-promo h2 { margin: 8px 0 0; font-size: 20px; color: #fff; }
.momo-promo p { margin: 6px 0 0; color: #C9C4CE; line-height: 1.55; max-width: 680px; }
.momo-promo ul { margin: 10px 0 0; padding-left: 18px; color: #C9C4CE; line-height: 1.7; }
.momo-promo-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.momo-promo-btn { min-height: 44px; padding: 0 18px; border-radius: 10px; border: 0; background: #EBCC00; color: #09000D !important; font-weight: 700; display: inline-flex; align-items: center; text-decoration: none; }
.momo-promo-later { background: transparent; border: 1px solid #5F5866; color: #fff; min-height: 36px; border-radius: 10px; padding: 0 14px; font: inherit; font-size: 13px; cursor: pointer; }
.momo-strip { border: 1px solid #DCDADF; background: #fff; border-radius: 14px; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 18px; flex-wrap: wrap; }
.momo-strip-mark { width: 34px; height: 34px; border-radius: 9px; background: #09000D; color: #EBCC00; display: grid; place-items: center; font-weight: 800; flex: none; }
.momo-strip-text { display: flex; gap: 12px; align-items: center; }
.momo-strip-text span { color: #5F5866; font-size: 13px; }
.momo-strip a { min-height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid #DCDADF; color: #09000D; font-weight: 600; display: inline-flex; align-items: center; text-decoration: none; }

/* ---- welcome page (signed out, no layout) ---- */
.momo-welcome { margin: 0; background: #EFEFEF; font-family: 'Segoe UI', Inter, system-ui, sans-serif; color: #09000D; min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.mw { width: min(1040px, 100%); background: #fff; border-radius: 20px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 18px 48px rgba(9, 0, 13, .12); }
.mw-left { background: #09000D; color: #fff; padding: 44px; display: flex; flex-direction: column; gap: 16px; }
.mw-left p { color: #C9C4CE; margin: 0; line-height: 1.6; }
.mw-left h1 { margin: 6px 0 0; font-size: 32px; }
.mw-brand { display: flex; align-items: center; gap: 10px; }
.mw-logo { filter: brightness(0) invert(1); }
.mw-badge { font-size: 11px; font-weight: 800; background: #EBCC00; color: #09000D; border-radius: 6px; padding: 3px 8px; }
.mw-steps { counter-reset: s; list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; color: #C9C4CE; }
.mw-steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 10px; line-height: 1.5; }
.mw-steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; background: #EBCC00; color: #09000D; font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.mw-right { padding: 44px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.mw-right h2 { margin: 0; font-size: 26px; }
.mw-muted { color: #5F5866; margin: 0; line-height: 1.5; }
.mw-small { font-size: 13px; }
.mw-btn { min-height: 48px; border-radius: 12px; background: #09000D; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.mw-btn:focus-visible { outline: 3px solid #EBCC00; outline-offset: 2px; }
.mw-btn-ghost { background: #fff; color: #09000D; border: 1px solid #DCDADF; }
.mw-or { display: flex; align-items: center; gap: 10px; color: #5F5866; font-size: 13px; }
.mw-or::before, .mw-or::after { content: ""; flex: 1; height: 1px; background: #EFEFEF; }

@media (max-width: 860px) {
    .mw, .momo-two, .momo-three, .momo-promo { grid-template-columns: 1fr; }
    .mw-left, .mw-right { padding: 28px 22px; }
    .momo-promo-actions { align-items: flex-start; }
}
