:root{
  --brand:#2f2aa5;
  --bg:#f5f6f8;
  --card:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;
  --radius:16px;
}

html,body{height:100%;}
body{background:var(--bg); color:var(--text); font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;}
body .table-responsive {
  overflow-x: unset;
}
.card{border:0; border-radius:var(--radius); box-shadow:0 1px 0 rgba(17,24,39,.04);}

.btn-primary{background:var(--brand); border-color:var(--brand);}
.btn-primary:hover{filter:brightness(.95);}

.sidebar{
  width:280px; background:#fff; min-height:100vh;
  border-right:1px solid rgba(229,231,235,.7);
}
.sidebar .brand{display:flex; align-items:center; gap:10px; padding:12px 10px; margin-bottom:12px;}
.sidebar .brand img{height:32px;}
.sidebar .section-title{color:var(--muted); font-size:12px; letter-spacing:.08em; margin:18px 10px 8px;}
.sidebar .nav-link{
  border-radius:12px; padding:10px 12px; color:#111827;
}
.sidebar .nav-link.active{
  background:rgba(47,42,165,.10);
  color:var(--brand);
  font-weight:600;
}

.topbar{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:16px;
}
.breadcrumb-lite{color:var(--muted); font-size:13px;}
.page-title{font-size:22px; font-weight:700; margin:0;}
.top-actions{display:flex; align-items:center; gap:14px;}
.badge-dot{background:#ef4444; border-radius:999px; padding:3px 7px; color:#fff; font-size:12px;}

.table thead th{color:var(--muted); font-weight:600; font-size:13px; border-bottom:1px solid var(--line);}
.table tbody td{border-bottom:1px solid rgba(229,231,235,.6); vertical-align:middle;}
.chip{
  display:inline-flex; align-items:center; gap:6px;
  border:1px solid rgba(229,231,235,.9);
  background:#fff;
  padding:3px 10px;
  border-radius:999px;
  font-size:12px;
}

.form-control,.form-select{border-radius:12px; padding:.65rem .9rem;}
.form-label{font-weight:600; font-size:13px;}
.text-hint{color:var(--muted); font-size:12px;}

.auth-wrap{min-height:100vh; display:flex;}
.auth-left{
  flex:1; background:#0d0a7a; color:#fff;
  display:flex; align-items:center; justify-content:center;
  position:relative;
}
.auth-left .hero{max-width:520px; padding:40px;}
.auth-left h1{font-size: 40px; font-weight:800; margin:0 0 8px;}
.auth-left p{opacity:.75; margin:0;}
.auth-right{
  flex:1; background:#fff;
  display:flex; align-items:center; justify-content:center;
}
.auth-card{width:min(520px, 92%); padding:36px;}
.auth-card h2{font-size:34px; font-weight:800;}
.link{color:var(--brand); text-decoration:none;}
.link:hover{text-decoration:underline;}

.otp-box{display:flex; gap:14px; justify-content:center; margin:16px 0 18px;}
.otp-box input{
  width:64px; height:64px; text-align:center;
  font-size:22px; font-weight:700;
  border-radius:14px; border:1px solid var(--line);
}
.center-card{
  width:min(520px, 92%);
  background:#fff; border-radius:26px;
  padding:28px; text-align:center;
  box-shadow:0 10px 40px rgba(0,0,0,.08);
}
.center-icon{
  width:64px;height:64px;border-radius:999px;
  margin:0 auto 12px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(47,42,165,.12); color:var(--brand);
  font-weight:900;
}
