:root{
  --bg:#f6f7fb;
  --card:#ffffff;
  --text:#101828;
  --muted:#667085;
  --line:#e6e8ee;
  --primary:#166534;
  --success:#16a34a;
  --warn:#f59e0b;
  --danger:#ef4444;
  --shadow:0 10px 25px rgba(16,24,40,.08);
  --radius:16px;
}

*{ box-sizing:border-box; }

body{
  background:var(--bg);
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

.content-wrapper{
  background:var(--bg) !important;
}

.brand-link{
  font-weight:700;
}

.brand-link .brand-text{
  letter-spacing:.2px;
}

.page-title{
  font-weight:800;
  margin:0;
}

.page-subtitle{
  color:var(--muted);
  margin-top:4px;
}

.card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.card-header{
  background:#fff;
  border-bottom:1px solid var(--line);
  border-radius:var(--radius) var(--radius) 0 0 !important;
}

.card-title{
  font-weight:800;
}

.small-box{
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.table td, .table th{
  vertical-align:middle;
}

.btn{
  border-radius:12px;
  font-weight:700;
}

.form-control{
  border-radius:12px;
}

.form-control:focus{
  border-color:rgba(22,101,52,.45);
  box-shadow:0 0 0 4px rgba(22,101,52,.10);
}

.badge{
  padding:7px 10px;
  border-radius:999px;
}

.home-hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  background:linear-gradient(135deg,#111827,#166534);
  color:#fff;
}

.home-card{
  border-radius:22px;
  box-shadow:0 22px 50px rgba(0,0,0,.2);
  border:0;
}

.hero-title{
  font-size:46px;
  font-weight:900;
  line-height:1.05;
}

.hero-subtitle{
  font-size:18px;
  color:#e5e7eb;
}

.feature-box{
  background:#fff;
  color:#1f2937;
  border-radius:18px;
  padding:22px;
  height:100%;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.feature-box i{
  font-size:30px;
  margin-bottom:12px;
  color:#166534;
}

.btn-access{
  border-radius:50px;
  padding:13px 28px;
  font-weight:800;
}

.badge-system{
  background:rgba(255,255,255,.16);
  color:#fff;
  padding:9px 15px;
  border-radius:50px;
  display:inline-block;
  margin-bottom:18px;
}

.main-sidebar .nav-link.active{
  background:rgba(255,255,255,.12) !important;
}

@media(max-width:768px){
  .hero-title{ font-size:32px; }
}
