@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --app-bg: #f8fafc;
  --header-bg: #0f172a;
  --primary: #2563eb;
  --accent: #f59e0b;
  --emerald: #10b981;
  --rose: #f43f5e;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--app-bg);
  -webkit-tap-highlight-color: transparent;
  padding-bottom: env(safe-area-inset-bottom, 20px);
}

/* Custom mobile card active state */
.touch-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.touch-card:active {
  transform: scale(0.98);
}

/* Smooth Horizontal Scrolling */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Mobile Bottom Navigation active pill */
.nav-item.active {
  color: #3b82f6;
}
.nav-item.active .nav-icon-bg {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  border-radius: 9999px;
}

/* Bottom Sheet Modal Animation */
.bottom-sheet {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.bottom-sheet.open {
  transform: translateY(0);
}
.bottom-sheet.closed {
  transform: translateY(100%);
}

/* Status Badges */
.badge-pas {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.badge-lebih {
  background-color: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}
.badge-kurang {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
