*{box-sizing:border-box}

html,body{
  margin:0;
  min-height:100%;
  font-family:Inter,Segoe UI,Arial,sans-serif;
  color:#111827;
  background:#f3f6fb;
}

a{
  text-decoration:none;
  color:#2563eb;
}

.muted{
  color:#64748b;
  line-height:1.65;
}

/* LOGIN PAGE */
.auth-layout{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px;
  background:
    radial-gradient(circle at 20% 10%,rgba(37,99,235,.12),transparent 32%),
    radial-gradient(circle at 80% 80%,rgba(14,165,233,.10),transparent 30%),
    #f8fafc;
}

.auth-panel{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.auth-card{
  width:100%;
  max-width:450px;
  background:#fff;
  padding:46px;
  border-radius:30px;
  box-shadow:0 30px 90px rgba(15,23,42,.16);
  border:1px solid #e5e7eb;
}

.brand-kicker{
  font-size:13px;
  font-weight:900;
  letter-spacing:2px;
  color:#2563eb;
  margin-bottom:22px;
}

.auth-card h1{
  font-size:36px;
  margin:0 0 10px;
  letter-spacing:-1px;
}

.form-stack{
  display:flex;
  flex-direction:column;
  gap:18px;
  margin-top:28px;
}

.form-stack label{
  font-size:14px;
  font-weight:800;
  color:#334155;
}

.form-stack input[type=email],
.form-stack input[type=password]{
  display:block;
  width:100%;
  height:52px;
  margin-top:8px;
  border:1px solid #cbd5e1;
  border-radius:15px;
  padding:0 16px;
  font-size:15px;
  outline:none;
  background:#fff;
}

.form-stack input:focus{
  border-color:#2563eb;
  box-shadow:0 0 0 5px rgba(37,99,235,.14);
}

.form-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}

.check{
  display:flex!important;
  align-items:center;
  font-weight:500!important;
  gap:8px;
  margin:0;
}

.btn-primary{
  height:52px;
  border:0;
  border-radius:15px;
  background:linear-gradient(135deg,#2563eb,#1e40af);
  color:#fff;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 18px 35px rgba(37,99,235,.28);
}

.btn-primary:hover{
  background:linear-gradient(135deg,#1d4ed8,#1e3a8a);
}

.btn-primary.small{
  height:40px;
  padding:0 16px;
}

.copyright{
  text-align:center;
  font-size:12px;
  color:#94a3b8;
  margin:28px 0 0;
}

.alert{
  padding:13px 15px;
  border-radius:14px;
  margin-top:20px;
}

.alert.error{
  background:#fef2f2;
  border:1px solid #fecaca;
  color:#b91c1c;
}

/* HERO AUS */
.auth-hero{
  display:none!important;
}

/* DASHBOARD */
.app-body{
  display:flex;
  min-height:100vh;
}

.sidebar{
  width:280px;
  background:#0f172a;
  color:#fff;
  padding:28px 20px;
  position:fixed;
  inset:0 auto 0 0;
}

.side-brand{
  font-weight:950;
  font-size:24px;
  margin:0 0 34px;
}

.side-brand span{
  display:block;
  font-size:12px;
  letter-spacing:2px;
  color:#60a5fa;
  text-transform:uppercase;
}

.sidebar nav{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.sidebar a{
  color:#cbd5e1;
  padding:13px 14px;
  border-radius:14px;
}

.sidebar a.active,
.sidebar a:hover{
  background:#1d4ed8;
  color:#fff;
}

.main{
  margin-left:280px;
  flex:1;
  padding:34px;
}

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:28px;
}

.topbar h1{
  font-size:32px;
  margin:0;
}

.topbar p{
  margin:6px 0 0;
  color:#64748b;
}

.btn-light{
  background:#fff;
  border:1px solid #e2e8f0;
  color:#0f172a;
  padding:12px 16px;
  border-radius:14px;
  font-weight:800;
}

.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  margin-bottom:24px;
}

.stat-card,
.content-card{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:24px;
  box-shadow:0 18px 50px rgba(15,23,42,.07);
}

.stat-card{
  padding:24px;
}

.stat-card span{
  color:#64748b;
  font-size:14px;
}

.stat-card strong{
  display:block;
  font-size:34px;
  margin:12px 0;
  color:#0f172a;
}

.stat-card small{
  color:#94a3b8;
}

.content-card{
  padding:24px;
}

.card-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:18px;
}

.card-head h2{
  margin:0;
}

table{
  width:100%;
  border-collapse:collapse;
}

th,td{
  text-align:left;
  padding:14px;
  border-bottom:1px solid #e2e8f0;
}

th{
  color:#64748b;
  font-size:13px;
}

.pill{
  background:#dcfce7;
  color:#166534;
  padding:6px 10px;
  border-radius:999px;
  font-weight:800;
  font-size:12px;
}

/* MOBILE */
@media(max-width:920px){
  .auth-layout{
    padding:24px;
  }

  .auth-panel{
    min-height:100vh;
  }

  .auth-card{
    padding:32px 24px;
    border-radius:24px;
  }

  .auth-card h1{
    font-size:30px;
  }

  .sidebar{
    display:none;
  }

  .main{
    margin-left:0;
    padding:20px;
  }

  .stats-grid{
    grid-template-columns:1fr;
  }

  .topbar{
    align-items:flex-start;
    gap:20px;
  }

  .app-body{
    display:block;
  }
}
.login-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:28px;
}

.login-logo img{
  max-width:240px;
  width:100%;
  height:auto;
  display:block;
}
.auth-header{
  text-align:center;
}

.login-logo{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:28px;
}

.login-logo img{
  display:block;
  margin:0 auto;
  max-width:260px;
  width:100%;
  height:auto;
}
.alert.success{
  background:#ecfdf5;
  border:1px solid #a7f3d0;
  color:#166534;
}
.btn-secondary{
  height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:15px;
  background:#eef2ff;
  color:#1e40af;
  font-weight:800;
  margin-top:12px;
  border:1px solid #c7d2fe;
}

.btn-secondary:hover{
  background:#dbeafe;
}