/* =====================================================
   IFSCpin UI — DocNimble Inspired White + Red Theme
   Ultra-light (<30kb) — SEO Friendly — Mobile First
   ===================================================== */

:root{
  --bg:#ffffff;
  --card:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --border:#e5e7eb;
  --accent:#e11d48;       /* Astro-aligned red */
  --accent-soft:#fff1f2;
  --btn:#dc2626;
}

*{box-sizing:border-box}

html,body{
  height:100%;
}

body{
  margin:0;
  font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Arial;
  color:var(--text);
  background:#ffffff;
}

a{
  color:var(--accent);
  text-decoration:none;
}
a:hover{ text-decoration:underline; }

.wrap{
  max-width:1040px;
  margin:0 auto;
  padding:20px;
}

/* ================= NAVBAR ================= */

.topbar{
  position:sticky;
  top:0;
  background:#ffffff;
  border-bottom:1px solid var(--border);
  z-index:20;
}

.topbar .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.brand{
  font-weight:800;
  font-size:18px;
  color:#111;
}

.nav{
  display:flex;
  gap:18px;
}
.nav a{
  color:#444;
  font-weight:600;
}

/* ================= HERO ================= */

.hero{
  background:var(--accent-soft);
  border-radius:18px;
  padding:28px;
  margin-top:18px;
}

.hero.compact{
  padding:20px;
}

h1{
  font-size:30px;
  margin:0 0 10px;
}

h2{
  font-size:20px;
  margin:0 0 10px;
}

.lead{
  margin:0 0 16px;
  color:var(--muted);
}

/* ================= SEARCH ================= */

.search{
  display:flex;
  gap:10px;
}

.search input{
  flex:1;
  padding:12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
}

.search button{
  padding:12px 16px;
  border-radius:12px;
  border:none;
  background:var(--btn);
  color:#fff;
  font-weight:700;
  cursor:pointer;
}

/* ================= KPI ================= */

.kpis{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-top:16px;
}

.kpi{
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px;
  background:#fff;
}

.kpi-num{
  font-weight:900;
  font-size:18px;
}
.kpi-txt{
  font-size:13px;
  color:var(--muted);
}

/* ================= CARDS ================= */

.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:18px;
}

.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:16px;
  box-shadow:0 4px 14px rgba(0,0,0,.05);
}

.card p{
  color:var(--muted);
}

.link{
  font-weight:700;
  color:var(--accent);
}

/* ================= NOTE ================= */

.note{
  margin-top:18px;
  border:1px dashed var(--border);
  border-radius:18px;
  padding:16px;
  color:var(--muted);
  background:#fafafa;
}

/* ================= TABLE ================= */

.table-wrap{
  overflow:auto;
  border:1px solid var(--border);
  border-radius:14px;
}

.tbl{
  width:100%;
  border-collapse:collapse;
  background:#fff;
}

.tbl th,.tbl td{
  padding:12px;
  border-bottom:1px solid var(--border);
  text-align:left;
}

.tbl th{
  background:#f9fafb;
  font-size:13px;
}

/* ================= DL ================= */

.dl{
  display:grid;
  gap:12px;
}

.dl>div{
  display:grid;
  grid-template-columns:180px 1fr;
  border-bottom:1px solid var(--border);
  padding-bottom:10px;
}

.dl dt{
  color:var(--muted);
}

/* ================= FOOTER ================= */

.footer{
  margin-top:40px;
  border-top:1px solid var(--border);
  padding-top:16px;
  color:var(--muted);
}

/* ================= MOBILE ================= */

@media(max-width:860px){
  .cards{grid-template-columns:1fr}
  .kpis{grid-template-columns:1fr}
  .nav{display:none}
  h1{font-size:24px}
  .dl>div{grid-template-columns:1fr}
}
