/* =====================================================
   style.css - Bimbel Jembatan Ilmu
   Tema: Biru #1e3a8a & Kuning #fbbf24
   ===================================================== */
:root {
  --biru: #1e3a8a;
  --biru-light: #3b5bdb;
  --kuning: #fbbf24;
  --kuning-dark: #d97706;
}

* { font-family: 'Inter', sans-serif; }
h1,h2,h3,h4,h5,.navbar-brand,.fw-bold { font-family: 'Poppins', sans-serif; }

body.bg-absen {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #0f172a 100%);
  min-height: 100vh;
}

/* ===== Live Clock ===== */
.live-clock {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--biru);
  letter-spacing: 2px;
  line-height: 1;
}
.live-date { color: #64748b; font-size: 1.05rem; margin-top: .25rem; }
@media (max-width:576px) { .live-clock { font-size: 2.2rem; } }

/* ===== Card Siswa ===== */
.card-siswa {
  background: linear-gradient(135deg, #eff6ff 0%, #fef3c7 100%);
  border-left: 6px solid var(--kuning) !important;
  animation: slideDown .4s ease;
}
.avatar-circle {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--biru); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}

/* ===== Status Group ===== */
.status-group { display: flex; gap: .5rem; flex-wrap: wrap; }
.status-group .btn { flex: 1; min-width: 90px; font-weight: 600; }

/* ===== Tombol ABSEN ===== */
.btn-absen {
  background: linear-gradient(135deg, var(--kuning) 0%, #f59e0b 100%);
  color: #1e293b;
  border: none;
  font-size: 1.4rem;
  padding: 1rem;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(251,191,36,.45);
  transition: all .2s;
}
.btn-absen:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(251,191,36,.6);
}
.btn-absen:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn-absen:not(:disabled) { animation: pulse 1.6s infinite; }

@keyframes pulse {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.02); }
}
@keyframes slideDown {
  from { opacity:0; transform: translateY(-12px); }
  to   { opacity:1; transform: translateY(0); }
}
.fade-in { animation: slideDown .5s ease; }

/* ===== Step List ===== */
.step-list { padding-left: 1.25rem; }
.step-list li { margin-bottom: .5rem; }

/* ===== Stat Card ===== */
.stat-card {
  border-radius: 16px; padding: 1.1rem 1.25rem; color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.stat-card .stat-num { font-size: 1.8rem; font-weight: 700; font-family: 'Poppins'; }
.stat-blue   { background: linear-gradient(135deg,#1e3a8a,#3b5bdb); }
.stat-green  { background: linear-gradient(135deg,#059669,#10b981); }
.stat-yellow { background: linear-gradient(135deg,#d97706,#fbbf24); }
.stat-red    { background: linear-gradient(135deg,#b91c1c,#ef4444); }

/* ===== Login ===== */
.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  padding: 1rem;
}
.login-card { width: 100%; max-width: 420px; }
.login-icon {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto;
  background: linear-gradient(135deg, var(--biru), var(--biru-light));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
}
</style>