/*
 * mobile.css – Gaya paparan mudah alih
 * Sistem CME Mingguan HSNZ
 */

/* ── Sticky footer ───────────────────────────────── */
html { height: 100%; }
body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.page-footer { margin-top: auto; }

/* ── Bottom navigation bar (mobile only) ─────────── */
.mob-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1040;
  background: #003366;
  border-top: 2px solid #f59e0b;
  height: 58px;
  box-shadow: 0 -3px 12px rgba(0,0,0,.25);
}
.mob-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 5px 2px 4px;
  gap: 2px;
  transition: color .15s, background .15s;
}
.mob-bottom-nav a i {
  font-size: 1.25rem;
  line-height: 1;
}
.mob-bottom-nav a.active {
  color: #f59e0b;
  background: rgba(255,255,255,.06);
}
.mob-bottom-nav a:hover {
  color: #fcd34d;
}
.mob-bottom-nav a.active i {
  color: #f59e0b;
}

/* ── Show bottom nav + add body padding on mobile ── */
@media (max-width: 767px) {
  .mob-bottom-nav { display: flex; }
  body { padding-bottom: 64px; }
  .page-footer { display: none; }
}

/* ── Mobile general improvements ────────────────── */
@media (max-width: 575px) {
  .cme-sched-card .card-body { padding: .75rem !important; }
  .cme-action-btns .btn {
    font-size: .72rem !important;
    padding: .25rem .55rem !important;
  }
  h5.section-title { font-size: .95rem; }
  .card-header { font-size: .9rem; }
}
