/* ============================================================
   MOCARD — site-specific styles layered over the template's
   compiled Tailwind build (style.css). Keep everything here that
   the purged template CSS cannot express.
   Palette: teal #114A43 (secondary), lime #D1DE6F (primary).
   ============================================================ */
:root {
  --mc-teal: #114A43;
  --mc-teal-700: #0d3a34;
  --mc-lime: #D1DE6F;
  --mc-lime-600: #c2d047;
  --mc-ink: #0D0D0D;
  --mc-ink2: #404040;
  --mc-muted: #5b6b66;
  --mc-line: #E5E5E5;
  --mc-soft: #FBFBFB;
}

/* ── Header ────────────────────────────────────────────────── */
.main-menu ul li a.mc-nav-active { color: var(--mc-lime); }
.header-area .logo img { max-height: 44px; width: auto; }

/* ── Small button variants ─────────────────────────────────── */
.mc-btn-sm { height: 44px !important; padding-left: 18px !important; padding-right: 18px !important; font-size: 15px !important; }
.mc-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 44px;
  border: 1px dashed var(--mc-line); border-radius: 100px; color: var(--mc-muted); font-size: 14px; font-weight: 500;
}
a.mc-btn-ghost { transition: color .3s, border-color .3s; }
a.mc-btn-ghost:hover { color: var(--color-secondary, #114A43); border-color: var(--color-secondary, #114A43); }

/* ── Audience paths (home) ─────────────────────────────────── */
.mc-paths { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .mc-paths { grid-template-columns: 1fr 1fr; } }
.mc-path {
  position: relative; display: flex; flex-direction: column; gap: 20px; padding: 32px;
  border-radius: 24px; border: 1px solid var(--mc-line); background: var(--mc-soft); overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.mc-path:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(17,74,67,.35); }
.mc-path--dark { background: var(--mc-teal); border-color: rgba(255,255,255,.1); color: #fff; }
.mc-path__tag {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 6px 14px; border-radius: 100px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(17,74,67,.08); color: var(--mc-teal);
}
.mc-path--dark .mc-path__tag { background: rgba(209,222,111,.15); color: var(--mc-lime); }
.mc-path h3 { font-size: 26px; line-height: 1.2; font-weight: 700; }
@media (min-width: 1024px) { .mc-path h3 { font-size: 32px; } }
.mc-path--dark h3 { color: #fff; }
.mc-path p { color: var(--mc-ink2); }
.mc-path--dark p { color: #CCCCCC; }
.mc-check { display: flex; flex-direction: column; gap: 12px; }
.mc-check li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--mc-ink2); }
.mc-path--dark .mc-check li { color: #e6ebe9; }
.mc-check li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--mc-lime) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='%23114A43' d='M8.1 13.6 4.6 10.1l1.4-1.4 2.1 2.1 5.9-5.9 1.4 1.4z'/></svg>") center/20px no-repeat;
}
.mc-path__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }

/* ── Hero mock payment card ────────────────────────────────── */
.mc-pay-card { border-radius: 24px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(34px); padding: 28px; color: #fff; }
.mc-pay-card__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mc-pay-card__row:last-of-type { border-bottom: 0; }
.mc-pay-card__label { font-size: 13px; color: #CCCCCC; text-transform: uppercase; letter-spacing: .06em; }
.mc-pay-card__value { font-weight: 600; text-align: right; }
.mc-pay-card__amount { font-size: 34px; font-weight: 800; line-height: 1; }
.mc-pay-card__amount small { font-size: 16px; font-weight: 600; color: var(--mc-lime); margin-right: 6px; }
.mc-pay-card__merchant { display: flex; align-items: center; gap: 12px; }
.mc-pay-card__merchant img { width: 44px; height: 44px; border-radius: 12px; background: #fff; object-fit: contain; padding: 4px; }
.mc-methods { display: flex; gap: 8px; flex-wrap: wrap; }
.mc-methods span { font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 100px; background: rgba(255,255,255,.12); }
/* Hero card: brand-logo pills (white so MTN/Airtel/Visa/Mastercard marks read on teal) */
.mc-methods--logos span { display: inline-flex; align-items: center; gap: 6px; background: #fff; padding: 5px 10px; }
.mc-methods--logos img { height: 16px; width: auto; display: block; }
.mc-pay-card .button-primary { width: 100%; justify-content: center; margin-top: 18px; }
.mc-pay-card__note { margin-top: 12px; font-size: 13px; color: #CCCCCC; text-align: center; }

/* ── How it works ──────────────────────────────────────────── */
.mc-steps { display: grid; grid-template-columns: 1fr; gap: 24px; counter-reset: step; }
@media (min-width: 768px) { .mc-steps { grid-template-columns: repeat(3, 1fr); } }
.mc-step { position: relative; padding: 28px; border-radius: 20px; border: 1px solid var(--mc-line); background: #fff; }
.mc-step__num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mc-teal); color: var(--mc-lime); font-weight: 700; font-size: 18px; }
.mc-step h3 { margin-top: 20px; font-size: 20px; font-weight: 600; line-height: 1.3; }
.mc-step p { margin-top: 10px; color: var(--mc-ink2); }
.mc-steps--dark .mc-step { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.mc-steps--dark .mc-step h3 { color: #fff; }
.mc-steps--dark .mc-step p { color: #CCCCCC; }
.mc-steps--dark .mc-step__num { background: var(--mc-lime); color: var(--mc-teal); }

/* ── Why Mocard value props (dark band) ────────────────────── */
.mc-props { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .mc-props { grid-template-columns: repeat(3, 1fr); } }
.mc-prop { padding: 26px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.mc-prop__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--mc-lime); color: var(--mc-teal); display: flex; align-items: center; justify-content: center; }
.mc-prop h3 { margin-top: 18px; color: #fff; font-size: 20px; font-weight: 600; }
.mc-prop p { margin-top: 8px; color: #CCCCCC; }

/* ── Merchant logo marquee ─────────────────────────────────── */
.mc-marquee-logo { flex: none; width: 300px; height: 150px; display: flex; align-items: center; justify-content: center; padding: 8px 16px; }
.mc-marquee-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@media (max-width: 639px) { .mc-marquee-logo { width: 200px; height: 100px; padding: 6px 12px; } }
.mc-marquee-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ── Service detail rows (services page) ───────────────────── */
.mc-svc { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 1024px) { .mc-svc { grid-template-columns: 1.1fr .9fr; gap: 64px; } .mc-svc--flip > :first-child { order: 2; } }
.mc-svc__visual { border-radius: 24px; background: var(--mc-teal); padding: 32px; min-height: 320px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.mc-svc__visual::before { content: ""; position: absolute; inset: auto -40px -40px auto; width: 220px; height: 220px; border-radius: 50%; background: rgba(209,222,111,.18); }
.mc-svc__visual .mc-pay-card { width: 100%; max-width: 380px; }
.mc-svc__tag { display: inline-flex; padding: 6px 14px; border-radius: 100px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; background: rgba(17,74,67,.08); color: var(--mc-teal); }
.mc-svc h2 { margin-top: 16px; font-size: 30px; line-height: 1.2; font-weight: 700; }
@media (min-width: 1024px) { .mc-svc h2 { font-size: 40px; } }
.mc-svc .mc-lead { margin-top: 16px; font-size: 18px; color: var(--mc-ink2); }
.mc-svc .mc-check { margin-top: 24px; }
.mc-svc .mc-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.mc-link-list { display: flex; flex-direction: column; gap: 10px; }
.mc-link-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.08); color: #fff; font-weight: 600; border: 1px solid rgba(255,255,255,.12); transition: background .3s; }
.mc-link-list a:hover { background: rgba(209,222,111,.2); }
.mc-link-list small { font-weight: 400; color: #CCCCCC; display: block; font-size: 13px; }

/* ── Payment methods strip ─────────────────────────────────── */
.mc-method-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 768px) { .mc-method-grid { grid-template-columns: repeat(4, 1fr); } }
.mc-method { padding: 22px; border-radius: 18px; border: 1px solid var(--mc-line); background: var(--mc-soft); text-align: center; }
.mc-method__logo { height: 64px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.mc-method__logo img { height: 40px; width: auto; display: block; }
.mc-method__logo--cards img:first-child { height: 26px; }      /* Visa wordmark is wide */
.mc-method__logo--cards img:last-child  { height: 44px; }
.mc-method__mtn, .mc-method__airtel { display: inline-flex; align-items: center; gap: 10px; }
.mc-method__mtn { background: #FFCB05; border-radius: 12px; padding: 8px 16px 8px 12px; }
.mc-method__mtn img { height: 30px; }
.mc-method__mtn b { font-size: 20px; font-weight: 800; color: #0d0d0d; letter-spacing: -.01em; }
.mc-method__airtel img { height: 52px; }
.mc-method__airtel b { font-size: 20px; font-weight: 800; color: #E4002B; }
.mc-method__bank { width: 56px; height: 56px; border-radius: 16px; background: var(--mc-lime); color: var(--mc-teal); display: inline-flex; align-items: center; justify-content: center; }
.mc-method__bank svg { width: 32px; height: 32px; }
.mc-method h3 { margin-top: 14px; font-weight: 600; font-size: 17px; }
.mc-method p { margin-top: 6px; font-size: 14px; color: var(--mc-muted); }

/* ── Clients directory ─────────────────────────────────────── */
.mc-toolbar { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1024px) { .mc-toolbar { flex-direction: row; align-items: center; justify-content: space-between; } }
.mc-search { position: relative; width: 100%; max-width: 480px; }
.mc-search input {
  width: 100%; height: 52px; border-radius: 100px; border: 1px solid var(--mc-line); background: #fff;
  padding: 0 52px 0 22px; font-size: 16px; color: var(--mc-ink); outline: 0; transition: border-color .3s;
}
.mc-search input:focus { border-color: var(--mc-teal); }
.mc-search svg { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--mc-muted); }
.mc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mc-chip { padding: 9px 16px; border-radius: 100px; border: 1px solid var(--mc-line); background: #fff; color: var(--mc-ink2); font-size: 14px; font-weight: 500; cursor: pointer; transition: all .25s; }
.mc-chip:hover { border-color: var(--mc-teal); color: var(--mc-teal); }
.mc-chip.is-active { background: var(--mc-teal); border-color: var(--mc-teal); color: #fff; }
.mc-merchants { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }
@media (min-width: 640px) { .mc-merchants { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mc-merchants { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .mc-merchants { grid-template-columns: repeat(4, 1fr); } }
.mc-merchant.is-hidden { display: none; }
.mc-merchant__card { transition: transform .3s ease, box-shadow .3s ease; }
.mc-merchant__card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(17,74,67,.4); }
.mc-merchant__logo { height: 110px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--mc-line); border-radius: 16px; padding: 14px; }
.mc-merchant__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.mc-empty { display: none; padding: 48px 24px; text-align: center; border: 1px dashed var(--mc-line); border-radius: 20px; color: var(--mc-muted); margin-top: 36px; }
.mc-empty.is-visible { display: block; }
.mc-count { font-size: 14px; color: var(--mc-muted); }

/* ── Receipt lookup (payments page) ────────────────────────── */
.mc-lookup { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 1024px) { .mc-lookup { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }
.mc-form-field label { display: block; font-weight: 500; margin-bottom: 10px; }
.mc-form-field input, .mc-form-field select, .mc-form-field textarea {
  width: 100%; border: 1px solid var(--mc-line); background: #fff; border-radius: 100px; height: 48px; padding: 0 20px;
  font-size: 16px; color: var(--mc-ink); outline: 0; transition: border-color .3s;
}
.mc-form-field textarea { border-radius: 16px; height: auto; min-height: 140px; padding: 14px 20px; resize: vertical; }
.mc-form-field input:focus, .mc-form-field select:focus, .mc-form-field textarea:focus { border-color: var(--mc-teal); }
/* The template wraps every <select> in jquery.nice-select; match it to our inputs. */
.mc-form-field .nice-select { width: 100%; float: none; height: 48px; line-height: 46px; padding: 0 44px 0 20px; border-radius: 100px; border: 1px solid var(--mc-line); background: #fff; font-size: 16px; color: var(--mc-ink); }
.mc-form-field .nice-select:hover, .mc-form-field .nice-select.open { border-color: var(--mc-teal); }
/* The plugin's arrow is an IcoFont glyph the template never loads; draw a chevron instead. */
.mc-form-field .nice-select:after { content: ""; font-family: inherit; display: block; width: 9px; height: 9px; border-right: 2px solid var(--mc-teal); border-bottom: 2px solid var(--mc-teal); right: 22px; top: 50%; margin-top: -7px; transform: rotate(45deg); transition: transform .25s; }
.mc-form-field .nice-select.open:after { transform: rotate(-135deg); margin-top: -2px; }
/* Outline button on light backgrounds: the template's default text colour is white. */
.button-autline-dark { color: var(--mc-ink) !important; }
.button-autline-dark:hover { color: #fff !important; }
.mc-form-field .nice-select .list { width: 100%; border-radius: 16px; box-shadow: 0 16px 40px -20px rgba(17,74,67,.4); }
.mc-form-field .nice-select .option { line-height: 40px; min-height: 40px; }
.mc-form-field .nice-select .option.selected, .mc-form-field .nice-select .option:hover { background: rgba(209,222,111,.35); font-weight: 600; }
.mc-form-error { display: none; margin-top: 6px; font-size: 13px; color: #dc2626; }
.mc-form-field.has-error input { border-color: #dc2626; }
.mc-form-field.has-error .mc-form-error { display: block; }
.mc-receipt { display: none; border-radius: 24px; border: 1px solid var(--mc-line); background: #fff; overflow: hidden; }
.mc-receipt.is-visible { display: block; }
.mc-receipt__head { background: var(--mc-teal); color: #fff; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mc-receipt__head img { height: 28px; width: auto; }
.mc-receipt__status { padding: 6px 12px; border-radius: 100px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.mc-receipt__status--success { background: var(--mc-lime); color: var(--mc-teal); }
.mc-receipt__status--pending { background: #fde68a; color: #92400e; }
.mc-receipt__status--failed { background: #fecaca; color: #991b1b; }
.mc-receipt__body { padding: 8px 26px 22px; }
.mc-receipt__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--mc-line); font-size: 15px; }
.mc-receipt__row span:first-child { color: var(--mc-muted); }
.mc-receipt__row span:last-child { font-weight: 600; text-align: right; }
.mc-receipt__amount { padding: 18px 0 6px; font-size: 32px; font-weight: 800; color: var(--mc-teal); }
.mc-receipt__foot { padding: 0 26px 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.mc-alert { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 14px; font-size: 15px; }
.mc-alert.is-visible { display: block; }
.mc-alert--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.mc-alert--success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.mc-demo-hint { font-size: 13px; color: var(--mc-muted); margin-top: 8px; }
.mc-demo-hint code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(17,74,67,.08); padding: 2px 6px; border-radius: 6px; color: var(--mc-teal); cursor: pointer; }

/* ── Login cards ───────────────────────────────────────────── */
.mc-login-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .mc-login-grid { grid-template-columns: 1fr 1fr; } }
.mc-login-card { padding: 34px; border-radius: 24px; border: 1px solid var(--mc-line); background: var(--mc-soft); display: flex; flex-direction: column; gap: 16px; }
.mc-login-card--dark { background: var(--mc-teal); border-color: rgba(255,255,255,.12); }
.mc-login-card--dark h2, .mc-login-card--dark p, .mc-login-card--dark li { color: #fff; }
.mc-login-card--dark p, .mc-login-card--dark li { color: #CCCCCC; }
.mc-login-card h2 { font-size: 26px; font-weight: 700; line-height: 1.2; }
.mc-login-card .mc-check li { font-size: 15px; }
.mc-login-card .actions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.mc-login-card .actions a { justify-content: center; }

/* ── Print: receipt only ───────────────────────────────────── */
@media print {
  header, footer, .preloader-area, .mc-no-print, [data-hero-banner] { display: none !important; }
  body { padding-top: 0 !important; }
  .mc-receipt { display: block !important; border: 0; }
}

/* ── Misc ──────────────────────────────────────────────────── */
.mc-eyebrow-dark { color: var(--mc-lime); }
.mc-prose a { color: var(--mc-teal); text-decoration: underline; }
.mc-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
