/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* ============================================================================
   Bonifide design system — clean, modern, trustworthy fintech aesthetic.
   ========================================================================== */
:root {
  --bg: #f5f6fa;
  --panel: #ffffff;
  --ink: #0f1729;
  --ink-soft: #334155;
  --muted: #6b7280;
  --line: #e9ebf1;
  --line-soft: #f1f2f7;

  --brand: #4f46e5;
  --brand-2: #6366f1;
  --brand-dark: #4338ca;
  --brand-tint: #eef0ff;

  --ok: #047857; --ok-bg: #ecfdf5; --ok-line: #a7f3d0;
  --warn: #b45309; --warn-bg: #fffbeb; --warn-line: #fde68a;
  --danger: #be123c; --danger-bg: #fff1f2; --danger-line: #fecdd3;
  --info: #1e40af; --info-bg: #eff6ff; --info-line: #bfdbfe;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 23, 41, .04), 0 1px 3px rgba(16, 23, 41, .06);
  --shadow: 0 4px 14px rgba(16, 23, 41, .06), 0 1px 3px rgba(16, 23, 41, .05);
  --shadow-lg: 0 24px 60px rgba(16, 23, 41, .28);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1 { letter-spacing: -.02em; }

/* ---- Brand mark ---- */
.brand { font-weight: 800; letter-spacing: .14em; font-size: 16px; display: inline-flex; align-items: center; gap: 10px; }
.brand .dot { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--brand-2), var(--brand-dark)); box-shadow: 0 4px 10px rgba(79, 70, 229, .4); }

/* ---- Auth screen ---- */
.auth-wrap {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background:
    radial-gradient(1100px 600px at 12% -10%, rgba(99,102,241,.35), transparent 55%),
    radial-gradient(900px 500px at 110% 110%, rgba(45,212,191,.18), transparent 50%),
    linear-gradient(160deg, #0b1024 0%, #131a36 60%, #0b1024 100%);
}
.auth-card {
  background: rgba(255,255,255,.98); border-radius: 20px; padding: 36px; width: 100%; max-width: 440px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.4);
}
.auth-card .brand { color: var(--ink); font-size: 18px; }

/* ---- Form controls ---- */
label { display: block; font-size: 13px; font-weight: 600; margin: 18px 0 7px; color: var(--ink-soft); }
input, select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: #9aa3b2; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
textarea { resize: vertical; }

button.primary {
  margin-top: 22px; width: 100%; padding: 12px; background: linear-gradient(180deg, var(--brand-2), var(--brand-dark));
  color: #fff; font-size: 15px; font-weight: 700; border: none; border-radius: var(--radius-sm); cursor: pointer;
  box-shadow: 0 6px 16px rgba(79,70,229,.32); transition: transform .06s, box-shadow .15s, opacity .15s;
}
button.primary:hover { box-shadow: 0 10px 22px rgba(79,70,229,.42); }
button.primary:active { transform: translateY(1px); }
button.primary:disabled { opacity: .6; cursor: not-allowed; box-shadow: none; }

.alert { margin-top: 16px; padding: 11px 14px; border-radius: var(--radius-sm); font-size: 14px; line-height: 1.45; }
.alert.error { background: var(--danger-bg); color: var(--danger); border: 1px solid var(--danger-line); }
.alert.ok { background: var(--ok-bg); color: var(--ok); border: 1px solid var(--ok-line); }

.demo-logins { margin-top: 22px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.demo-logins code { background: var(--line-soft); padding: 1px 6px; border-radius: 5px; font-size: 12px; }
.demo-logins .linkbtn {
  display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 9px; margin-top: 6px;
  background: #fafbff; border: 1px solid var(--line); color: var(--ink-soft); font-weight: 600; cursor: pointer; font-size: 13px; transition: all .12s;
}
.demo-logins .linkbtn:hover { background: var(--brand-tint); border-color: #c7ccff; color: var(--brand-dark); }

/* ---- App shell ---- */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.side {
  background: linear-gradient(180deg, #131a36 0%, #0d1226 100%); color: #aeb6cc; padding: 22px 14px;
  position: -webkit-sticky;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.side .brand { color: #fff; margin: 0 8px 26px; }
.side nav { display: flex; flex-direction: column; gap: 3px; }
.side nav a { color: #aeb6cc; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 10px; transition: all .12s; }
.side nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.side nav a.active { background: linear-gradient(180deg, var(--brand-2), var(--brand-dark)); color: #fff; box-shadow: 0 6px 14px rgba(79,70,229,.35); }
.side .role { font-size: 11px; color: #5f6b8a; margin: 24px 12px 8px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.side .who-mini { padding: 0 12px; font-size: 13px; color: #cdd3e6; }

.main { padding: 28px 34px 60px; max-width: 1280px; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 16px; }
.topbar h1 { margin: 0; font-size: 23px; font-weight: 750; }
.who { font-size: 13px; color: var(--muted); }
.linkbtn { background: none; border: none; color: var(--brand); font-weight: 600; cursor: pointer; font-size: 13px; padding: 0; }
.linkbtn:hover { color: var(--brand-dark); }

/* ---- Stat cards ---- */
.grid { display: grid; grid-gap: 16px; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); transition: box-shadow .15s, transform .1s; }
.stat:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.stat .n { font-size: 27px; font-weight: 800; letter-spacing: -.02em; }
.stat .l { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---- Panels ---- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 20px; overflow: hidden; box-shadow: var(--shadow-sm); }
.panel h2 { font-size: 14px; font-weight: 700; margin: 0; padding: 15px 18px; border-bottom: 1px solid var(--line); background: #fbfbfe; display: flex; align-items: center; }
.panel .body { padding: 18px; }

/* ---- Tables ---- */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--line-soft); }
th { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); background: #fbfbfe; font-weight: 700; }
tbody tr { transition: background .1s; }
tbody tr:hover { background: #fafbff; }
tr:last-child td { border-bottom: none; }
.right { text-align: right; }
.muted { color: var(--muted); }

/* ---- Chips / pills ---- */
.chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--line-soft); color: var(--ink-soft); border: 1px solid var(--line); }
.chip.ok { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line); }
.chip.warn { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-line); }
.chip.est { background: var(--info-bg); color: var(--info); border-color: var(--info-line); }

/* ---- Buttons / actions ---- */
.btn { display: inline-block; padding: 10px 16px; border-radius: var(--radius-sm); background: linear-gradient(180deg, var(--brand-2), var(--brand-dark)); color: #fff !important; font-weight: 600; font-size: 14px; border: none; cursor: pointer; box-shadow: 0 4px 12px rgba(79,70,229,.28); transition: box-shadow .15s, transform .06s; }
.btn:hover { box-shadow: 0 8px 18px rgba(79,70,229,.4); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: #fff; color: var(--brand-dark) !important; border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { background: var(--brand-tint); border-color: #c7ccff; }
.btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }

.empty { padding: 36px; text-align: center; color: var(--muted); font-size: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 18px; gap: 18px; margin-top: 20px; }
.help { font-size: 13px; color: var(--muted); margin: 4px 0 0; line-height: 1.5; }
.banner { background: linear-gradient(180deg, #f5f7ff, var(--info-bg)); border: 1px solid var(--info-line); color: var(--info); padding: 13px 16px; border-radius: var(--radius-sm); font-size: 14px; line-height: 1.5; margin-bottom: 18px; }
.section-title { margin: 26px 0 0; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; font-weight: 700; }

/* ---- Toolbar: filter tabs + search ---- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.tabs { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 4px; box-shadow: var(--shadow-sm); }
.tab { padding: 7px 15px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.tab:hover { color: var(--ink); }
.tab.active { background: linear-gradient(180deg, var(--brand-2), var(--brand-dark)); color: #fff; box-shadow: 0 4px 10px rgba(79,70,229,.3); }
.search input { width: 280px; }

/* ---- Key/value detail ---- */
.kv { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 16px 32px; gap: 16px 32px; }
.kv > div { font-size: 14px; }
.kv .k { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 3px; font-weight: 700; }

@media (max-width: 820px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: static; height: auto; }
  .row2 { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; }
  .search input { width: 100%; }
}

