:root {
  --lms-primary: #4f46e5;
  --lms-primary-dark: #3730a3;
  --lms-bg: #f4f5fb;
}
body {
  background: var(--lms-bg);
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.navbar-lms {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}
.navbar-lms .brand-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--lms-primary); display: inline-block; margin-right: 6px;
}
.card-stat {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  padding: 1.25rem;
}
.card-stat .stat-num { font-size: 1.8rem; font-weight: 700; }
.card-stat .stat-label { color: #6b7280; font-size: .85rem; }
.btn-lms {
  background: var(--lms-primary);
  border-color: var(--lms-primary);
  color: #fff;
}
.btn-lms:hover { background: var(--lms-primary-dark); color: #fff; }
.auth-wrap {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-card {
  background: #fff;
  border-radius: 18px;
  padding: 2rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}
.module-item.done {
  background: #ecfdf5;
  border-color: #10b981 !important;
}
.progress-thin { height: 8px; border-radius: 6px; }

/* Bottom nav (mobile) - tampil di layar kecil, top navbar tetap dipakai di desktop */
body.has-bottom-nav { padding-bottom: 76px; }
.bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1030;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  display: flex;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 14px rgba(15, 23, 42, .05);
}
.bottom-nav a {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 9px 4px 7px;
  color: #6b7280;
  text-decoration: none;
  font-size: .68rem;
  font-weight: 600;
}
.bottom-nav a svg { width: 22px; height: 22px; }
.bottom-nav a.active { color: var(--lms-primary); }
.bottom-nav a.active svg { fill: var(--lms-primary); }
.bottom-nav a:not(.active) svg { fill: #9ca3af; }
@media (min-width: 992px) {
  .bottom-nav { display: none; }
  body.has-bottom-nav { padding-bottom: 0; }
}
