/* public_html/assets/main.css */
:root{
  --bg:#F8FAFC;
  --card:#FFFFFF;
  --border:#E5E7EB;
  --text:#0F172A;
  --muted:#64748B;
  --primary:#2563EB;
  --primary2:#1D4ED8;
  --success:#16A34A;
  --warning:#F59E0B;
  --danger:#DC2626;
  --radius:16px;
  --shadow:0 16px 40px rgba(2,6,23,.10);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color: var(--text);
}

a{color:var(--primary);text-decoration:none}
a:hover{color:var(--primary2)}

.container{max-width:1050px;margin:0 auto;padding:16px}

.topbar{
  position:sticky;top:0;z-index:50;
  background: rgba(248,250,252,.88);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}

.nav{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 16px;
  max-width:1050px;margin:0 auto;
}

.brand{
  display:flex;align-items:center;gap:10px;
  font-weight:1000;letter-spacing:.2px;
}
.brand-badge{
  width:38px;height:38px;border-radius:12px;
  background: linear-gradient(135deg, var(--primary), #22C55E);
  box-shadow: 0 12px 24px rgba(37,99,235,.22);
}
.brand span{font-size:16px}

.nav-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
  padding:16px;
}

.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
}
@media (min-width: 900px){
  .grid{grid-template-columns: 1.35fr .65fr;}
}

.h1{margin:0;font-size:22px;font-weight:1000}
.h2{margin:0;font-size:16px;font-weight:950}
.muted{color:var(--muted);line-height:1.6}

.hr{border:none;border-top:1px solid var(--border);margin:14px 0}

.row{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:10px 0;border-bottom:1px solid var(--border);
}
.row:last-child{border-bottom:none}
.row strong{font-weight:1000}

.input, select{
  width:100%;
  padding:12px 12px;
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff;
  outline:none;
  font-size:14px;
}
.input:focus, select:focus{
  border-color: rgba(37,99,235,.55);
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}

.label{display:block;margin:12px 0 6px;font-size:13px;color:var(--muted);font-weight:900}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:12px 14px;border-radius:14px;
  border:1px solid transparent;
  font-weight:1000;font-size:14px;
  cursor:pointer;text-decoration:none;
}
.btn-primary{background:var(--primary);color:#fff;box-shadow:0 10px 20px rgba(37,99,235,.18)}
.btn-primary:hover{background:var(--primary2)}
.btn-ghost{background:#fff;border-color:var(--border);color:var(--text)}
.btn-ghost:hover{border-color:rgba(37,99,235,.35)}
.btn-danger{background:var(--danger);color:#fff}

.badge{
  display:inline-block;padding:6px 10px;border-radius:999px;
  font-weight:1000;font-size:12px;
}
.badge-pending{background:rgba(245,158,11,.16);color:#92400E}
.badge-ok{background:rgba(22,163,74,.12);color:#166534}
.badge-bad{background:rgba(220,38,38,.10);color:#991B1B}

.footer{
  margin-top:18px;
  padding:16px 0;
  border-top:1px solid var(--border);
  color:var(--muted);
  font-size:13px;
}
.footer .links{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}
/* ===== ZentLoan Header + Footer (paste at END of main.css) ===== */

.skip-link{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px; width:auto; height:auto; padding:10px 12px;
  background:#0b1020; color:#fff; border-radius:12px; z-index:9999;
}

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(0,0,0,.06);
}
.topbar-inner{
  max-width:1100px;
  margin:0 auto;
  padding:10px 14px;
}
.topbar .nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:inherit;
}
.brand-logo{
  width:38px;
  height:38px;
  border-radius:12px;
  object-fit:cover;
  box-shadow:0 10px 24px rgba(0,0,0,.10);
  background:#fff;
}
.brand-badge{
  width:38px;
  height:38px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#0ea5e9,#22c55e);
  box-shadow:0 10px 24px rgba(0,0,0,.10);
}
.brand-text{display:flex; flex-direction:column; line-height:1.05}
.brand-name{font-weight:900; letter-spacing:.2px}
.brand-tag{font-size:12px; opacity:.75; margin-top:3px}

.nav-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.nav-link{
  text-decoration:none;
  padding:10px 10px;
  border-radius:12px;
  color:inherit;
  font-weight:700;
  font-size:14px;
  opacity:.88;
}
.nav-link:hover{background:rgba(0,0,0,.05); opacity:1}
.nav-link.is-active{
  background:rgba(14,165,233,.12);
  color:#0b5ea8;
  opacity:1;
}

.nav-cta{
  margin-left:6px;
}

/* Mobile menu */
.nav-toggle{
  display:none;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  border-radius:14px;
  padding:10px 12px;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(0,0,0,.08);
}
.nav-toggle-bar{
  display:block;
  width:18px;
  height:2px;
  background:#111;
  margin:4px 0;
  border-radius:2px;
}

@media (max-width: 860px){
  .nav-toggle{display:inline-flex; align-items:center; justify-content:center}
  .nav-actions{
    position:absolute;
    left:14px;
    right:14px;
    top:64px;
    display:none;
    flex-direction:column;
    gap:8px;
    padding:12px;
    background:#fff;
    border:1px solid rgba(0,0,0,.08);
    border-radius:16px;
    box-shadow:0 18px 50px rgba(0,0,0,.18);
  }
  .nav-actions.is-open{display:flex}
  .nav-link{width:100%}
  .nav-cta{width:100%; text-align:center}
}

/* Footer */
.site-footer{
  margin-top:28px;
  background:linear-gradient(180deg, rgba(14,165,233,.08), rgba(34,197,94,.06));
  border-top:1px solid rgba(0,0,0,.06);
}
.footer-grid{
  display:grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap:18px;
  padding:22px 0;
}
.footer-brand{
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.footer-mark{
  width:42px; height:42px;
  border-radius:16px;
  background:linear-gradient(135deg,#0ea5e9,#22c55e);
  box-shadow:0 10px 24px rgba(0,0,0,.10);
}
.footer-title{font-weight:900; font-size:18px}
.footer-sub{opacity:.78; margin-top:4px}
.footer-note{
  margin-top:12px;
  opacity:.78;
  font-size:13px;
  line-height:1.5;
}
.footer-head{
  font-weight:900;
  margin-bottom:10px;
}
.footer-links{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.footer-links a{
  text-decoration:none;
  opacity:.85;
}
.footer-links a:hover{opacity:1; text-decoration:underline}

.footer-bottom{
  border-top:1px solid rgba(0,0,0,.06);
  background:rgba(255,255,255,.65);
}
.footer-bottom-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:12px 0;
  font-size:13px;
  opacity:.88;
}
.footer-mini strong{font-weight:900}

@media (max-width: 860px){
  .footer-grid{grid-template-columns:1fr; padding:18px 0}
  .footer-bottom-inner{flex-direction:column; align-items:flex-start}
}
/* SVG logo: keep it crisp and nicely contained */
.brand-logo{
  object-fit: contain;   /* better for SVG than cover */
  background: #fff;      /* clean background behind logo */
}
/* ===== ZentLoan Dashboard UI (paste at END of main.css) ===== */

.zl-dash{margin-top:16px}
.zl-dash-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:12px; flex-wrap:wrap;
}
.zl-dash-actions{display:flex; gap:10px; flex-wrap:wrap}

.zl-dash-grid{
  display:grid;
  grid-template-columns: 1.3fr .9fr;
  gap:14px;
  margin-top:14px;
}
@media (max-width: 900px){
  .zl-dash-grid{grid-template-columns:1fr}
}

.zl-kpis{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
@media (max-width: 520px){
  .zl-kpis{grid-template-columns:1fr}
}
.zl-kpi{
  padding:12px;
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff;
}
.zl-kpi-val{font-size:18px; font-weight:1000; margin-top:6px}
.zl-kpi-actions{display:flex; gap:10px; flex-wrap:wrap; align-items:center; justify-content:flex-start}

.zl-card-head{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px}

.zl-loan-list{display:flex; flex-direction:column; gap:12px; margin-top:10px}
.zl-loan{
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  padding:14px;
}
.zl-loan-top{
  display:flex; justify-content:space-between; align-items:center;
  gap:10px; flex-wrap:wrap;
}
.zl-loan-title{font-weight:1000}

.zl-loan-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin-top:12px;
}
@media (max-width: 520px){
  .zl-loan-grid{grid-template-columns:1fr}
}
.zl-li{display:flex; justify-content:space-between; gap:10px}
.zl-li span{opacity:.75}

.zl-loan-bottom{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px; flex-wrap:wrap;
  margin-top:12px;
}

.zl-tx{display:flex; flex-direction:column; gap:10px}
.zl-tx-item{
  display:flex; justify-content:space-between; gap:10px;
  padding:12px;
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff;
}
/* ===== Withdraw Pro UI (ZentLoan) - paste at END of main.css ===== */

.wd-ic{display:inline-flex;width:18px;height:18px;color:currentColor}
.wd-ic svg{width:100%;height:100%;fill:currentColor}

.wd-head{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:12px;flex-wrap:wrap;
}
.wd-secure{
  display:flex;gap:10px;align-items:flex-start;
  padding:10px 12px;border:1px solid var(--border);
  border-radius:16px;
  background:linear-gradient(180deg, rgba(14,165,233,.10), rgba(34,197,94,.08));
}
.wd-secure-title{font-weight:1000}
.wd-secure-sub{opacity:.75;font-size:12px;margin-top:2px}

.wd-grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:14px;
  margin-top:14px;
}
@media (max-width: 900px){
  .wd-grid{grid-template-columns:1fr}
}

.wd-card-title{
  display:flex;align-items:center;gap:8px;
  font-weight:1100;margin-bottom:10px;
}

.wd-balance{
  display:flex;gap:10px;align-items:center;
  padding:12px;
  border:1px solid var(--border);
  border-radius:16px;
  background:rgba(255,255,255,.9);
}
.wd-balance .wd-ic{width:20px;height:20px;color:#0b5ea8}

.wd-alert{
  margin:10px 0 0;
  padding:12px;
  border:1px solid var(--border);
  border-radius:16px;
  background:rgba(239,68,68,.08);
}
.wd-alert-title{font-weight:1100}
.wd-alert-msg{opacity:.9;margin-top:3px}

.wd-form{display:flex;flex-direction:column;gap:12px;margin-top:12px}
.wd-field{display:flex;flex-direction:column;gap:6px}
.wd-label{font-weight:900;opacity:.85}
.wd-help{font-size:12px;opacity:.75}

.wd-input{
  display:flex;align-items:center;gap:10px;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
}
.wd-input .input{
  border:none !important;
  padding:0 !important;
  width:100%;
  background:transparent !important;
  outline:none !important;
}
.wd-input:focus-within{
  box-shadow:0 0 0 4px rgba(14,165,233,.14);
  border-color:rgba(14,165,233,.35);
}

.wd-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}
.wd-btn{display:inline-flex;align-items:center;gap:8px}

.wd-footnote{
  margin-top:8px;
  font-size:12px;
  opacity:.75;
  line-height:1.6;
}

.wd-side .wd-side-box{padding:4px}
.wd-side-title{font-weight:1100}
.wd-bullet{
  display:inline-block;
  width:8px;height:8px;border-radius:999px;
  background:rgba(245,158,11,.92);
  box-shadow:0 0 0 4px rgba(245,158,11,.14);
  margin-right:8px;
}
/* ===== Deposit Pro UI (ZentLoan) - paste at END of main.css ===== */

.dp-ic{display:inline-flex;width:18px;height:18px;color:currentColor}
.dp-ic svg{width:100%;height:100%;fill:currentColor}

.dp-head{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:12px;flex-wrap:wrap;
}
.dp-secure{
  display:flex;gap:10px;align-items:flex-start;
  padding:10px 12px;border:1px solid var(--border);
  border-radius:16px;
  background:linear-gradient(180deg, rgba(14,165,233,.10), rgba(34,197,94,.08));
}
.dp-secure-title{font-weight:1000}
.dp-secure-sub{opacity:.75;font-size:12px;margin-top:2px}

.dp-grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:14px;
  margin-top:14px;
}
@media (max-width: 900px){
  .dp-grid{grid-template-columns:1fr}
}

.dp-card-title{
  display:flex;align-items:center;gap:8px;
  font-weight:1100;margin-bottom:10px;
}

.dp-alert{
  margin:10px 0 0;
  padding:12px;
  border:1px solid var(--border);
  border-radius:16px;
  background:rgba(239,68,68,.08);
}
.dp-alert-title{font-weight:1100}
.dp-alert-msg{opacity:.9;margin-top:3px}

.dp-form{display:flex;flex-direction:column;gap:12px;margin-top:12px}
.dp-field{display:flex;flex-direction:column;gap:6px}
.dp-label{font-weight:900;opacity:.85}
.dp-help{font-size:12px;opacity:.75}

.dp-input{
  display:flex;align-items:center;gap:10px;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
}
.dp-input .input{
  border:none !important;
  padding:0 !important;
  width:100%;
  background:transparent !important;
  outline:none !important;
}
.dp-input:focus-within{
  box-shadow:0 0 0 4px rgba(14,165,233,.14);
  border-color:rgba(14,165,233,.35);
}

.dp-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}
.dp-btn{display:inline-flex;align-items:center;gap:8px}

.dp-footnote{
  margin-top:8px;
  font-size:12px;
  opacity:.75;
  line-height:1.6;
}

.dp-side .dp-side-box{padding:4px}
.dp-side-title{font-weight:1100}
.dp-bullet{
  display:inline-block;
  width:8px;height:8px;border-radius:999px;
  background:rgba(34,197,94,.9);
  box-shadow:0 0 0 4px rgba(34,197,94,.12);
  margin-right:8px;
}
/* ===== Withdraw Pro UI (ZentLoan) - paste at END of main.css ===== */

.wd-ic{display:inline-flex;width:18px;height:18px;color:currentColor}
.wd-ic svg{width:100%;height:100%;fill:currentColor}

.wd-head{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:12px;flex-wrap:wrap;
}
.wd-secure{
  display:flex;gap:10px;align-items:flex-start;
  padding:10px 12px;border:1px solid var(--border);
  border-radius:16px;
  background:linear-gradient(180deg, rgba(14,165,233,.10), rgba(34,197,94,.08));
}
.wd-secure-title{font-weight:1000}
.wd-secure-sub{opacity:.75;font-size:12px;margin-top:2px}

.wd-grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:14px;
  margin-top:14px;
}
@media (max-width: 900px){
  .wd-grid{grid-template-columns:1fr}
}

.wd-card-title{
  display:flex;align-items:center;gap:8px;
  font-weight:1100;margin-bottom:10px;
}

.wd-balance{
  display:flex;gap:10px;align-items:center;
  padding:12px;
  border:1px solid var(--border);
  border-radius:16px;
  background:rgba(255,255,255,.9);
}
.wd-balance .wd-ic{width:20px;height:20px;color:#0b5ea8}

.wd-alert{
  margin:10px 0 0;
  padding:12px;
  border:1px solid var(--border);
  border-radius:16px;
  background:rgba(239,68,68,.08);
}
.wd-alert-title{font-weight:1100}
.wd-alert-msg{opacity:.9;margin-top:3px}

.wd-form{display:flex;flex-direction:column;gap:12px;margin-top:12px}
.wd-field{display:flex;flex-direction:column;gap:6px}
.wd-label{font-weight:900;opacity:.85}
.wd-help{font-size:12px;opacity:.75}

.wd-input{
  display:flex;align-items:center;gap:10px;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
}
.wd-input .input{
  border:none !important;
  padding:0 !important;
  width:100%;
  background:transparent !important;
  outline:none !important;
}
.wd-input:focus-within{
  box-shadow:0 0 0 4px rgba(14,165,233,.14);
  border-color:rgba(14,165,233,.35);
}

.wd-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}
.wd-btn{display:inline-flex;align-items:center;gap:8px}

.wd-footnote{
  margin-top:8px;
  font-size:12px;
  opacity:.75;
  line-height:1.6;
}

.wd-side .wd-side-box{padding:4px}
.wd-side-title{font-weight:1100}
.wd-bullet{
  display:inline-block;
  width:8px;height:8px;border-radius:999px;
  background:rgba(245,158,11,.92);
  box-shadow:0 0 0 4px rgba(245,158,11,.14);
  margin-right:8px;
}
/* ===== Complaints Page (ZentLoan Pro) - paste at END of main.css ===== */

.zl-ic{display:inline-flex;width:18px;height:18px;color:currentColor}
.zl-ic svg{width:100%;height:100%;fill:currentColor}

.zl-complaints{padding:16px}
.zl-c-head{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:12px;flex-wrap:wrap;
}
.zl-c-badge{
  display:flex;gap:10px;align-items:flex-start;
  padding:10px 12px;border:1px solid var(--border);
  border-radius:16px;
  background:linear-gradient(180deg, rgba(14,165,233,.10), rgba(34,197,94,.08));
}
.zl-c-badge-title{font-weight:1000}
.zl-c-badge-sub{opacity:.75;font-size:12px;margin-top:2px}

.zl-c-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
@media (max-width: 860px){
  .zl-c-grid{grid-template-columns:1fr}
}
.zl-c-card{
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  padding:14px;
}
.zl-c-card-wide{grid-column:1 / -1}

.zl-c-card-title{
  display:flex;align-items:center;gap:8px;
  font-weight:1100;
}
.zl-c-list{margin-top:12px;display:flex;flex-direction:column;gap:10px}
.zl-c-item{display:flex;gap:10px;align-items:flex-start}
.zl-dot{
  width:10px;height:10px;border-radius:999px;margin-top:5px;
  background:rgba(14,165,233,.85);
  box-shadow:0 0 0 5px rgba(14,165,233,.12);
}

.zl-c-note{
  margin-top:14px;
  display:flex;gap:10px;align-items:flex-start;
  padding:12px;border:1px solid var(--border);
  border-radius:16px;
  background:rgba(245,158,11,.10);
}
.zl-c-note .zl-ic{margin-top:2px;color:#8a5a00}

.zl-c-contact{margin-top:12px}
.zl-c-contact-row{
  display:flex;align-items:center;justify-content:space-between;
  gap:10px;flex-wrap:wrap;
}
.zl-c-chip{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 10px;border:1px solid var(--border);
  border-radius:999px;background:rgba(255,255,255,.9);
  font-weight:900;
}
.zl-c-contact-val{font-size:14px;font-weight:1000}
.zl-c-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}

.zl-c-timeline{margin-top:12px;display:flex;flex-direction:column;gap:12px}
.zl-c-step{display:flex;gap:12px;align-items:flex-start;padding:12px;border:1px solid var(--border);border-radius:16px;background:rgba(255,255,255,.85)}
.zl-c-step-num{
  width:34px;height:34px;border-radius:14px;
  display:grid;place-items:center;
  border:1px solid var(--border);
  background:rgba(34,197,94,.10);
  font-weight:1100;
}
.zl-c-step-title{font-weight:1100}
/* ===== Contact Page (ZentLoan Pro) - paste at END of main.css ===== */

.zl-ic{display:inline-flex;width:18px;height:18px;color:currentColor}
.zl-ic svg{width:100%;height:100%;fill:currentColor}

.zl-contact{padding:16px}
.zl-contact-head{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:12px;flex-wrap:wrap;
}
.zl-contact-badge{
  display:flex;gap:10px;align-items:flex-start;
  padding:10px 12px;border:1px solid var(--border);
  border-radius:16px;background:linear-gradient(180deg, rgba(14,165,233,.10), rgba(34,197,94,.08));
}
.zl-badge-title{font-weight:1000}
.zl-badge-sub{opacity:.75;font-size:12px;margin-top:2px}

.zl-contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
@media (max-width: 860px){
  .zl-contact-grid{grid-template-columns:1fr}
}

.zl-contact-item{
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  padding:14px;
  display:grid;
  grid-template-columns:44px 1fr;
  gap:12px;
}
.zl-contact-ico{
  width:44px;height:44px;border-radius:16px;
  display:grid;place-items:center;
  border:1px solid var(--border);
  background:rgba(14,165,233,.08);
  color:#0b5ea8;
}
.zl-contact-title{font-weight:1000}
.zl-contact-text{margin-top:6px;font-weight:900;font-size:15px}
.zl-contact-sub{margin-top:4px;font-size:13px;opacity:.8}
.zl-contact-actions{
  grid-column:1 / -1;
  display:flex;gap:10px;flex-wrap:wrap;margin-top:10px;
}

.zl-contact-foot{margin-top:6px}
.zl-safety{
  display:flex;gap:10px;align-items:flex-start;
  padding:12px;border:1px solid var(--border);
  border-radius:16px;background:rgba(255,255,255,.85);
}
.zl-safety .zl-ic{margin-top:2px;color:#0f7a2d}
/* ===== Wallet Premium UI (paste at END of main.css) ===== */

.wl-wrap{margin-top:16px}
.wl-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:12px; flex-wrap:wrap;
}
.wl-head-actions{display:flex; gap:10px; flex-wrap:wrap}
.wl-btn{display:inline-flex; align-items:center; gap:8px}
.wl-btn.wide{justify-content:center; min-width:190px}

.wl-ico{display:inline-flex; width:18px; height:18px; color:currentColor}
.wl-ico svg{width:100%; height:100%; fill:currentColor}
.wl-ico.lg{width:20px; height:20px}

.wl-flash{
  margin-top:12px;
  display:flex; gap:10px; align-items:flex-start;
  padding:12px;
  border:1px solid var(--border);
  border-radius:16px;
  background:linear-gradient(180deg, rgba(14,165,233,.10), rgba(34,197,94,.08));
}
.wl-flash-ico{width:18px; height:18px; margin-top:2px; color:#0b5ea8}
.wl-flash-ico svg{width:100%; height:100%; fill:currentColor}
.wl-flash-title{font-weight:1000; text-transform:capitalize}
.wl-flash-msg{opacity:.85; margin-top:2px; font-size:13px; line-height:1.5}

.wl-grid{
  display:grid;
  grid-template-columns: 1.35fr .85fr;
  gap:14px;
  margin-top:14px;
}
@media (max-width: 900px){
  .wl-grid{grid-template-columns:1fr}
}

.wl-balance{
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(14,165,233,.14), transparent 55%),
    radial-gradient(760px 380px at 90% 20%, rgba(34,197,94,.12), transparent 55%),
    #fff;
}
.wl-balance-top{
  display:flex; justify-content:space-between; align-items:flex-start;
  gap:12px; flex-wrap:wrap;
}
.wl-balance-label{
  display:flex; align-items:center; gap:8px;
  font-weight:900; opacity:.85;
}
.wl-balance-amt{
  font-size:28px; font-weight:1100; margin-top:8px;
}
.wl-balance-sub{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top:10px; font-size:13px; opacity:.85;
}
.wl-mini{display:inline-flex; align-items:center; gap:8px}
.wl-mini-dot{
  width:8px; height:8px; border-radius:999px;
  background:rgba(34,197,94,.8);
  box-shadow:0 0 0 4px rgba(34,197,94,.12);
}
.wl-mini-dot.warn{
  background:rgba(245,158,11,.9);
  box-shadow:0 0 0 4px rgba(245,158,11,.14);
}

.wl-balance-safe{
  display:flex; gap:10px; align-items:flex-start;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:16px;
  background:rgba(255,255,255,.75);
}
.wl-safe-ico{width:18px; height:18px; color:#0f7a2d; margin-top:2px}
.wl-safe-ico svg{width:100%; height:100%; fill:currentColor}
.wl-safe-title{font-weight:1000}
.wl-safe-sub{opacity:.75; font-size:12px; margin-top:2px}

.wl-cta{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top:14px;
}

.wl-card-head{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px; margin-bottom:10px;
}
.wl-card-title{
  display:flex; align-items:center; gap:8px;
  font-weight:1000;
}

.wl-empty{
  display:flex; gap:12px; align-items:flex-start;
  padding:14px;
  border:1px solid var(--border);
  border-radius:16px;
  background:rgba(255,255,255,.8);
}
.wl-empty-ico{width:22px; height:22px; color:#0b5ea8; margin-top:2px}
.wl-empty-ico svg{width:100%; height:100%; fill:currentColor}
.wl-empty-title{font-weight:1000}
.wl-empty-sub{opacity:.8; margin-top:3px; font-size:13px; line-height:1.5}

.wl-tx{display:flex; flex-direction:column; gap:10px}
.wl-tx-item{
  display:flex; justify-content:space-between; gap:12px;
  padding:12px;
  border:1px solid var(--border);
  border-radius:16px;
  background:rgba(255,255,255,.85);
}
.wl-tx-left{display:flex; gap:10px; align-items:center; min-width:0}
.wl-tx-icon{
  width:40px; height:40px; border-radius:14px;
  display:grid; place-items:center;
  border:1px solid var(--border);
}
.wl-tx-icon.in{background:rgba(34,197,94,.10); color:#0f7a2d}
.wl-tx-icon.out{background:rgba(245,158,11,.12); color:#8a5a00}
.wl-tx-icon svg{width:18px; height:18px; fill:currentColor}

.wl-tx-meta{min-width:0}
.wl-tx-title{font-weight:1000}
.wl-tx-sub{
  margin-top:2px;
  opacity:.75;
  font-size:12px;
  display:flex; gap:6px; flex-wrap:wrap;
}
.wl-tx-sub .dot{opacity:.55}

.wl-tx-right{
  display:flex; flex-direction:column; align-items:flex-end; gap:6px;
}
.wl-tx-amt{font-weight:1100}

.wl-side-card .wl-side-title{font-weight:1100; margin-bottom:10px}
.wl-side-link{
  display:flex; align-items:center; gap:10px;
  padding:12px;
  border:1px solid var(--border);
  border-radius:16px;
  text-decoration:none;
  color:inherit;
  background:rgba(255,255,255,.85);
  margin-top:10px;
}
.wl-side-link:hover{box-shadow:0 14px 28px rgba(0,0,0,.08)}
.wl-side-link .chev{margin-left:auto; opacity:.6; font-weight:1100}
/* ===== Apply Loan Pro UI (ZentLoan) - paste at END of main.css ===== */

.ap-ic{display:inline-flex;width:18px;height:18px;color:currentColor}
.ap-ic svg{width:100%;height:100%;fill:currentColor}

.ap-head{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:12px;flex-wrap:wrap;
}
.ap-secure{
  display:flex;gap:10px;align-items:flex-start;
  padding:10px 12px;border:1px solid var(--border);
  border-radius:16px;
  background:linear-gradient(180deg, rgba(14,165,233,.10), rgba(34,197,94,.08));
}
.ap-secure-title{font-weight:1000}
.ap-secure-sub{opacity:.75;font-size:12px;margin-top:2px}

.ap-grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:14px;
  margin-top:14px;
}
@media (max-width: 900px){
  .ap-grid{grid-template-columns:1fr}
}

.ap-card-title{
  display:flex;align-items:center;gap:8px;
  font-weight:1100;margin-bottom:10px;
}

.ap-alert{
  margin:10px 0 0;
  padding:12px;
  border:1px solid var(--border);
  border-radius:16px;
}
.ap-alert.ok{background:rgba(22,163,74,.10)}
.ap-alert.bad{background:rgba(239,68,68,.08)}
.ap-alert-title{font-weight:1100}
.ap-alert-msg{opacity:.9;margin-top:3px;line-height:1.6}

.ap-form{display:flex;flex-direction:column;gap:12px;margin-top:12px}
.ap-field{display:flex;flex-direction:column;gap:6px}
.ap-label{font-weight:900;opacity:.85}
.ap-help{font-size:12px;opacity:.75}

.ap-input{
  display:flex;align-items:center;gap:10px;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
}
.ap-input .input{
  border:none !important;
  padding:0 !important;
  width:100%;
  background:transparent !important;
  outline:none !important;
}
.ap-input:focus-within{
  box-shadow:0 0 0 4px rgba(14,165,233,.14);
  border-color:rgba(14,165,233,.35);
}

.ap-divider{height:1px;background:var(--border);margin:6px 0}

.ap-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}
.ap-btn{display:inline-flex;align-items:center;gap:8px}

.ap-footnote{
  margin-top:8px;
  font-size:12px;
  opacity:.75;
  line-height:1.6;
}

.ap-side .ap-side-box{padding:4px}
.ap-side-title{font-weight:1100}
.ap-bullet{
  display:inline-block;
  width:8px;height:8px;border-radius:999px;
  background:rgba(14,165,233,.92);
  box-shadow:0 0 0 4px rgba(14,165,233,.14);
  margin-right:8px;
}
/* ===== KYC Pro UI (ZentLoan) - paste at END of main.css ===== */

.ky-ic{display:inline-flex;width:18px;height:18px;color:currentColor}
.ky-ic svg{width:100%;height:100%;fill:currentColor}

.ky-head{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:12px;flex-wrap:wrap;
}
.ky-secure{
  display:flex;gap:10px;align-items:flex-start;
  padding:10px 12px;border:1px solid var(--border);
  border-radius:16px;
  background:linear-gradient(180deg, rgba(14,165,233,.10), rgba(34,197,94,.08));
}
.ky-secure-title{font-weight:1000}
.ky-secure-sub{opacity:.75;font-size:12px;margin-top:2px}

.ky-grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:14px;
  margin-top:14px;
}
@media (max-width: 900px){
  .ky-grid{grid-template-columns:1fr}
}

.ky-card-title{
  display:flex;align-items:center;gap:8px;
  font-weight:1100;margin-bottom:10px;
}

.ky-status{
  padding:12px;
  border:1px solid var(--border);
  border-radius:16px;
  background:rgba(255,255,255,.9);
  margin-top:8px;
}

.ky-alert{
  margin:10px 0 0;
  padding:12px;
  border:1px solid var(--border);
  border-radius:16px;
}
.ky-alert.ok{background:rgba(22,163,74,.10)}
.ky-alert.bad{background:rgba(239,68,68,.08)}
.ky-alert-title{font-weight:1100}
.ky-alert-msg{opacity:.9;margin-top:3px;line-height:1.6}

.ky-form{display:flex;flex-direction:column;gap:12px;margin-top:12px}
.ky-field{display:flex;flex-direction:column;gap:6px}
.ky-label{font-weight:900;opacity:.85}
.ky-help{font-size:12px;opacity:.75}

.ky-input{
  display:flex;align-items:center;gap:10px;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
}
.ky-input .input{
  border:none !important;
  padding:0 !important;
  width:100%;
  background:transparent !important;
  outline:none !important;
}
.ky-input:focus-within{
  box-shadow:0 0 0 4px rgba(14,165,233,.14);
  border-color:rgba(14,165,233,.35);
}

.ky-up-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-top:6px;
}
@media (max-width: 700px){
  .ky-up-grid{grid-template-columns:1fr}
}
.ky-up{
  border:1px solid var(--border);
  border-radius:16px;
  background:rgba(255,255,255,.95);
  padding:12px;
}
.ky-up-wide{grid-column:1 / -1}
.ky-up-title{display:flex;align-items:center;gap:8px;font-weight:1100}
.ky-up-sub{margin-top:4px;font-size:12px;opacity:.75}

.ky-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}
.ky-btn{display:inline-flex;align-items:center;gap:8px}

.ky-footnote{
  margin-top:8px;
  font-size:12px;
  opacity:.75;
  line-height:1.6;
}

.ky-side .ky-side-box{padding:4px}
.ky-side-title{font-weight:1100}
.ky-bullet{
  display:inline-block;
  width:8px;height:8px;border-radius:999px;
  background:rgba(34,197,94,.92);
  box-shadow:0 0 0 4px rgba(34,197,94,.14);
  margin-right:8px;
}
/* ===== ZentLoan Premium Layout (Header + Mobile Menu + Footer) ===== */

:root{
  --zl-brand:#0ea5e9;
  --zl-brand2:#22c55e;
  --zl-dark:#071027;
}

/* header */
.zl-topbar{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.86);
  backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--border);
}
.zl-topbar-inner{
  max-width:1100px;margin:0 auto;
  padding:12px 14px;
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;
}
.zl-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit}
.zl-brand-logo{width:34px;height:34px;border-radius:10px;object-fit:contain}
.zl-brand-fallback{
  width:34px;height:34px;border-radius:10px;
  display:grid;place-items:center;
  background:linear-gradient(180deg, rgba(14,165,233,.18), rgba(34,197,94,.12));
  border:1px solid var(--border);
}
.zl-brand-text{display:flex;flex-direction:column;line-height:1.1}
.zl-brand-name{font-weight:1100;letter-spacing:.2px}
.zl-brand-tag{font-size:12px;opacity:.72;margin-top:2px}

/* toggle */
.zl-nav-toggle{
  border:1px solid var(--border);
  background:#fff;
  border-radius:14px;
  padding:10px 12px;
  display:none;
  align-items:center;justify-content:center;
  cursor:pointer;
  box-shadow:0 10px 26px rgba(0,0,0,.08);
}
.zl-nav-toggle .zl-nav-toggle-ic{width:18px;height:18px;display:inline-flex}
.zl-nav-toggle svg{width:100%;height:100%;fill:currentColor}
.zl-nav-toggle .zl-close{display:none}
.nav-open .zl-nav-toggle .zl-open{display:none}
.nav-open .zl-nav-toggle .zl-close{display:inline-flex}

.zl-ic{display:inline-flex;width:18px;height:18px;color:currentColor}
.zl-ic svg{width:100%;height:100%;fill:currentColor}

/* desktop nav */
.zl-nav{
  display:flex;align-items:center;gap:12px;
}
.zl-nav-section{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.zl-mitem{
  display:inline-flex;align-items:center;gap:8px;
  padding:9px 12px;border-radius:999px;
  border:1px solid transparent;
  text-decoration:none;color:inherit;
  font-weight:950;
  opacity:.92;
}
.zl-mitem:hover{background:rgba(14,165,233,.06);border-color:rgba(14,165,233,.18)}
.zl-nav-cta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.zl-cta{display:inline-flex;align-items:center;gap:8px}

/* mobile menu */
.zl-nav-backdrop{
  display:none;
  position:fixed;inset:0;
  background:rgba(7,16,39,.40);
  backdrop-filter: blur(8px);
  z-index:40;
  opacity:0;pointer-events:none;
  transition:opacity .18s ease;
}
.zl-nav-backdrop.is-open{opacity:1;pointer-events:auto}

@media (max-width: 900px){
  .zl-nav-toggle{display:inline-flex}

  .zl-nav{
    position:fixed;
    left:12px;right:12px;top:70px;
    z-index:45;
    display:none;
    flex-direction:column;
    gap:12px;
    padding:14px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:18px;
    box-shadow:0 22px 70px rgba(0,0,0,.20);
  }
  .zl-nav.is-open{display:flex;animation:zlDrop .16s ease-out}
  @keyframes zlDrop{
    from{transform:translateY(-8px);opacity:.7}
    to{transform:translateY(0);opacity:1}
  }

  .zl-nav-section{flex-direction:column;align-items:stretch;gap:8px}
  .zl-mitem{
    width:100%;
    justify-content:flex-start;
    border:1px solid var(--border);
    border-radius:16px;
    padding:12px 12px;
    background:rgba(255,255,255,.95);
  }
  .zl-nav-cta{
    width:100%;
    flex-direction:column;
    align-items:stretch;
  }
  .zl-nav-cta .btn{width:100%}
  .zl-nav-backdrop{display:block}
}

/* main spacing */
.zl-main{padding-top:12px}

/* footer */
.zl-footer{
  margin-top:20px;
  border-top:1px solid var(--border);
  background:radial-gradient(900px 500px at 10% 0%, rgba(14,165,233,.10), transparent 55%),
             radial-gradient(700px 420px at 90% 20%, rgba(34,197,94,.10), transparent 55%),
             #fff;
}
.zl-footer-inner{padding:18px 0}
.zl-f-brand{
  display:flex;gap:12px;align-items:flex-start;
  padding:14px;border:1px solid var(--border);
  border-radius:18px;background:rgba(255,255,255,.85);
}
.zl-f-mark{
  width:44px;height:44px;border-radius:16px;
  background:linear-gradient(180deg, rgba(14,165,233,.20), rgba(34,197,94,.14));
  border:1px solid var(--border);
  box-shadow:0 16px 40px rgba(0,0,0,.10);
}
.zl-f-title{font-weight:1100;font-size:18px}
.zl-f-sub{opacity:.78;margin-top:4px;line-height:1.6;font-size:13px}
.zl-f-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.zl-pill{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 10px;border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.95);
  font-weight:950;font-size:12px;opacity:.9;
}

.zl-footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap:12px;
  margin-top:12px;
}
@media (max-width: 900px){
  .zl-footer-grid{grid-template-columns:1fr}
}

.zl-f-col{
  padding:14px;
  border:1px solid var(--border);
  border-radius:18px;
  background:rgba(255,255,255,.85);
}
.zl-f-head{font-weight:1100;margin-bottom:10px}
.zl-f-links{display:flex;flex-direction:column;gap:10px}
.zl-f-links a{text-decoration:none;opacity:.9}
.zl-f-links a:hover{opacity:1;text-decoration:underline}

.zl-f-line{display:flex;gap:10px;align-items:flex-start;margin-top:10px}
.zl-f-line a{text-decoration:none}
.zl-f-line a:hover{text-decoration:underline}

.zl-f-note{
  margin-top:12px;
  padding:12px 14px;
  border:1px solid var(--border);
  border-radius:18px;
  background:rgba(255,255,255,.85);
  opacity:.85;
  font-size:13px;
  line-height:1.6;
}

.zl-footer-bottom{
  border-top:1px solid var(--border);
  background:rgba(255,255,255,.9);
}
.zl-footer-bottom-inner{
  display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;
  padding:12px 0;
  font-size:13px;
  opacity:.9;
}
.zl-footer-mini{opacity:.85}
/* ===== Home Premium (index.php) ===== */

.hm-ic{display:inline-flex;width:18px;height:18px;color:currentColor}
.hm-ic svg{width:100%;height:100%;fill:currentColor}

.hm-hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
  align-items:stretch;
}
@media (max-width: 900px){
  .hm-hero{grid-template-columns:1fr}
}

.hm-badge{
  display:inline-flex;align-items:center;gap:10px;
  padding:8px 12px;border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.92);
  font-weight:950;
  opacity:.92;
}
.hm-dot{
  width:10px;height:10px;border-radius:999px;
  background:rgba(34,197,94,.95);
  box-shadow:0 0 0 4px rgba(34,197,94,.14);
}
.hm-title{margin:12px 0 0;font-size:34px;line-height:1.12}
@media (max-width: 600px){
  .hm-title{font-size:28px}
}
.hm-sub{margin-top:10px;line-height:1.7;font-size:15px}

.hm-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.hm-btn{display:inline-flex;align-items:center;gap:8px}

.hm-trust{
  margin-top:14px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
@media (max-width: 700px){
  .hm-trust{grid-template-columns:1fr}
}
.hm-trust-item{
  display:flex;gap:10px;align-items:flex-start;
  padding:12px;border-radius:18px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.92);
}
.hm-trust-title{font-weight:1100}
.hm-trust-sub{opacity:.75;font-size:12px;margin-top:2px}

.hm-card{
  border:1px solid var(--border);
  border-radius:18px;
  background:rgba(255,255,255,.92);
  padding:14px;
  box-shadow:0 18px 60px rgba(0,0,0,.10);
}
.hm-card-head{
  display:flex;align-items:center;gap:8px;
  font-weight:1100;
}
.hm-rows{margin-top:10px;display:flex;flex-direction:column;gap:10px}
.hm-row{
  display:flex;justify-content:space-between;gap:10px;align-items:center;
  padding:10px 12px;border:1px solid var(--border);
  border-radius:16px;background:#fff;
}
.hm-mini{margin-top:10px;opacity:.78;font-size:13px;line-height:1.7}
.hm-card-actions{margin-top:12px;display:flex;gap:10px;flex-wrap:wrap}
.hm-card-actions .btn{flex:1 1 auto}
@media (max-width: 520px){
  .hm-card-actions .btn{width:100%}
}

.hm-grid{
  margin-top:14px;
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:12px;
}
@media (max-width: 900px){
  .hm-grid{grid-template-columns:1fr}
}
.hm-feature{
  border:1px solid var(--border);
  border-radius:18px;
  background:rgba(255,255,255,.92);
  padding:14px;
}
.hm-feature-ic{
  width:44px;height:44px;border-radius:16px;
  display:grid;place-items:center;
  border:1px solid var(--border);
  background:linear-gradient(180deg, rgba(14,165,233,.16), rgba(34,197,94,.10));
}
.hm-feature-ic svg{width:22px;height:22px;fill:currentColor}
.hm-feature-title{margin-top:10px;font-weight:1100}
.hm-feature-sub{margin-top:6px;line-height:1.7;font-size:13px}

.hm-steps{padding:16px}
.hm-step-list{margin-top:12px;display:flex;flex-direction:column;gap:10px}
.hm-step{
  display:flex;gap:12px;align-items:flex-start;
  padding:12px;border:1px solid var(--border);
  border-radius:18px;background:rgba(255,255,255,.95);
}
.hm-step-num{
  width:34px;height:34px;border-radius:14px;
  display:grid;place-items:center;
  font-weight:1100;
  border:1px solid var(--border);
  background:linear-gradient(180deg, rgba(14,165,233,.16), rgba(34,197,94,.10));
}
.hm-step-title{font-weight:1100}
.hm-step-sub{margin-top:4px;font-size:13px;line-height:1.6}
.hm-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
/* ===== Admin Console (separate from user UI) ===== */

.ad-body{
  background:
    radial-gradient(1100px 700px at 20% 0%, rgba(14,165,233,.10), transparent 55%),
    radial-gradient(900px 600px at 85% 10%, rgba(34,197,94,.08), transparent 55%),
    #fff;
}

.ad-topbar{
  position:sticky;top:0;z-index:60;
  background:rgba(255,255,255,.86);
  backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--border);
}
.ad-topbar-inner{
  max-width:1100px;margin:0 auto;
  padding:12px 14px;
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;
}

.ad-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit}
.ad-logo{width:34px;height:34px;border-radius:10px;object-fit:contain}
.ad-logo-fallback{
  width:34px;height:34px;border-radius:10px;
  display:grid;place-items:center;
  background:linear-gradient(180deg, rgba(7,16,39,.10), rgba(14,165,233,.12));
  border:1px solid var(--border);
}
.ad-brand-text{display:flex;flex-direction:column;line-height:1.1}
.ad-brand-name{font-weight:1100}
.ad-brand-tag{font-size:12px;opacity:.72;margin-top:2px}

.ad-ic{display:inline-flex;width:18px;height:18px;color:currentColor}
.ad-ic svg{width:100%;height:100%;fill:currentColor}

.ad-toggle{
  border:1px solid var(--border);
  background:#fff;
  border-radius:14px;
  padding:10px 12px;
  display:none;
  align-items:center;justify-content:center;
  cursor:pointer;
  box-shadow:0 10px 26px rgba(0,0,0,.08);
}
.ad-toggle-ic{width:18px;height:18px;display:inline-flex}
.ad-toggle svg{width:100%;height:100%;fill:currentColor}
.ad-toggle .ad-close{display:none}
.ad-open .ad-toggle .ad-open{display:none}
.ad-open .ad-toggle .ad-close{display:inline-flex}

.ad-nav{display:flex;align-items:center;gap:12px}
.ad-nav-grid{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ad-item{
  display:inline-flex;align-items:center;gap:8px;
  padding:9px 12px;border-radius:999px;
  text-decoration:none;color:inherit;
  border:1px solid transparent;
  font-weight:950;opacity:.92;
}
.ad-item:hover{background:rgba(7,16,39,.06);border-color:rgba(7,16,39,.12)}
.ad-item.is-active{background:rgba(14,165,233,.10);border-color:rgba(14,165,233,.18);opacity:1}

.ad-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ad-btn{display:inline-flex;align-items:center;gap:8px}

.ad-backdrop{
  display:none;
  position:fixed;inset:0;
  background:rgba(7,16,39,.40);
  backdrop-filter: blur(8px);
  z-index:50;
  opacity:0;pointer-events:none;
  transition:opacity .18s ease;
}
.ad-backdrop.is-open{opacity:1;pointer-events:auto}

@media (max-width: 900px){
  .ad-toggle{display:inline-flex}

  .ad-nav{
    position:fixed;
    left:12px;right:12px;top:70px;
    z-index:55;
    display:none;
    flex-direction:column;
    gap:12px;
    padding:14px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:18px;
    box-shadow:0 22px 70px rgba(0,0,0,.20);
  }
  .ad-nav.is-open{display:flex;animation:adDrop .16s ease-out}
  @keyframes adDrop{from{transform:translateY(-8px);opacity:.7}to{transform:translateY(0);opacity:1}}

  .ad-nav-grid{flex-direction:column;align-items:stretch;gap:8px}
  .ad-item{
    width:100%;
    justify-content:flex-start;
    border:1px solid var(--border);
    border-radius:16px;
    padding:12px 12px;
    background:rgba(255,255,255,.95);
  }
  .ad-actions{width:100%;flex-direction:column;align-items:stretch}
  .ad-actions .btn{width:100%}
  .ad-backdrop{display:block}
}

.ad-main{padding-top:12px}

/* dashboard UI */
.ad-hero{
  display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;
  align-items:flex-end;
  margin-top:12px;
}
.ad-hero-meta{
  display:flex;gap:10px;flex-wrap:wrap;
}
.ad-meta-item{
  padding:10px 12px;border:1px solid var(--border);
  border-radius:16px;background:rgba(255,255,255,.92);
}

.ad-cards{
  margin-top:12px;
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:12px;
}
@media (max-width: 900px){
  .ad-cards{grid-template-columns:1fr}
}
.ad-card{
  border:1px solid var(--border);
  border-radius:18px;
  background:rgba(255,255,255,.92);
  padding:14px;
  box-shadow:0 18px 60px rgba(0,0,0,.08);
}
.ad-card-head{
  display:flex;align-items:center;gap:8px;
  font-weight:1100;
}
.ad-card-big{
  margin-top:10px;
  font-size:34px;
  font-weight:1200;
}
.ad-card-sub{margin-top:6px;font-size:13px;line-height:1.6}
.ad-card-btn{margin-top:12px;width:100%;display:inline-flex;justify-content:center}

.ad-note{
  margin-top:12px;
  display:flex;gap:10px;align-items:flex-start;
  padding:14px;border-radius:18px;
  border:1px solid var(--border);
  background:linear-gradient(180deg, rgba(14,165,233,.10), rgba(34,197,94,.08));
}

.ad-footer{
  border-top:1px solid var(--border);
  background:rgba(255,255,255,.9);
  margin-top:18px;
}
.ad-footer-inner{
  padding:12px 0;
  display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;
}
.ad-footer-title{font-weight:1100}
.ad-footer-sub{opacity:.75;font-size:12px;margin-top:2px}
.ad-footer-mini{opacity:.85;font-size:12px}
/* ===== Admin alerts + table (KYC / lists) ===== */

.ad-alert{
  margin-top:12px;
  padding:12px 14px;
  border:1px solid var(--border);
  border-radius:18px;
  background:rgba(255,255,255,.92);
}
.ad-alert.ok{background:rgba(22,163,74,.10)}
.ad-alert.bad{background:rgba(239,68,68,.08)}
.ad-alert-title{font-weight:1100}
.ad-alert-msg{margin-top:4px;opacity:.9;line-height:1.6}

.ad-table-wrap{padding:14px}
.ad-table-head{
  display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;
  align-items:center;
}
.ad-table-title{
  display:flex;align-items:center;gap:8px;
  font-weight:1100;
}
.ad-table-scroll{overflow:auto}

.ad-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  min-width: 980px;
}
.ad-table th, .ad-table td{
  border-bottom:1px solid var(--border);
  padding:12px 10px;
  text-align:left;
  font-size:13px;
  vertical-align:top;
}
.ad-table th{
  color:var(--muted);
  font-weight:1100;
  position:sticky;
  top:0;
  background:rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  z-index:1;
}

.ad-td-actions{min-width: 340px}
.ad-form-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}
.ad-note{max-width:240px}
.ad-act{white-space:nowrap}

.ad-docs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.ad-doc{
  display:inline-flex;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.95);
  text-decoration:none;
  font-weight:950;
  font-size:12px;
}
.ad-doc:hover{opacity:1;text-decoration:underline}

.ad-tip{
  margin-top:12px;
  display:flex;gap:10px;align-items:flex-start;
  padding:12px 14px;
  border-radius:18px;
  border:1px solid var(--border);
  background:linear-gradient(180deg, rgba(14,165,233,.10), rgba(34,197,94,.08));
}

/* make actions stack nicely on small screens */
@media (max-width: 520px){
  .ad-note{max-width:100%}
  .ad-act{width:100%}
}
/* ===== Admin Withdrawals tweaks ===== */
.wd-actions{min-width: 520px}
.ad-ref{max-width:220px}
@media (max-width: 520px){
  .ad-ref{max-width:100%}
}
/* ===== Admin Loan Requests tweaks ===== */
.lr-actions{min-width: 420px}
.lr-note{max-width:240px}
.ad-warn{
  margin-top:8px;
  font-size:12px;
  font-weight:1000;
  color:#991B1B;
  background:rgba(239,68,68,.08);
  border:1px solid rgba(239,68,68,.18);
  padding:8px 10px;
  border-radius:14px;
}
@media (max-width: 520px){
  .lr-note{max-width:100%}
}
/* ===== Admin Wallet pages tweaks ===== */
.ad-ref{max-width:220px}
@media (max-width: 520px){
  .ad-ref{max-width:100%}
}
/* ===== ZentLoan user menu visibility fix (force readable text) ===== */

/* Main nav container (mobile & desktop) */
.zl-nav{
  color:#0b1220; /* default text color */
}

/* Menu items text MUST be black */
.zl-mitem,
.zl-mitem:link,
.zl-mitem:visited{
  color:#0b1220 !important;
}

/* The span text inside menu items */
.zl-mitem span{
  color:#0b1220 !important;
}

/* Icons should match readable tone */
.zl-mitem .zl-ic svg{
  width:20px;
  height:20px;
  stroke:#0b1220 !important;
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  opacity:.95;
}

/* Hover/active state */
.zl-mitem:hover{
  background:rgba(2,132,199,.08);
}
.zl-mitem:active{
  background:rgba(2,132,199,.12);
}

/* If your menu opens as a panel, ensure background is white */
.zl-nav.is-open{
  background:#ffffff !important;
}

/* Make sure the menu panel is not transparent on mobile */
@media (max-width: 900px){
  .zl-nav{
    background:#ffffff !important;
  }

  /* Optional: add separation lines for readability */
  .zl-nav .zl-nav-section,
  .zl-nav .zl-nav-cta{
    border-color: rgba(15, 23, 42, .12) !important;
  }
}

/* Buttons inside the nav: keep readable */
.zl-nav .btn.btn-ghost{
  color:#0b1220 !important;
}
.zl-nav .btn.btn-ghost span{
  color:#0b1220 !important;
}
.zl-nav .btn.btn-ghost .zl-ic svg{
  stroke:#0b1220 !important;
}
/* ===== Fix mobile menu icon not visible (ZentLoan) ===== */

/* Make the menu button visible */
.zl-nav-toggle{
  background:#ffffff !important;
  border:1px solid rgba(15,23,42,.18) !important;
  box-shadow: 0 10px 25px rgba(2,6,23,.10);
}

/* Force the icon to draw: add stroke to paths/lines */
.zl-nav-toggle svg{
  width:22px;
  height:22px;
  color:#0b1220 !important; /* used as currentColor */
}

.zl-nav-toggle svg path,
.zl-nav-toggle svg line,
.zl-nav-toggle svg circle,
.zl-nav-toggle svg rect,
.zl-nav-toggle svg polyline{
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 2.6 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  opacity: 1 !important;
}

/* Slightly bigger tap area on phone */
@media (max-width: 900px){
  .zl-nav-toggle{
    width:48px !important;
    height:46px !important;
    border-radius:14px !important;
  }
}
