/* OceanPrints — one stylesheet for the public site, auth pages and both dashboards.
   Loaded after Bootstrap 5.3, so these rules refine (not replace) it. */

:root {
  --op-1: #4458e6;
  --op-2: #4b1f9e;
  --op-grad: linear-gradient(135deg, #4458e6 0%, #4b1f9e 100%);
  --op-grad-soft: linear-gradient(135deg, #eef0ff 0%, #f6efff 100%);
  --op-ink: #1f2433;
  --op-muted: #667085;
  --op-bg: #f4f6fb;
  --op-card: #fff;
  --op-line: #e4e8f1;
  --op-ok: #0f9d58;
  --op-ok-bg: #e7f6ee;
  --op-warn: #b45309;
  --op-warn-bg: #fff3dc;
  --op-bad: #c62828;
  --op-bad-bg: #fdecec;
  --op-info: #1d4ed8;
  --op-info-bg: #e8efff;
  --op-radius: 12px;
  --op-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 18px rgba(16, 24, 40, .06);

  --bs-body-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bs-body-color: var(--op-ink);
  --bs-body-bg: var(--op-bg);
  --bs-border-color: var(--op-line);
  --bs-link-color: var(--op-1);
  --bs-link-hover-color: var(--op-2);
}

html { scroll-behavior: smooth; }
body { font-size: 14px; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
.req { color: #d92d20; margin-left: 2px; }
.text-balance { color: #1a6af5; }
.fw-800 { font-weight: 800; }
.nowrap { white-space: nowrap; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; }

/* ------------------------------------------------------------------ brand */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: .2px; color: inherit; }
.brand:hover { color: inherit; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--op-grad); color: #fff;
  display: grid; place-items: center; font-size: 16px; box-shadow: 0 4px 10px rgba(75, 31, 158, .35); flex: none;
}
.brand b { color: #7dd3fc; font-weight: 800; }

/* ------------------------------------------------------------- buttons */
.btn { border-radius: 9px; font-weight: 600; }
.btn-op {
  background: var(--op-grad); color: #fff; border: 0; padding: .6rem 1.1rem; font-weight: 700;
  box-shadow: 0 6px 14px rgba(75, 31, 158, .25); transition: filter .15s, transform .15s, box-shadow .15s;
}
.btn-op:hover, .btn-op:focus { color: #fff; filter: brightness(1.08); box-shadow: 0 8px 18px rgba(75, 31, 158, .32); }
.btn-op:active { transform: translateY(1px); }
.btn-op:disabled, .btn-op.disabled { background: #b8bfd6; box-shadow: none; filter: none; cursor: not-allowed; color: #fff; opacity: 1; }
.btn-op-outline { border: 1.5px solid var(--op-1); color: var(--op-1); background: #fff; padding: .55rem 1.05rem; }
.btn-op-outline:hover { background: var(--op-1); color: #fff; }
.btn-soft { background: #eef0ff; color: var(--op-1); border: 0; }
.btn-soft:hover { background: #dfe3ff; color: var(--op-2); }
.btn-sm { padding: .3rem .65rem; font-size: 12.5px; }

/* --------------------------------------------------------------- forms */
.form-label { font-weight: 600; font-size: 13px; color: #1f2433; margin-bottom: .35rem; }
.form-control, .form-select {
  border-radius: 9px; border: 1px solid #d9dee9; padding: .55rem .8rem; font-size: 14px; color: var(--op-ink); background-color: #fff;
}
.form-control::placeholder { color: #8a93a6; }
.form-control:focus, .form-select:focus { border-color: var(--op-1); box-shadow: 0 0 0 .2rem rgba(68, 88, 230, .15); }
.form-text { font-size: 12px; }
.input-affix { position: relative; }
.input-affix .affix { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--op-muted); }
.input-affix .form-control { padding-left: 30px; }
.pw-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent;
  color: var(--op-muted); padding: 6px 10px; border-radius: 8px;
}
.pw-toggle:hover { color: var(--op-1); background: #f0f2fb; }
.pw-wrap { position: relative; }
.pw-wrap .form-control { padding-right: 44px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--op-line); background: #fff; border-radius: 999px; padding: .28rem .85rem; font-weight: 600; font-size: 13px; color: var(--op-ink); }
.chip:hover { border-color: var(--op-1); color: var(--op-1); background: #f3f5ff; }

/* ------------------------------------------------------------ app shell */
.app-sidebar {
  position: fixed; inset: 0 auto 0 0; width: 256px; z-index: 1040; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #151846 0%, #231a66 55%, #2e1a7d 100%); color: #cfd3f5;
  transition: transform .25s ease; overflow: hidden;
}
/* the menu scrolls on short screens; the user + logout block below it never leaves the screen */
.sb-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.sb-brand { padding: 16px 20px 8px; color: #fff; }
.sb-brand .brand { font-size: 18px; }
.sb-section { padding: 12px 24px 4px; font-size: 10.5px; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255, 255, 255, .42); font-weight: 700; }
.sb-link {
  display: flex; align-items: center; gap: 12px; padding: 8px 14px; margin: 1px 12px; border-radius: 10px;
  color: rgba(255, 255, 255, .78); font-weight: 500; position: relative;
}
.sb-link i { width: 18px; text-align: center; font-size: 15px; opacity: .92; }
.sb-link:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.sb-link.active { background: rgba(255, 255, 255, .17); color: #fff; box-shadow: inset 3px 0 0 #8fd3ff; font-weight: 600; }
.sb-link.sub { padding: 7px 14px 7px 44px; font-size: 13px; margin-top: 0; }
.sb-link.sub i { display: none; }
/* collapsible "All Applications" group */
.sb-toggle { width: calc(100% - 24px); background: none; border: 0; text-align: left; cursor: pointer; }
.sb-toggle.open, .sb-toggle[aria-expanded="true"] { background: rgba(255, 255, 255, .09); color: #fff; }
.sb-toggle .sb-caret { width: auto; margin-left: auto; font-size: 11px; opacity: .7; transition: transform .2s ease; }
.sb-toggle .sb-badge + .sb-caret { margin-left: 8px; }
.sb-toggle[aria-expanded="true"] .sb-caret { transform: rotate(180deg); }
.sb-sub { position: relative; margin: 2px 0 6px; }
.sb-sub::before { content: ""; position: absolute; left: 35px; top: 4px; bottom: 4px; width: 1px; background: rgba(255, 255, 255, .16); }
.sb-sub .sb-link.sub { padding-left: 30px; margin-left: 24px; gap: 10px; }
.sb-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, .08); }
.dot-all { background: #8fd3ff; } .dot-pending { background: #f59e0b; } .dot-success { background: #22c55e; } .dot-rejected { background: #ef4444; }
.sb-badge { margin-left: auto; background: #f59e0b; color: #1f2433; border-radius: 20px; padding: 1px 8px; font-size: 11px; font-weight: 800; }
.sb-foot { flex: none; padding: 14px 16px 18px; border-top: 1px solid rgba(255, 255, 255, .1); }
.sb-user { display: flex; align-items: center; gap: 10px; color: #fff; }
.sb-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: grid; place-items: center;
  font-weight: 800; font-size: 13px; flex: none;
}
.sb-user small { display: block; color: rgba(255, 255, 255, .55); font-size: 11.5px; line-height: 1.2; }
.sb-user strong { font-size: 13px; line-height: 1.2; display: block; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-backdrop { display: none; }

.app-main { margin-left: 256px; min-height: 100vh; display: flex; flex-direction: column; }
.app-topbar {
  height: 62px; background: #fff; border-bottom: 1px solid var(--op-line); display: flex; align-items: center; gap: 12px;
  padding: 0 22px; position: sticky; top: 0; z-index: 1030;
}
.tb-toggle { display: none; border: 0; background: #f1f3fb; width: 38px; height: 38px; border-radius: 10px; color: var(--op-ink); }
.tb-title { font-size: 17px; font-weight: 800; margin: 0; letter-spacing: .1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tb-spacer { flex: 1; }
.tb-wallet {
  display: inline-flex; align-items: center; gap: 8px; background: #eef0ff; color: var(--op-2); border-radius: 999px;
  padding: 6px 14px; font-weight: 800; font-size: 13.5px;
}
.tb-wallet:hover { background: #dfe3ff; color: var(--op-2); }
.tb-user { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; font-weight: 600; color: var(--op-ink); }
.tb-user .sb-avatar { background: var(--op-grad); color: #fff; width: 34px; height: 34px; }
.app-content { padding: 22px; flex: 1; }
.app-foot { padding: 14px 22px 22px; color: var(--op-muted); font-size: 12px; }

@media (max-width: 991.98px) {
  .app-sidebar { transform: translateX(-102%); box-shadow: 0 0 40px rgba(0, 0, 0, .35); }
  body.sidebar-open .app-sidebar { transform: none; }
  body.sidebar-open .sidebar-backdrop { display: block; position: fixed; inset: 0; background: rgba(15, 20, 50, .5); z-index: 1035; }
  .app-main { margin-left: 0; }
  .tb-toggle { display: inline-grid; place-items: center; }
  .app-content { padding: 16px 14px; }
  .app-topbar { padding: 0 14px; }
  .tb-user span.name { display: none; }
}

/* ---------------------------------------------------------------- cards */
.op-card { background: var(--op-card); border-radius: var(--op-radius); box-shadow: var(--op-shadow); overflow: hidden; border: 1px solid rgba(228, 232, 241, .6); }
.op-card-head {
  background: var(--op-grad); color: #fff; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.op-card-title { font-size: 15px; font-weight: 800; margin: 0; letter-spacing: .3px; text-transform: uppercase; display: flex; align-items: center; gap: 8px; line-height: 1.25; }
.head-pill {
  background: rgba(255, 255, 255, .2); border-radius: 8px; padding: 4px 9px; font-size: 10.5px; font-weight: 700; line-height: 1.25;
  max-width: 120px; text-align: center; display: inline-flex; gap: 5px; align-items: flex-start;
}
.head-pill i { font-size: 6px; margin-top: 4px; }
.op-card-body { padding: 18px; }
.op-card-plain-head { padding: 14px 18px; border-bottom: 1px solid var(--op-line); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.op-card-plain-head h2 { font-size: 15px; font-weight: 800; margin: 0; }
.op-card-foot { padding: 12px 18px; border-top: 1px solid var(--op-line); background: #fafbfe; }

.summary-box { background: #f5f7ff; border: 1px solid #e0e5f7; border-radius: 10px; padding: 13px 14px; }
.summary-title { font-weight: 800; font-size: 13px; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.summary-row { display: flex; justify-content: space-between; font-size: 12.5px; color: #4b5563; padding: 3px 0; }
.summary-row strong { color: #111827; font-size: 13px; }
.summary-row strong.text-balance { color: #1a6af5; }
.summary-note { text-align: center; font-size: 12px; margin-top: 8px; font-weight: 600; }
.summary-note.ok { color: var(--op-ok); }
.summary-note.bad { color: var(--op-bad); }

.empty-state { padding: 38px 20px 46px; text-align: center; color: #4b5563; }
.empty-state i { font-size: 34px; color: #4b5563; margin-bottom: 10px; display: block; }
.empty-state p { margin: 0; font-size: 12.5px; }

/* ----------------------------------------------------------- stat boxes */
.stat-box {
  display: block; border-radius: var(--op-radius); padding: 20px 22px; color: #fff; position: relative; overflow: hidden;
  box-shadow: var(--op-shadow); transition: transform .15s ease, box-shadow .15s ease; height: 100%;
}
a.stat-box:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 10px 26px rgba(16, 24, 40, .18); }
.stat-box .stat-label { font-size: 12.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; opacity: .92; }
.stat-box .stat-num { font-size: 38px; font-weight: 800; line-height: 1.1; margin: 6px 0 4px; }
.stat-box .stat-hint { font-size: 12px; opacity: .9; }
.stat-box .stat-ico { position: absolute; right: 16px; top: 14px; font-size: 44px; opacity: .22; }
.stat-pending { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.stat-success { background: linear-gradient(135deg, #22b573 0%, #0f8a4f 100%); }
.stat-rejected { background: linear-gradient(135deg, #ef5350 0%, #b71c1c 100%); }
.stat-brand { background: var(--op-grad); }

.mini-stat { background: #fff; border-radius: var(--op-radius); box-shadow: var(--op-shadow); padding: 14px 16px; display: flex; align-items: center; gap: 14px; height: 100%; border: 1px solid rgba(228, 232, 241, .6); }
.mini-stat .ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-size: 17px; flex: none; }
.mini-stat > div:last-child { min-width: 0; }
.mini-stat .num { font-size: 19px; font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; }
.mini-stat .lbl { font-size: 12px; color: var(--op-muted); }
.ico-blue { background: #e8efff; color: #1d4ed8; }
.ico-green { background: #e7f6ee; color: #0f9d58; }
.ico-amber { background: #fff3dc; color: #b45309; }
.ico-violet { background: #f1e8ff; color: #6d28d9; }

.wallet-card { background: var(--op-grad); color: #fff; border-radius: var(--op-radius); padding: 22px; box-shadow: 0 12px 28px rgba(75, 31, 158, .28); position: relative; overflow: hidden; height: 100%; }
.wallet-card::after { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -60px; top: -80px; background: rgba(255, 255, 255, .1); }
.wallet-card .lbl { font-size: 12px; letter-spacing: .8px; text-transform: uppercase; opacity: .85; font-weight: 700; }
.wallet-card .amt { font-size: 34px; font-weight: 800; margin: 4px 0 14px; }
.wallet-card .btn { position: relative; z-index: 1; }
.btn-light-op { background: #fff; color: var(--op-2); font-weight: 700; border: 0; }
.btn-light-op:hover { background: #eef0ff; color: var(--op-2); }
.btn-ghost-op { background: rgba(255, 255, 255, .16); color: #fff; border: 0; }
.btn-ghost-op:hover { background: rgba(255, 255, 255, .26); color: #fff; }

.service-card { display: flex; gap: 16px; align-items: center; padding: 20px; flex-wrap: wrap; }
.service-ico { width: 58px; height: 58px; border-radius: 16px; background: var(--op-grad); color: #fff; display: grid; place-items: center; font-size: 24px; flex: none; box-shadow: 0 8px 18px rgba(75, 31, 158, .28); }
.service-card h3 { font-size: 17px; font-weight: 800; margin: 0 0 2px; }
.service-card p { margin: 0; color: var(--op-muted); font-size: 13px; }
.service-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.meta-pill { background: #f1f3fb; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; color: #3f4660; }

/* ------------------------------------------------------- status & tables */
.st-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.st-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-pending { background: var(--op-warn-bg); color: var(--op-warn); }
.st-success { background: var(--op-ok-bg); color: var(--op-ok); }
.st-rejected, .st-failed, .st-mismatch { background: var(--op-bad-bg); color: var(--op-bad); }
.st-expired, .st-blocked { background: #eceff5; color: #4b5563; }
.st-active { background: var(--op-ok-bg); color: var(--op-ok); }
.st-credit { background: var(--op-ok-bg); color: var(--op-ok); }
.st-debit { background: var(--op-bad-bg); color: var(--op-bad); }

.op-table { width: 100%; margin: 0; font-size: 13px; }
.op-table thead th {
  background: #f7f8fc; color: #667085; font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  padding: 10px 14px; border-bottom: 1px solid var(--op-line); white-space: nowrap;
}
.op-table tbody td { padding: 11px 14px; border-bottom: 1px solid #eef0f6; vertical-align: middle; }
.op-table tbody tr:last-child td { border-bottom: 0; }
.op-table tbody tr:hover td { background: #fafbff; }
.cell-sub { display: block; font-size: 11.5px; color: var(--op-muted); line-height: 1.3; }
.amt-credit { color: var(--op-ok); font-weight: 800; }
.amt-debit { color: var(--op-bad); font-weight: 800; }

.tab-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tab-link { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--op-line); color: #3f4660; font-weight: 600; font-size: 13px; display: inline-flex; gap: 8px; align-items: center; }
.tab-link:hover { border-color: var(--op-1); color: var(--op-1); }
.tab-link.active { background: var(--op-grad); border-color: transparent; color: #fff; }
.tab-link .cnt { background: rgba(0, 0, 0, .08); border-radius: 20px; padding: 0 8px; font-size: 11.5px; }
.tab-link.active .cnt { background: rgba(255, 255, 255, .25); }

.kv { display: grid; grid-template-columns: 150px 1fr; gap: 10px 14px; font-size: 13.5px; margin: 0; }
.kv dt { color: var(--op-muted); font-weight: 600; }
.kv dd { margin: 0; font-weight: 600; word-break: break-word; }
@media (max-width: 575.98px) { .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 8px; } }

.result-box { border: 1px dashed #c9cfe3; border-radius: 12px; padding: 14px; background: #fafbff; text-align: center; }
.result-box img { max-width: 100%; max-height: 420px; border-radius: 8px; box-shadow: var(--op-shadow); }

.notice-bar { background: var(--op-info-bg); border: 1px solid #cbd8ff; color: #1e3a8a; border-radius: 10px; padding: 10px 14px; font-size: 13px; display: flex; gap: 10px; align-items: flex-start; }
.alert { border-radius: 10px; font-size: 13.5px; }
.alert-weak { background: #fff3dc; border: 1px solid #f5d089; color: #7a4a05; }
.wk-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.wk-icon { flex: none; }
.wk-text { flex: 1 1 280px; min-width: 0; }
.wk-btn { flex: none; }

/* ----------------------------------------------------------- public site */
.pub-nav { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--op-line); }
.pub-nav .navbar { padding: 10px 0; }
.pub-nav .nav-link { font-weight: 600; color: #3f4660; padding: .5rem .9rem; }
.pub-nav .nav-link:hover { color: var(--op-1); }
.pub-nav .brand { color: var(--op-ink); }
.pub-nav .brand b { color: var(--op-1); }

.hero {
  position: relative; color: #fff; padding: 70px 0 110px; overflow: hidden;
  background: radial-gradient(1000px 500px at 85% -10%, rgba(125, 211, 252, .28), transparent 60%),
              linear-gradient(135deg, #0f1b4d 0%, #251a73 52%, #4b1f9e 100%);
}
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero::before { width: 420px; height: 420px; left: -140px; bottom: -200px; background: rgba(125, 211, 252, .12); }
.hero::after { width: 300px; height: 300px; right: 8%; top: -140px; background: rgba(255, 255, 255, .06); }
.hero-eyebrow { display: inline-flex; gap: 8px; align-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 6px 14px; font-size: 12.5px; font-weight: 600; margin-bottom: 18px; }
.hero h1 { font-size: clamp(30px, 4.6vw, 50px); font-weight: 800; line-height: 1.12; letter-spacing: -.5px; margin: 0 0 16px; }
.hero h1 span { color: #7dd3fc; }
.hero p.lead { font-size: 17px; color: rgba(255, 255, 255, .82); max-width: 560px; margin-bottom: 26px; line-height: 1.6; }
.hero .btn-op { background: #fff; color: var(--op-2); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.hero .btn-op:hover { color: var(--op-2); filter: none; background: #eef0ff; }
.hero .btn-hero-outline { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; background: transparent; padding: .6rem 1.3rem; }
.hero .btn-hero-outline:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; color: rgba(255, 255, 255, .8); font-size: 13px; font-weight: 500; }
.hero-chips i { color: #7dd3fc; margin-right: 6px; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.hero-wave svg { width: 100%; height: 70px; display: block; }

.mock-card { background: #fff; color: var(--op-ink); border-radius: 16px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); overflow: hidden; max-width: 380px; margin-left: auto; position: relative; }
.mock-card .op-card-body { padding: 16px; }
.mock-field { height: 36px; border: 1px solid #d9dee9; border-radius: 9px; padding: 0 12px; display: flex; align-items: center; color: #8a93a6; font-size: 13px; margin-bottom: 12px; }
.mock-label { font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.mock-float { position: absolute; right: -10px; bottom: -16px; background: #fff; color: var(--op-ok); font-weight: 700; font-size: 12.5px; padding: 9px 14px; border-radius: 12px; box-shadow: 0 12px 28px rgba(0, 0, 0, .25); display: flex; gap: 8px; align-items: center; }
.hero-mock-wrap { position: relative; padding: 0 10px 20px; }

.section { padding: 72px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--op-line); border-bottom: 1px solid var(--op-line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head .eyebrow { color: var(--op-1); font-weight: 800; font-size: 12.5px; letter-spacing: 1.4px; text-transform: uppercase; }
.section-head h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; letter-spacing: -.3px; margin: 6px 0 10px; }
.section-head p { color: var(--op-muted); font-size: 15.5px; margin: 0; }

.step-card { background: #fff; border: 1px solid var(--op-line); border-radius: 16px; padding: 22px; height: 100%; position: relative; box-shadow: var(--op-shadow); }
.step-no { position: absolute; top: 16px; right: 18px; font-size: 38px; font-weight: 800; color: #eef0fb; line-height: 1; }
.step-ico { width: 46px; height: 46px; border-radius: 13px; background: var(--op-grad-soft); color: var(--op-2); display: grid; place-items: center; font-size: 19px; margin-bottom: 14px; }
.step-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.step-card p { color: var(--op-muted); margin: 0; font-size: 13.5px; line-height: 1.55; }

.feature { display: flex; gap: 14px; padding: 20px; border-radius: 14px; border: 1px solid var(--op-line); background: #fff; height: 100%; }
.feature .step-ico { margin: 0; flex: none; }
.feature h3 { font-size: 15px; font-weight: 800; margin: 0 0 4px; }
.feature p { margin: 0; color: var(--op-muted); font-size: 13.5px; line-height: 1.5; }

.price-card { max-width: 440px; margin: 0 auto; background: #fff; border-radius: 20px; box-shadow: 0 20px 50px rgba(75, 31, 158, .16); overflow: hidden; border: 1px solid #e6e9f7; }
.price-top { background: var(--op-grad); color: #fff; padding: 26px; text-align: center; }
.price-top .p-amt { font-size: 48px; font-weight: 800; line-height: 1; }
.price-top .p-per { opacity: .85; font-size: 14px; margin-top: 4px; }
.price-body { padding: 24px 26px 28px; }
.price-body ul { list-style: none; padding: 0; margin: 0 0 22px; }
.price-body li { padding: 7px 0; display: flex; gap: 10px; font-size: 14px; }
.price-body li i { color: var(--op-ok); margin-top: 3px; }

.accordion-item { border: 1px solid var(--op-line) !important; border-radius: 12px !important; margin-bottom: 10px; overflow: hidden; }
.accordion-button { font-weight: 700; font-size: 15px; }
.accordion-button:not(.collapsed) { background: #f3f5ff; color: var(--op-2); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(68, 88, 230, .15); }

.cta-band { background: var(--op-grad); color: #fff; border-radius: 22px; padding: 44px 28px; text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: rgba(255, 255, 255, .08); right: -60px; top: -110px; }
.cta-band h2 { font-weight: 800; font-size: clamp(22px, 3vw, 30px); margin-bottom: 8px; }
.cta-band p { opacity: .85; margin-bottom: 20px; }
.cta-band .btn { position: relative; z-index: 1; }

.pub-footer { background: #0f1538; color: rgba(255, 255, 255, .7); padding: 44px 0 26px; font-size: 13.5px; }
.pub-footer a { color: rgba(255, 255, 255, .75); }
.pub-footer a:hover { color: #fff; }
.pub-footer h4 { color: #fff; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.pub-footer ul { list-style: none; padding: 0; margin: 0; }
.pub-footer li { margin-bottom: 7px; }
.pub-footer .brand { color: #fff; }
.pub-footer hr { border-color: rgba(255, 255, 255, .12); margin: 24px 0 16px; }

/* ----------------------------------------------------------- auth pages */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.auth-brand {
  position: relative; color: #fff; padding: 44px 48px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  background: radial-gradient(700px 400px at 90% 0%, rgba(125, 211, 252, .25), transparent 60%), linear-gradient(150deg, #0f1b4d 0%, #251a73 55%, #4b1f9e 100%);
}
.auth-brand::after { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(125, 211, 252, .1); left: -120px; bottom: -160px; }
.auth-brand .brand { color: #fff; position: relative; z-index: 1; }
.auth-brand h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.2; margin: 0 0 12px; letter-spacing: -.3px; }
.auth-brand p { color: rgba(255, 255, 255, .8); max-width: 420px; }
.auth-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.auth-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: rgba(255, 255, 255, .88); }
.auth-points i { width: 28px; height: 28px; border-radius: 8px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; color: #7dd3fc; font-size: 13px; flex: none; }
.auth-brand .copy { font-size: 12px; color: rgba(255, 255, 255, .55); position: relative; z-index: 1; }
.auth-brand .mid { position: relative; z-index: 1; }
.auth-form-side { display: flex; align-items: center; justify-content: center; padding: 36px 22px; background: var(--op-bg); }
.auth-card { width: 100%; max-width: 480px; background: #fff; border-radius: 18px; box-shadow: 0 18px 44px rgba(31, 36, 51, .1); padding: 32px 30px; border: 1px solid var(--op-line); }
.auth-card h2 { font-size: 24px; font-weight: 800; margin: 0 0 4px; }
.auth-card .sub { color: var(--op-muted); margin-bottom: 22px; font-size: 14px; }
.auth-top-link { position: absolute; right: 22px; top: 18px; font-size: 13px; font-weight: 600; }
.auth-form-side { position: relative; }
.auth-mobile-brand { display: none; }
@media (max-width: 991.98px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-mobile-brand { display: block; text-align: center; margin-bottom: 18px; }
  .auth-card { padding: 26px 20px; }
}

/* ------------------------------------------------------------ error pages */
.err-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--op-bg); text-align: center; }
.err-card { max-width: 460px; background: #fff; border-radius: 18px; padding: 38px 30px; box-shadow: 0 18px 44px rgba(31, 36, 51, .1); border: 1px solid var(--op-line); }
.err-code { font-size: 64px; font-weight: 800; background: var(--op-grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }

@media (max-width: 575.98px) {
  .hero { padding: 46px 0 90px; }
  .section { padding: 52px 0; }
  .stat-box .stat-num { font-size: 32px; }
  .tb-title { font-size: 15px; }
  .mini-stat { padding: 12px; gap: 10px; }
  .mini-stat .ico { width: 36px; height: 36px; font-size: 15px; }
  .mini-stat .num { font-size: 16px; }

  /* Tables turn into one card per row on phones (labels come from the <th>, filled in by app.js). */
  .op-table.stackable thead { display: none; }
  .op-table.stackable, .op-table.stackable tbody, .op-table.stackable tr, .op-table.stackable td { display: block; width: 100%; }
  .op-table.stackable tr { padding: 10px 14px; border-bottom: 1px solid var(--op-line); }
  .op-table.stackable tbody tr:last-child { border-bottom: 0; }
  .op-table.stackable td { border: 0; padding: 5px 0; display: block; text-align: left; }
  .op-table.stackable td::before {
    content: attr(data-label); display: block; font-weight: 700; font-size: 10.5px; letter-spacing: .6px;
    text-transform: uppercase; color: var(--op-muted); margin-bottom: 2px;
  }
  .op-table.stackable td[data-label="#"] { font-weight: 800; color: var(--op-muted); padding-bottom: 0; }
  .op-table.stackable td[data-label="#"]::before { display: none; }
  .op-table.stackable td:not([data-label])::before { display: none; }
  .op-table.stackable td:not([data-label]) { text-align: right; padding-top: 8px; }
  .op-table.stackable tbody tr:hover td { background: transparent; }
  .op-table.stackable td.nowrap, .op-table.stackable td .nowrap { white-space: normal; }
  .op-table.stackable td.text-end { text-align: left !important; }
  .op-table.stackable td:not([data-label]).text-end { text-align: right !important; }
}

/* ------------------------------------------------- page-purpose header colours */
.head-teal { background: linear-gradient(135deg, #0e7490 0%, #0891b2 55%, #2563eb 100%); }     /* API / integrations */
.head-green { background: linear-gradient(135deg, #0f9d58 0%, #0b7a47 100%); }                 /* money / payment */
.head-violet { background: linear-gradient(135deg, #6d28d9 0%, #4b1f9e 100%); }                /* content / site */
.pdf-frame { width: 100%; height: 520px; border: 0; border-radius: 10px; background: #f4f6fb; box-shadow: var(--op-shadow); }
.auto-pill { display: inline-flex; align-items: center; gap: 4px; background: #e0f2fe; color: #0369a1; border-radius: 999px; padding: 1px 8px; font-size: 11px; font-weight: 700; margin-left: 6px; white-space: nowrap; }
.preview-hero { position: relative; color: #fff; border-radius: 14px; padding: 22px; overflow: hidden; background: linear-gradient(135deg, #0f1b4d 0%, #251a73 52%, #4b1f9e 100%); }
.preview-hero .pv-title { font-size: 22px; font-weight: 800; line-height: 1.2; margin: 0 0 10px; }
.preview-hero .pv-accent { color: #7dd3fc; }
.preview-hero .pv-text { color: rgba(255, 255, 255, .82); font-size: 13px; margin: 0; line-height: 1.55; }
.preview-hero .hero-chips { margin-top: 14px; font-size: 12px; gap: 6px 14px; }
@media (max-width: 575.98px) { .pdf-frame { height: 380px; } }

/* ------------------------------------------------- retailer dashboard: service icon tiles */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 4px 18px 18px; }
.svc-tile {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 20px 10px 16px; border-radius: 16px; background: #fff; border: 1px solid #e6e9f5;
  color: #1f2433; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.svc-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(40, 52, 140, .13); border-color: #c9d0ff; color: #1f2433; }
.svc-main { background: linear-gradient(160deg, #f3f5ff 0%, #ffffff 70%); border-color: #c9d0ff; }
.svc-ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 25px; color: #fff; margin-bottom: 4px; }
.ico-blue { background: linear-gradient(135deg, #4458e6, #4b1f9e); box-shadow: 0 8px 18px rgba(68, 88, 230, .35); }
.ico-amber { background: linear-gradient(135deg, #f59e0b, #ea580c); box-shadow: 0 8px 18px rgba(245, 158, 11, .32); }
.ico-green { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 8px 18px rgba(16, 185, 129, .32); }
.ico-violet { background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 8px 18px rgba(139, 92, 246, .32); }
.svc-name { font-weight: 800; font-size: 14.5px; line-height: 1.2; }
.svc-sub { font-size: 12px; color: #6b7290; }
.svc-tag { position: absolute; top: 9px; right: 9px; background: #eef0ff; color: var(--op-1); font-size: 11px; font-weight: 800; border-radius: 20px; padding: 2px 8px; }
@media (max-width: 767.98px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 4px 12px 14px; } .svc-main { padding-top: 30px; } .svc-tag { top: 7px; right: 7px; font-size: 10.5px; } .svc-ico { width: 50px; height: 50px; font-size: 21px; } }
