/* =========================================================
   Daycare Cendana v2 — Professional Blue Theme
   Unified stylesheet for admin + parent + auth pages
   ========================================================= */

:root {
  /* Brand */
  --brand:         #0055FF;
  --brand-light:   #3377FF;
  --brand-subtle:  #E5F0FF;
  --brand-dark:    #0022AA;

  /* Semantic */
  --success:       #059669;
  --success-bg:    #ECFDF5;
  --warning:       #D97706;
  --warning-bg:    #FFFBEB;
  --danger:        #DC2626;
  --danger-bg:     #FEF2F2;
  --purple:        #7C3AED;
  --purple-bg:     #F5F3FF;

  /* Neutrals (slate scale) */
  --s-50:  #F8FAFC;
  --s-100: #F1F5F9;
  --s-200: #E2E8F0;
  --s-300: #CBD5E1;
  --s-400: #94A3B8;
  --s-500: #64748B;
  --s-600: #475569;
  --s-700: #334155;
  --s-800: #1E293B;
  --s-900: #0F172A;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.03);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 28px rgba(0,0,0,.09);
  --shadow-brand: 0 6px 18px rgba(37,99,235,.18);

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;

  /* Legacy alias (keep backward compat) */
  --cendana-primary:   var(--brand);
  --cendana-secondary: var(--brand-light);
  --cendana-blue:       var(--brand-dark);
  --cendana-yellow:     var(--warning);
  --cendana-bg:          var(--s-100);
  --cendana-ink:          var(--s-800);
  --cendana-muted:      var(--s-500);
  --cendana-border:     var(--s-200);
  --shadow-soft:         var(--shadow-sm);
  --shadow-pop:          var(--shadow-lg);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--s-100);
  color: var(--s-800);
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Admin responsive layout */
.admin-body {
  min-width: 0;
  overflow-x: hidden;
}

/* Bootstrap override */
.row.g-0 { min-height: 100vh; margin: 0; }

/* ============================================================
   SIDEBAR (admin)
   ============================================================ */
.sidebar-admin {
  min-height: 100vh;
  background: linear-gradient(180deg, #1E3A8A 0%, #2563EB 55%, #3B82F6 130%);
  padding: 24px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: sticky;
  top: 0;
}
.sidebar-admin .brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 700; font-size: 1.05rem;
  padding: 4px 10px 24px;
  letter-spacing: -0.01em;
}
.sidebar-admin .brand i { font-size: 1.25rem; }
.sidebar-admin .nav-link {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,.82);
  font-weight: 500; font-size: .88rem;
  padding: 10px 14px;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.sidebar-admin .nav-link i { width: 18px; text-align: center; font-size: .9rem; }
.sidebar-admin .nav-link:hover { background: rgba(255,255,255,.12); color: #fff; }
.sidebar-admin .nav-link.active {
  background: #fff; color: var(--brand);
  font-weight: 600; box-shadow: 0 4px 12px rgba(15,23,42,.18);
}
.sidebar-admin .nav-link-logout {
  margin-top: auto;
  color: rgba(255,255,255,.82);
  border-top: 1px solid rgba(255,255,255,.16);
  padding-top: 14px;
}
.sidebar-admin .nav-link-logout:hover { background: rgba(239,68,68,.22); color: #fff; }

/* ============================================================
   ADMIN PAGE WRAPPER (semua halaman admin)
   ============================================================ */
.page-wrap {
  padding: 30px 34px;
  max-width: 1360px;
  min-height: 100vh;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 26px;
}
.top-bar-left h1 {
  font-size: 1.55rem; font-weight: 700;
  color: var(--s-900); letter-spacing: -0.025em;
  margin: 0 0 2px 0;
}
.top-bar-left .date-badge {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--s-500); font-size: .84rem; font-weight: 500;
}
.user-chip {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--s-200);
  border-radius: var(--r-md); padding: 6px 14px 6px 6px;
  box-shadow: var(--shadow-xs);
}
.user-avatar {
  width: 34px; height: 34px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem;
}
.quick-clock {
  background: #fff; border: 1px solid var(--s-200);
  border-radius: var(--r-sm); padding: 8px 16px;
  font-weight: 600; font-size: .88rem; color: var(--s-700);
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-xs);
}
.quick-clock i { color: var(--brand); font-size: .85rem; }

/* ============================================================
   STAT CARDS
   ============================================================ */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; margin-bottom: 26px;
}
.stat-card {
  background: #fff; border-radius: var(--r-lg);
  padding: 18px 20px;
  border: 1px solid var(--s-200);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: flex-start; justify-content: space-between;
  transition: box-shadow .18s ease, transform .12s ease;
  position: relative; overflow: hidden;
}
.stat-card::after { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; }
.stat-card.students::after { background: var(--brand); }
.stat-card.checkin::after { background: var(--success); }
.stat-card.checkout::after { background: var(--brand-light); }
.stat-card.mood::after { background: var(--warning); }
.stat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.stat-icon-wrap {
  width: 42px; height: 42px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.stat-card.students .stat-icon-wrap { background: var(--brand-subtle); color: var(--brand); }
.stat-card.checkin .stat-icon-wrap { background: var(--success-bg); color: var(--success); }
.stat-card.checkout .stat-icon-wrap { background: #EFF6FF; color: var(--brand-light); }
.stat-card.mood .stat-icon-wrap { background: var(--warning-bg); color: var(--warning); }
.stat-body { flex: 1; margin-left: 14px; }
.stat-body .stat-number { font-size: 1.65rem; font-weight: 800; letter-spacing: -0.02em; color: var(--s-900); line-height: 1.1; }
.stat-body .stat-label { font-size: .78rem; color: var(--s-500); font-weight: 500; margin-top: 2px; }
.stat-ratio { font-size: .76rem; font-weight: 600; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.stat-ratio.good { background: var(--success-bg); color: var(--success); }
.stat-ratio.warn { background: var(--warning-bg); color: var(--warning); }
.stat-ratio.neutral { background: var(--s-100); color: var(--s-500); }

/* Legacy summary-tile (keep compat) */
.summary-tile {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--s-200);
  border-radius: var(--r-lg); padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.summary-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.summary-tile .icon {
  flex: 0 0 auto;
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-md); color: #fff;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.06);
}
.summary-tile .icon i { font-size: 1.1rem; }
.summary-tile h3 { margin: 0; font-weight: 700; font-size: 1.45rem; color: var(--s-800); white-space: nowrap; }
.summary-tile .label { color: var(--s-500); font-size: .8rem; font-weight: 500; }

/* ============================================================
   CARDS
   ============================================================ */
.card-panel {
  background: #fff; border-radius: var(--r-lg);
  border: 1px solid var(--s-200);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card-panel-header {
  padding: 16px 20px; border-bottom: 1px solid var(--s-100);
  display: flex; align-items: center; justify-content: space-between;
}
.card-panel-header h2 {
  font-size: .92rem; font-weight: 700; color: var(--s-800);
  margin: 0; display: flex; align-items: center; gap: 8px;
}
.card-panel-header h2 i { color: var(--brand); font-size: .82rem; }
.card-panel-header .badge-count {
  background: var(--s-100); color: var(--s-600);
  font-size: .74rem; font-weight: 600; padding: 3px 10px; border-radius: 20px;
}
.card-panel-body { padding: 0; }
.section-card {
  background: #fff; border: 1px solid var(--s-200);
  border-radius: var(--r-lg); padding: 22px 24px;
  box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.section-card h5 { font-weight: 700; color: var(--s-800); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.section-card h5 i { color: var(--brand); font-size: .9rem; }

/* ============================================================
   DASHBOARD GRID (2-column layout)
   ============================================================ */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 18px;
}

/* ============================================================
   STUDENT TABLE
   ============================================================ */
.student-table { width: 100%; border-collapse: collapse; }
.student-table thead th {
  padding: 11px 16px; font-size: .7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--s-400); background: var(--s-50);
  border-bottom: 1px solid var(--s-200); text-align: left; white-space: nowrap;
}
.student-table tbody td {
  padding: 12px 16px; border-bottom: 1px solid var(--s-100);
  vertical-align: middle; font-size: .85rem;
}
.student-table tbody tr:last-child td { border-bottom: none; }
.student-table tbody tr:hover { background: var(--s-50); }
.student-cell { display: flex; align-items: center; gap: 12px; }
.student-avatar {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  object-fit: cover; flex-shrink: 0;
}
.student-avatar-placeholder {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .82rem; flex-shrink: 0;
}
.student-name { font-weight: 600; color: var(--s-800); }
.student-nick { font-size: .76rem; color: var(--s-400); }

/* ============================================================
   TABLE (legacy bootstrap-based)
   ============================================================ */
.table-cendana thead th {
  background: linear-gradient(180deg, #F8FAFC, #F1F5F9);
  color: var(--s-500); font-size: .74rem; text-transform: uppercase;
  letter-spacing: .04em; font-weight: 600;
  border-bottom: 2px solid var(--s-200); padding: 12px 14px;
}
.table-cendana td {
  padding: 12px 14px; border-bottom: 1px solid var(--s-100); vertical-align: middle;
}
.table-cendana tbody tr { transition: background .12s ease; }
.table-cendana tbody tr:hover { background: var(--s-50); }

/* ============================================================
   STATUS PILLS & MOOD TAGS
   ============================================================ */
.status-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 20px;
  font-size: .74rem; font-weight: 600;
}
.status-pill.present { background: var(--success-bg); color: var(--success); }
.status-pill.absent { background: var(--s-100); color: var(--s-400); }
.status-pill.home { background: #EFF6FF; color: var(--brand); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.status-dot.green { background: var(--success); }
.status-dot.gray { background: var(--s-300); }
.status-dot.blue { background: var(--brand); }
.status-dot.amber { background: var(--warning); }

.mood-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 6px;
  font-size: .76rem; font-weight: 600;
}
.mood-tag.senang { background: #ECFDF5; color: #059669; }
.mood-tag.biasa { background: #EFF6FF; color: #2563EB; }
.mood-tag.sedih { background: #F1F5F9; color: #64748B; }
.mood-tag.rewel { background: #FFF7ED; color: #EA580C; }
.mood-tag.sakit { background: #FEF2F2; color: #DC2626; }
.mood-tag.none { background: var(--s-100); color: var(--s-400); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-cendana {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border: none; color: #fff; font-weight: 600;
  border-radius: var(--r-sm); padding: 8px 18px;
  box-shadow: 0 4px 12px rgba(37,99,235,.22);
  transition: transform .1s ease, box-shadow .1s ease, filter .1s ease;
  font-family: inherit; font-size: .84rem;
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
}
.btn-cendana:hover {
  color: #fff; transform: translateY(-1px);
  filter: brightness(1.05); box-shadow: 0 8px 18px rgba(37,99,235,.28);
}
.btn-cendana:active { transform: translateY(0); }
.btn-cendana-outline {
  background: #fff; color: var(--brand); border: 1px solid var(--s-200);
  font-weight: 600; border-radius: var(--r-sm); padding: 8px 18px;
  transition: all .15s ease; font-family: inherit; font-size: .84rem;
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
}
.btn-cendana-outline:hover { border-color: var(--brand); background: var(--brand-subtle); }
.btn-action {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 14px; background: #fff;
  border: 1px solid var(--s-200); border-radius: var(--r-sm);
  color: var(--s-600); font-size: .76rem; font-weight: 600; text-decoration: none;
  transition: all .15s ease;
}
.btn-action:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ============================================================
   QUICK ACTIONS
   ============================================================ */
.quick-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 18px 20px; }
.quick-action-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; background: var(--brand-subtle);
  color: var(--brand); border: 1px solid #DBEAFE;
  border-radius: var(--r-sm); font-size: .82rem; font-weight: 600;
  text-decoration: none; transition: all .15s ease;
}
.quick-action-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ============================================================
   ACTIVITY FEED
   ============================================================ */
.activity-feed { padding: 4px 0; }
.activity-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 20px; border-bottom: 1px solid var(--s-100);
  transition: background .1s ease;
}
.activity-item:last-child { border-bottom: none; }
.activity-item:hover { background: var(--s-50); }
.activity-dot-wrap {
  flex-shrink: 0; width: 28px; height: 28px;
  border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center;
  font-size: .7rem; margin-top: 2px;
}
.activity-dot-wrap.in { background: #EFF6FF; color: var(--brand); }
.activity-dot-wrap.out { background: #FEF2F2; color: var(--danger); }
.activity-dot-wrap.report { background: #ECFDF5; color: var(--success); }
.activity-dot-wrap.mood { background: #F5F3FF; color: var(--purple); }
.activity-text { flex: 1; min-width: 0; }
.activity-text strong { color: var(--s-800); font-weight: 600; }
.activity-text .act-detail { color: var(--s-500); font-size: .76rem; }
.activity-time { font-size: .7rem; color: var(--s-400); white-space: nowrap; font-weight: 500; }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state-box {
  text-align: center; padding: 40px 20px; color: var(--s-400);
}
.empty-state-box .empty-icon { font-size: 2.5rem; margin-bottom: 12px; color: var(--s-300); }
.empty-state-box p { margin: 0 0 4px 0; font-weight: 500; font-size: .88rem; }
.empty-state-box small { font-size: .78rem; }

/* ============================================================
   FORMS
   ============================================================ */
.form-control, .form-select {
  border-radius: var(--r-sm); border: 1px solid var(--s-200);
  padding: 9px 14px; font-size: .86rem; font-family: inherit;
  transition: border .15s ease, box-shadow .15s ease;
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,.12); outline: none;
}
.form-label { font-weight: 600; font-size: .82rem; color: var(--s-600); margin-bottom: 5px; }

/* ============================================================
   ALERTS
   ============================================================ */
.alert-cendana { border-radius: var(--r-sm); font-size: .85rem; font-weight: 500; }
.alert-success.alert-cendana { background: var(--success-bg); color: var(--success); border-color: #A7F3D0; }
.alert-danger.alert-cendana { background: var(--danger-bg); color: var(--danger); border-color: #FECACA; }

/* ============================================================
   MODAL / POPUPS
   ============================================================ */
.modal-backdrop.show { opacity: .5; backdrop-filter: blur(3px); background: #0F172A; }
.modal-dialog { transform: scale(.94) translateY(14px); transition: transform .16s cubic-bezier(.2,.8,.2,1), opacity .16s ease; }
.modal.show .modal-dialog { transform: scale(1) translateY(0); }
.modal-content { border: none; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.modal-header {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff; border-bottom: none; padding: 14px 20px;
}
.modal-header .modal-title { font-weight: 600; display: flex; align-items: center; gap: 10px; }
.modal-header .btn-close { filter: invert(1) grayscale(100%) brightness(200%); opacity: .85; }
.modal-body { padding: 20px; color: var(--s-800); }
.modal-footer { border-top: 1px solid var(--s-200); padding: 12px 20px; background: #FAFBFF; }

/* ============================================================
   AUTH PAGES (login, index)
   ============================================================ */
.auth-wrapper {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 50%, #BFDBFE 100%);
  padding: 20px;
}
.auth-card {
  background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 32px; max-width: 440px; width: 100%;
}
.auth-card .brand-logo { font-size: 3rem; margin-bottom: 8px; }
.auth-card h3 { font-weight: 700; color: var(--brand); margin-bottom: 4px; }
.auth-card .subtitle { color: var(--s-500); font-size: .88rem; margin-bottom: 24px; }
.auth-card .btn-cendana { padding: 12px 20px; font-size: .95rem; justify-content: center; }
.auth-card .btn-cendana-outline { padding: 12px 20px; font-size: .95rem; justify-content: center; }
.login-link-btn { text-align: center; margin-top: 18px; }
.login-link-btn a { color: var(--s-500); font-size: .82rem; text-decoration: none; font-weight: 500; }
.login-link-btn a:hover { color: var(--brand); }

/* ============================================================
   AVATAR PLACEHOLDER
   ============================================================ */
.avatar-placeholder {
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff; font-weight: 600;
}

/* ============================================================
   BADGE STATUS
   ============================================================ */
.badge-status {
  display: inline-block; padding: 4px 10px; border-radius: 20px;
  font-size: .74rem; font-weight: 600;
}

/* ============================================================
   RESPONSIVE NOTES
   ============================================================ */
@media (max-width: 1200px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE DESIGN FOR MOBILE & TABLET (ADMIN)
   ============================================================ */
@media (max-width: 767.98px) {
  /* convert sidebar to sliding drawer */
  .admin-sidebar-col {
    position: fixed !important;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    z-index: 1050;
    transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(15,23,42,0.15);
  }
  .admin-sidebar-col.show {
    left: 0 !important;
  }
  
  .sidebar-admin {
    min-height: 100vh;
    position: relative;
    top: auto;
  }

  /* Fixed Mobile Top Bar */
  .admin-mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .mobile-toggle-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    transition: background 0.2s;
  }
  .mobile-toggle-btn:active {
    background: rgba(255,255,255,0.1);
  }
  
  .mobile-brand-name {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
  }
  
  .user-avatar-mobile {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.82rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  }

  /* Backdrop overlay */
  .admin-sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.4);
    backdrop-filter: blur(2px);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
  .admin-sidebar-backdrop.show {
    opacity: 1;
    pointer-events: auto;
  }

  /* Shift content down under mobile header */
  .col-lg-10.col-md-9 {
    padding-top: 56px !important;
  }
  
  .page-wrap {
    padding: 20px 14px !important;
  }

  /* Top Bar */
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }
  .top-bar-left {
    width: 100%;
  }
  .top-bar-left h1 {
    font-size: 1.35rem;
  }
  .top-bar .d-flex {
    width: 100% !important;
    justify-content: space-between !important;
    flex-wrap: wrap;
    gap: 10px;
  }
  .quick-clock, .user-chip {
    padding: 6px 12px;
    font-size: 0.8rem;
    background: #ffffff;
  }

  /* Stat cards */
  .stats-row {
    grid-template-columns: 1fr !important;
    gap: 10px;
    margin-bottom: 20px;
  }
  .stat-card {
    padding: 14px 16px;
  }
  .stat-body .stat-number {
    font-size: 1.4rem;
  }

  /* Table responsiveness - block element scroll */
  .student-table, .table-cendana {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .section-card {
    padding: 16px 14px;
    border-radius: 12px;
  }
  
  /* Quick Actions (Shortcut items) */
  .quick-actions {
    padding: 0 14px 14px 14px;
    gap: 6px;
  }
  .quick-action-btn {
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
    padding: 8px 10px;
    font-size: 0.76rem;
  }
}
