*{margin:0;padding:0;box-sizing:border-box}
:root{
  --navy:#1a2744;--navy-2:#131d35;--navy-3:#1e2d4a;--navy-4:#253356;
  --accent:#2563eb;--accent-l:#3b82f6;--accent-dim:rgba(37,99,235,.10);
  --gold:#C9922A;--gold-l:#E8B94E;
  --green:#16a34a;--red:#dc2626;--amber:#d97706;--purple:#7c3aed;--cyan:#0891b2;
  --text:#1e293b;--text-2:#475569;--text-3:#64748b;
  --border:#e2e8f0;--border-2:#cbd5e1;
  --card:#ffffff;--card-2:#f8fafc;
  --sw:220px;--topbar:52px;
}
html,body{height:100%;font-family:'DM Sans',sans-serif;background:#f0f4fa;color:var(--text);font-size:13px;overflow-x:hidden}

.map-box {
  width: 100%;
  height: 420px;
  min-height: 420px;
  z-index: 1;
}

.leaflet-container {
  width: 100%;
  height: 100%;
}
.reset-btn{
  background:#1E3A8A;
  color:#fff;
  border:none;
  padding:8px 14px;
  border-radius:8px;
  cursor:pointer;
  font-weight:600;
  margin-bottom:10px;
}

.reset-btn:hover{
  background:#163172;
}
/* ── SIDEBAR ── */
.sidebar{
  width:var(--sw);
  background:#0B1629;
  border-right:1px solid var(--border);
  position:fixed;
  height:100vh;
  z-index:200;
  display:flex;
  flex-direction:column;
  transition:transform .25s cubic-bezier(.4,0,.2,1);
}

.sidebar.closed{
  transform:translateX(calc(-1 * var(--sw)));
}

/* HEADER */
.sb-head{
  /* padding:0 16px; */
  height:var(--topbar);
  display:flex;
  align-items:center;
  gap:10px;
  border-bottom:1px solid var(--border);
}

/* LOGO */
.sb-logo{
  width:32px;
  height:32px;
  border-radius:8px;
  background:linear-gradient(135deg,#1a2744,#2563eb);
  display:flex;
  align-items:center;
  justify-content:center;
}

.sb-logo svg{
  width:16px;
  height:16px;
  fill:#fff;
}
.tb-sel{border:1px solid var(--g200);border-radius:5px;padding:4px 8px;font-size:12px;color:var(--g600);background:var(--g50);outline:none;cursor:pointer}

/* BRAND */
.sb-brand{
  font-family:'Space Grotesk',sans-serif;
  font-size:14px;
  font-weight:700;
  color:#0f172a;
}

.sb-sub{
  font-size:10px;
  color:#ffffff;
}

/* SECTION LABEL */
.sb-section-lbl{
  font-size:10px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1px;
  color:#3e8eff;
  padding:14px 16px 6px;
}

/* NAV */
.sb-nav{
  flex:1;
  overflow-y:auto;
  padding:6px 8px;
}

/* NAV ITEM */
.nav-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px 12px;
  color:#e1e6ed;
  font-size:12.5px;
  font-weight:500;
  border-radius:8px;
  margin-bottom:4px;
  text-decoration:none;
  transition:all .2s ease;
}

/* ICON */
.nav-item .ni-icon{
  width:16px;
  height:16px;
  stroke:#64748b;
  transition:.2s;
}

/* HOVER */
.nav-item:hover{
  background:#648bb1;
  color:#1a2744;
}

.nav-item:hover .ni-icon{
  stroke:#1a2744;
}

/* ACTIVE */
.nav-item.active{
  background:rgba(37,99,235,.10);
  color:#a8b1c6;
  font-weight:600;
  border-left:3px solid #2563eb;
}

.nav-item.active .ni-icon{
  stroke:#2563eb;
}

/* SCROLLBAR (CLEAN) */
.sb-nav::-webkit-scrollbar{
  width:4px;
}
.sb-nav::-webkit-scrollbar-thumb{
  background:#cbd5e1;
  border-radius:4px;
}

/* FOOTER */
.sb-footer{
  padding:12px;
  border-top:1px solid var(--border);
}

.user-row{
  display:flex;
  align-items:center;
  gap:10px;
}

.user-ava{
  width:32px;
  height:32px;
  border-radius:50%;
  background:linear-gradient(135deg,#1a2744,#2563eb);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:700;
  color:#fff;
}

.user-name{
  font-size:12px;
  font-weight:600;
  color:#ffffff;
}

.user-role{
  font-size:10px;
  color:#ffffff;
}

.sb-logo-img{
  width:276px;
  height:50px;
  /* border-radius:8px; */
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff; /* optional if logo has transparency */
}

.sb-logo-img img{
  width:100%;
  height:100%;
  object-fit:contain;
}
/* ── TOPBAR ── */
.main{margin-left:var(--sw);min-height:100vh;transition:margin-left .25s;display:flex;flex-direction:column}
.main.full{margin-left:0}

.topbar{
  height:var(--topbar);background:#ffffff;
  border-bottom:1px solid var(--border);
  display:flex;align-items:center;gap:10px;padding:0 18px;
  position:sticky;top:0;z-index:100;flex-shrink:0;
}
.tb-menu{
  width:28px;height:28px;display:flex;align-items:center;justify-content:center;
  cursor:pointer;border-radius:6px;color:var(--text-3);
  transition:all .15s;flex-shrink:0;
}
.tb-menu:hover{background:#f1f5f9;color:var(--text)}
.tb-title{font-family:'Space Grotesk',sans-serif;font-size:14px;font-weight:600;color:var(--text);white-space:nowrap}

.tb-pill{
  display:flex;align-items:center;gap:5px;padding:4px 10px;
  background:#f8fafc;border:1px solid var(--border-2);
  border-radius:20px;font-size:11px;color:var(--text-2);
  white-space:nowrap;
}
.tb-pill .dot{width:6px;height:6px;border-radius:50%;background:var(--green);flex-shrink:0;animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}

.tb-right{margin-left:auto;display:flex;align-items:center;gap:8px}
.tb-time{font-size:11px;color:var(--text-3)}
.tb-btn{
  width:30px;height:30px;background:#f8fafc;
  border:1px solid var(--border);border-radius:7px;
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  color:var(--text-2);font-size:13px;transition:all .15s;
}
.tb-btn:hover{background:var(--accent-dim);color:var(--accent)}

.ward-label {
  background: transparent;
  border: none;
  box-shadow: none;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}
.gov-banner{
  position:relative;
  height:280px;
  border-radius:10px;
  overflow:hidden;
  margin-bottom:18px;
  background:
    url('https://www.legalbites.in/wp-content/uploads/2020/06/Indian-Parliament.jpg') center/cover no-repeat;
  border:1px solid var(--border);
}

/* Dark overlay for premium govt look */
.gov-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(11,22,41,.9) 20%, rgba(11,22,41,.6) 60%, rgba(11,22,41,.2));
}

/* Content */
.gov-content{
  position:relative;
  height:100%;
  display:flex;
  align-items:center;
  padding:20px 26px;
}

.gov-left{
  max-width:600px;
}

.gov-tag{
  font-size:11px;
  letter-spacing:1px;
  text-transform:uppercase;
  color:#E8B94E;
  font-weight:600;
  margin-bottom:6px;
}

.gov-left h1{
  font-family:'Space Grotesk',sans-serif;
  font-size:24px;
  font-weight:700;
  color:#fff;
  margin-bottom:6px;
}

.gov-left p{
  font-size:12px;
  color:#cbd5e1;
  line-height:1.6;
  margin-bottom:10px;
}

.gov-info{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.gov-info span{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.15);
  padding:5px 12px;
  border-radius:20px;
  font-size:11px;
  color:#e2e8f0;
}

/* ── CONTENT ── */
.content{flex:1;padding:18px 20px;overflow-y:auto}
.page{display:none;animation:fadeIn .2s ease}
.page.active{display:block}
@keyframes fadeIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}

/* ── PAGE HEADER ── */
.pg-header{margin-bottom:18px}
.pg-header h2{
  font-family:'Space Grotesk',sans-serif;font-size:19px;font-weight:700;color:var(--text);
  display:flex;align-items:center;gap:10px;
}
.pg-header h2 .ph-icon{
  width:32px;height:32px;border-radius:8px;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.pg-header p{font-size:12px;color:var(--text-3);margin-top:4px;padding-left:42px}

/* ── STAT ROW ── */
.stat-row{display:grid;gap:12px;margin-bottom:16px}
.stat-row.cols-5{grid-template-columns:repeat(5,1fr)}
.stat-row.cols-4{grid-template-columns:repeat(4,1fr)}
.stat-row.cols-3{grid-template-columns:repeat(3,1fr)}

.stat-card{
  background:var(--card);border:1px solid var(--border);border-radius:10px;
  padding:14px 16px;display:flex;align-items:flex-start;gap:12px;
  transition:border-color .15s;
}
.stat-card:hover{border-color:var(--border-2)}
.sc-icon{
  width:38px;height:38px;border-radius:9px;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.sc-icon svg{width:18px;height:18px}
.sc-val{font-family:'Space Grotesk',sans-serif;font-size:20px;font-weight:700;line-height:1;color:var(--text)}
.sc-lbl{font-size:11px;font-weight:600;color:var(--text-2);margin-top:3px}
.sc-sub{font-size:10px;color:var(--text-3);margin-top:1px}

/* ── CARD ── */
.card{
  background:var(--card);border:1px solid var(--border);border-radius:10px;
  padding:14px 16px;
}
.card-hdr{
  display:flex;align-items:center;gap:7px;margin-bottom:12px;
  font-size:12px;font-weight:700;color:var(--text);
}
.card-hdr-bar{width:3px;height:13px;border-radius:2px;display:inline-block;flex-shrink:0}

/* ── GRID ── */
.g2{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:16px}
.g3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;margin-bottom:16px}
.g3-wide{display:grid;grid-template-columns:2fr 1fr;gap:14px;margin-bottom:16px}
.g4{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}
.mb14{margin-bottom:14px}
.mb16{margin-bottom:16px}

/* ── MAP WRAP ── */
.map-wrap{
  background:var(--card);border:1px solid var(--border);border-radius:10px;padding:14px 16px;
}
.map-wrap h3{font-size:13px;font-weight:700;color:var(--text);margin-bottom:10px}
.map-box{border-radius:8px;overflow:hidden;border:1px solid var(--border)}

/* ── TAB BAR ── */
.tab-bar{
  display:flex;gap:4px;background:var(--card);border:1px solid var(--border);
  border-radius:10px;padding:5px;margin-bottom:14px;overflow-x:auto;flex-wrap:nowrap;
}
.tab-bar::-webkit-scrollbar{height:0}
.tab-btn{
  flex-shrink:0;padding:7px 13px;border:none;border-radius:7px;
  font-size:12px;font-weight:600;cursor:pointer;
  transition:all .15s;color:var(--text-3);background:transparent;
  white-space:nowrap;
}
.tab-btn:hover{color:var(--text-2);background:#f1f5f9}
.tab-btn.active{background:var(--accent);color:#fff}

/* ── LAYER CONTROL (CHECKBOXES) ── */
.layer-panel{
  background: rgb(156 196 255 / 0.73);border:1px solid #0c2855;border-radius:10px;
  padding:12px 14px;margin-bottom:12px;
}
.layer-panel-title{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.8px;color:#000;margin-bottom:10px}
.layer-checks{display:flex;flex-wrap:wrap;gap:8px}
.layer-check{
  display:flex;align-items:center;gap:7px;padding:7px 12px;
  background:#ffffff;border:1px solid var(--border-2);border-radius:8px;
  cursor:pointer;transition:all .15s;font-size:12px;font-weight:500;color:var(--text-2);
}
.layer-check:hover{border-color:rgba(37,99,235,.4);color:var(--text)}
.layer-check input{display:none}
.layer-check .lc-box{
  width:14px;height:14px;border:2px solid var(--border-2);border-radius:3px;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  transition:all .15s;
}
.layer-check input:checked ~ .lc-content .lc-box,
.layer-check:has(input:checked) .lc-box{
  background:var(--accent);border-color:var(--accent);
}
.layer-check .lc-box::after{
  content:'✓';font-size:9px;color:transparent;font-weight:700;
  transition:color .1s;
}
.layer-check:has(input:checked) .lc-box::after{color:#fff}
.lc-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.lc-content{display:flex;align-items:center;gap:7px}

/* ── TABLE ── */
.dt{width:100%;border-collapse:collapse;font-size:12px}
.dt thead th{
  background:#f8fafc;padding:9px 12px;text-align:left;
  font-weight:600;color:var(--text-3);border-bottom:1px solid var(--border);
  font-size:10px;text-transform:uppercase;letter-spacing:.4px;
}
.dt tbody td{padding:10px 12px;border-bottom:1px solid #f1f5f9;color:var(--text-2)}
.dt tbody tr:last-child td{border-bottom:none}
.dt tbody tr:hover td{background:#f8fafc}

/* ── BADGE ── */
.badge{font-size:10px;font-weight:600;padding:2px 9px;border-radius:20px;white-space:nowrap}
.bg{background:#dcfce7;color:#15803d;border:1px solid #bbf7d0}
.bb{background:#dbeafe;color:#1d4ed8;border:1px solid #bfdbfe}
.ba{background:#fef3c7;color:#92400e;border:1px solid #fde68a}
.br{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}
.bp{background:#f3e8ff;color:#6d28d9;border:1px solid #e9d5ff}

/* ── PROGRESS BAR ── */
.prog-bar{height:5px;background:#e2e8f0;border-radius:3px;overflow:hidden;margin-top:4px}
.prog-fill{height:100%;border-radius:3px;transition:width .4s ease}

/* ── OVERVIEW HERO ── */
.mp-hero{
  background: #0c2855;border:1px solid rgb(41, 71, 182);border-radius:12px;
  overflow:hidden;margin-bottom:16px;
}
.mp-hero-top{height:3px;background:linear-gradient(90deg,#2563eb,#60a5fa,#38bdf8)}
.mp-hero-body{display:flex;flex-wrap:wrap}
.mp-identity{display:flex;align-items:center;gap:18px;padding:20px 24px;flex:1;min-width:280px}
.mp-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);border-left:1px solid rgba(255, 255, 255, 0.06);min-width:320px}
.mp-stat-cell{padding:18px 12px;text-align:center;border-right:1px solid rgba(255, 255, 255, 0.422)}
.mp-stat-cell:last-child{border-right:none}
.mp-stat-lbl{font-size:10px;font-weight:600;color: #ffffff;text-transform:uppercase;letter-spacing:.5px}
.mp-stat-val{font-family:'Space Grotesk',sans-serif;font-size:16px;font-weight:700;margin-top:4px;line-height:1;color: #fff}
.mp-stat-sub{font-size:10px;color: #ffffff;margin-top:3px}
.mp-footer{display:flex;border-top:1px solid rgba(255,255,255,.06);font-size:11px;color:#475569}
.mp-footer-l{flex:1;padding:10px 24px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.mp-footer-r{padding:10px 16px;border-left:1px solid rgba(255,255,255,.06);display:flex;align-items:center;gap:6px}

/* ── ALERT ITEM ── */
.alert-item{display:flex;align-items:flex-start;gap:10px;padding:10px 0;border-bottom:1px solid var(--border)}
.alert-item:last-child{border-bottom:none}
.alert-icon{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:13px}
.alert-body{flex:1}
.alert-title{font-size:12px;font-weight:600;color:var(--text)}
.alert-desc{font-size:11px;color:var(--text-3);margin-top:2px}
.alert-time{font-size:10px;color:var(--text-3);white-space:nowrap}

/* ── METRIC ITEM ── */
.metric-item{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid var(--border)}
.metric-item:last-child{border-bottom:none}
.m-lbl{flex:1;font-size:12px;color:var(--text-2)}
.m-val{font-size:12px;font-weight:700;color:var(--text)}
.m-chg{font-size:11px;font-weight:600;color:var(--green)}

/* ── FOOTER ROW ── */
.footer-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.fc{background:var(--card);border:1px solid var(--border);border-radius:10px;padding:14px;display:flex;align-items:flex-start;gap:10px}
.fc-icon{width:34px;height:34px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.fc-icon svg{width:16px;height:16px;fill:white}
.fc-title{font-size:12px;font-weight:700;color:var(--text)}
.fc-sub{font-size:11px;color:var(--text-3);margin-top:2px}

/* ── SCHEME CARD ── */
.scheme-card{
  background:var(--card);border:1px solid var(--border);border-radius:10px;padding:14px 16px;
  display:flex;flex-direction:column;gap:8px;transition:border-color .15s;
}
.scheme-card:hover{border-color:var(--border-2)}
.scheme-card h4{font-size:13px;font-weight:700;color:var(--text)}
.scheme-card p{font-size:11px;color:var(--text-3);line-height:1.6}
.scheme-meta{display:flex;gap:8px;flex-wrap:wrap}

/* ── FEEDBACK FORM ── */
.form-group{margin-bottom:14px}
.form-label{font-size:11px;font-weight:600;color:var(--text-2);margin-bottom:5px;display:block;text-transform:uppercase;letter-spacing:.4px}
.form-input,.form-select,.form-textarea{
  width:100%;padding:9px 12px;background:#f8fafc;border:1px solid var(--border-2);
  border-radius:8px;color:var(--text);font-size:12px;outline:none;font-family:'DM Sans',sans-serif;
  transition:border-color .15s;
}
.form-input:focus,.form-select:focus,.form-textarea:focus{border-color:var(--accent)}
.form-select option{background:#ffffff}
.form-textarea{resize:vertical;min-height:90px;line-height:1.6}
.form-btn{
  background:var(--accent);color:#fff;border:none;padding:10px 22px;
  border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;
  transition:all .15s;font-family:'DM Sans',sans-serif;
}
.form-btn:hover{background:var(--accent-l)}

/* ── CULTURAL BUTTONS ── */
.cult-btn{
  display:flex;align-items:center;gap:10px;padding:14px 16px;
  background:var(--card);border:1px solid var(--border);border-radius:10px;
  cursor:pointer;transition:all .2s;text-decoration:none;color:var(--text);
}
.cult-btn:hover{border-color:var(--accent);background:var(--accent-dim);transform:translateY(-2px)}
.cult-icon{width:40px;height:40px;border-radius:9px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:20px}
.cult-title{font-size:13px;font-weight:700;color:var(--text)}
.cult-sub{font-size:11px;color:var(--text-3);margin-top:2px}

/* ── FEEDBACK ITEM ── */
.fb-item{background:var(--card);border:1px solid var(--border);border-radius:10px;padding:14px;margin-bottom:10px}
.fb-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:8px}
.fb-user{display:flex;align-items:center;gap:9px}
.fb-avatar{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,var(--accent),var(--purple));display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:#fff}
.fb-name{font-size:12px;font-weight:700;color:var(--text)}
.fb-time{font-size:10px;color:var(--text-3)}
.fb-status{font-size:10px;padding:2px 8px;border-radius:20px}
.fb-body p{font-size:12px;color:var(--text-2);line-height:1.6}

/* ── DASHBOARD OVERRIDE ── */
.dash-banner{
  background:linear-gradient(135deg,#1a2744 0%,#1e3a6e 100%);
  border:1px solid rgba(255,255,255,.08);border-radius:12px;
  padding:20px 24px;margin-bottom:16px;
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;
}
.dash-banner-left h2{font-family:'Space Grotesk',sans-serif;font-size:20px;font-weight:700;color:#f8fafc}
.dash-banner-left p{font-size:12px;color:#94a3b8;margin-top:4px}
.dash-banner-right{display:flex;gap:8px;flex-wrap:wrap}
.db-pill{
  padding:6px 14px;border-radius:20px;font-size:11px;font-weight:600;
  border:1px solid rgba(255,255,255,.12);color:#cbd5e1;background:rgba(255,255,255,.06);
}

/* Leaflet light overrides */
.leaflet-container{background:#e8f0f7!important}
.leaflet-control-zoom a{background:#ffffff!important;color:var(--text)!important;border-color:var(--border-2)!important}
.leaflet-control-zoom a:hover{background:#f1f5f9!important}
.leaflet-control-attribution{background:rgba(255,255,255,.85)!important;color:var(--text-3)!important;font-size:9px}
.leaflet-tile-pane{filter:none}

/* ── SPARKLINE ── */
.spark{width:54px;height:22px}

/* ── RESPONSIVE INFRA STRIP ── */
.infra-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:14px}
.is-card{background:var(--card);border:1px solid var(--border);border-radius:10px;padding:12px 14px;display:flex;align-items:center;gap:10px}
.is-icon{width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.is-val{font-family:'Space Grotesk',sans-serif;font-size:18px;font-weight:700;color:var(--text)}
.is-lbl{font-size:11px;color:var(--text-3);font-weight:500}

/* ── SCHEMES GRID ── */
.schemes-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:16px}

/* ── SEPARATOR ── */
.sep{height:1px;background:var(--border);margin:14px 0}

/* Overlay dim */
.map-overlay{position:absolute;top:8px;right:8px;z-index:500;background:rgba(255,255,255,.92);border:1px solid var(--border);border-radius:8px;padding:8px 12px;font-size:11px;color:var(--text-2);pointer-events:none}

/* ================================
   MP + MLA SECTION
================================ */
.mp-hero-top{
  height:4px;
  background:linear-gradient(90deg,#2563eb,#38bdf8,#60a5fa);
}

.mp-hero-body{
  padding:18px 22px;
}

.mp-identity{
  display:flex;
  gap:16px;
  align-items:flex-start;
  margin-bottom:16px;
}

.mp-identity img{
  box-shadow:0 0 0 2px rgba(37,99,235,.2);
}

.mp-stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin-top:10px;
}

.mp-stat-cell{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  border-radius:8px;
  padding:12px;
  text-align:center;
  transition:.2s;
}

.mp-stat-cell:hover{
  border-color:rgba(96,165,250,.4);
  background:rgba(37,99,235,.12);
}

.mp-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 20px;
  border-top:1px solid rgba(255,255,255,.06);
  background:rgba(255,255,255,.02);
}

/* ================================
   MLA GRID
================================ */
.mla-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}

.mla-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:12px;
  overflow:hidden;
  transition:.25s;
  position:relative;
}

.mla-card:hover{
  transform:translateY(-4px);
  border-color:var(--accent);
  box-shadow:0 8px 24px rgba(37,99,235,.12);
}

.show-more-btn{
  background:linear-gradient(135deg,var(--accent),var(--accent-l));
  color:#fff;
  border:none;
  padding:10px 26px;
  border-radius:10px;
  font-size:12px;
  font-weight:600;
  letter-spacing:.3px;
  cursor:pointer;
  transition:all .25s ease;
  box-shadow:0 4px 12px rgba(37,99,235,.2);
}

.show-more-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(37,99,235,.3);
}

.show-more-btn:active{
  transform:scale(.96);
}

/* TOP COLOR BAR */
.mla-top-bar{
  height:4px;
}

/* BODY */
.mla-body{
  padding:14px;
}

/* HEADER */
.mla-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:8px;
}

.mla-head img{
  width:38px;
  height:38px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid var(--border-2);
}

.mla-init{
  width:38px;
  height:38px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:700;
}

/* NAME */
.mla-name{
  font-size:13px;
  font-weight:700;
  color:var(--text);
}

/* META */
.mla-meta{
  font-size:10px;
  color:var(--text-3);
  margin-bottom:8px;
  line-height:1.4;
}

/* FINANCE */
.mla-finance{
  display:flex;
  justify-content:space-between;
  font-size:11px;
  margin-bottom:10px;
}

/* PERFORMANCE */
.mla-perf-hdr{
  display:flex;
  justify-content:space-between;
  font-size:10px;
  margin-bottom:4px;
}

.mla-perf-bar{
  height:6px;
  background:#e2e8f0;
  border-radius:4px;
  overflow:hidden;
}

.mla-perf-bar div{
  height:100%;
  border-radius:4px;
  transition:width .4s ease;
}

/* ================================
   RESPONSIVE
================================ */
@media(max-width:1100px){
  .mla-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .mp-stats-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:600px){
  .mla-grid{
    grid-template-columns:1fr;
  }
  .mp-identity{
    flex-direction:column;
  }
}
