
:root{
  --primary:#2563eb;
  --primary-dark:#1e3a8a;
  --bg:#f1f5f9;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --border:#e2e8f0;
  --radius:22px;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Inter,Arial,sans-serif;
}

body{
  background:var(--bg);
  color:var(--text);
}

.layout{
  display:flex;
  min-height:100vh;
}

.sidebar{
  width:280px;
  background:linear-gradient(180deg,#0f172a,#1e3a8a);
  color:white;
  padding:30px;
  min-height:100vh;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:35px;
}

.brand-logo{
  width:54px;
  height:54px;
  border-radius:18px;
  background:rgba(255,255,255,0.15);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  font-weight:700;
}

.sidebar a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:15px 18px;
  border-radius:16px;
  margin-top:12px;
  text-decoration:none;
  color:white;
  transition:0.25s;
  background:rgba(255,255,255,0.05);
}

.sidebar a:hover,
.sidebar a.active{
  background:#2563eb;
  transform:translateX(4px);
}

.content{
  flex:1;
  padding:40px;
}

.hero{
  background:linear-gradient(135deg,#2563eb,#60a5fa);
  color:white;
  padding:50px;
  border-radius:30px;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.hero h1{
  font-size:34px;
  margin-bottom:12px;
}

.section,
.card,
.stats-card{
  background:white;
  border-radius:24px;
  padding:28px;
  margin-top:28px;
  border:1px solid var(--border);
  box-shadow:0 10px 25px rgba(15,23,42,0.06);
}

.stats-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:20px;
  margin-top:28px;
}

.stats-card .number{
  font-size:36px;
  font-weight:700;
  color:var(--primary);
}

table{
  width:100%;
  border-collapse:collapse;
  margin-top:20px;
  overflow:hidden;
  border-radius:18px;
}

th{
  background:#eff6ff;
  color:#1e3a8a;
}

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

input,
textarea,
select{
  width:100%;
  padding:15px 16px;
  border-radius:14px;
  border:1px solid #cbd5e1;
  margin-top:14px;
}

button{
  margin-top:18px;
  padding:15px 24px;
  border:none;
  border-radius:14px;
  background:linear-gradient(135deg,#2563eb,#3b82f6);
  color:white;
  font-weight:600;
  cursor:pointer;
}

.auth-box{
  width:min(440px,92%);
  margin:80px auto;
  background:white;
  border-radius:28px;
  padding:42px;
  box-shadow:0 10px 30px rgba(15,23,42,0.08);
}

@media(max-width:1000px){
  .layout{
    flex-direction:column;
  }

  .sidebar{
    width:100%;
    min-height:auto;
  }

  .content{
    padding:22px;
  }
}
