/* UMMAT Design System CSS */
/* PKBM Al Umm Barabai */

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

:root {
  /* Brand Colors */
  --color-primary: #0F9D58;
  --color-primary-dark: #0d8a4f;
  --color-primary-light: #e8f5e9;
  --color-secondary: #F4D000;
  --color-secondary-dark: #d4b300;
  --color-accent: #D62828;
  --color-accent-light: #fde8e8;

  /* Neutrals */
  --color-bg: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-surface-2: #F1F5F9;
  --color-border: #E2E8F0;
  --color-text-primary: #1E293B;
  --color-text-secondary: #64748B;
  --color-text-muted: #94A3B8;

  /* Status Colors */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;
  --color-info: #3B82F6;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.16);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;

  /* Bottom nav height */
  --bottom-nav-height: 72px;
  --header-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.app-container {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background: var(--color-bg);
}

@media (min-width: 1024px) {
  .app-container {
    max-width: 100%;
    display: flex;
  }
}

/* ============================================================
   HEADER
   ============================================================ */
.app-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  padding: 0 var(--spacing-md);
  gap: var(--spacing-md);
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.app-header-title {
  flex: 1;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
}

/* ============================================================
   BOTTOM NAVIGATION
   ============================================================ */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--bottom-nav-height);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  padding: 0 var(--spacing-sm);
  z-index: 100;
  box-shadow: 0 -4px 16px rgba(0,0,0,.06);
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: var(--spacing-sm) var(--spacing-xs);
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
  border: none;
  background: none;
  text-decoration: none;
  min-height: 44px;
  justify-content: center;
}

.nav-item.active {
  color: var(--color-primary);
}

.nav-item.active .nav-dot {
  background: var(--color-primary);
  width: 4px;
  height: 4px;
  border-radius: var(--radius-full);
}

.nav-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .3px;
}

.nav-icon-wrap {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.page-content {
  padding-top: calc(var(--header-height) + var(--spacing-md));
  padding-bottom: calc(var(--bottom-nav-height) + var(--spacing-md));
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
  min-height: 100vh;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
  overflow: hidden;
}

.card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.card-body { padding: var(--spacing-lg); }
.card-sm .card-body { padding: var(--spacing-md); }

/* ============================================================
   GREETING CARD
   ============================================================ */
.greeting-card {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0d8a4f 50%, #0a7a46 100%);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 120px;
}

.greeting-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.greeting-card::after {
  content: '';
  position: absolute;
  bottom: -30px; right: 40px;
  width: 100px; height: 100px;
  background: rgba(244,208,0,0.15);
  border-radius: 50%;
}

.greeting-name { font-size: 20px; font-weight: 700; }
.greeting-sub { font-size: 13px; opacity: .85; margin-top: 4px; }

/* ============================================================
   STATUS BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.badge-hadir { background: #d1fae5; color: #065f46; }
.badge-terlambat { background: #fef3c7; color: #92400e; }
.badge-alpha { background: #fee2e2; color: #991b1b; }
.badge-belum { background: #f1f5f9; color: #475569; }
.badge-active { background: #d1fae5; color: #065f46; }
.badge-inactive { background: #fee2e2; color: #991b1b; }
.badge-primary { background: var(--color-primary-light); color: var(--color-primary-dark); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  min-height: 44px;
  text-decoration: none;
  letter-spacing: .3px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 4px 16px rgba(15,157,88,0.3);
}
.btn-primary:hover:not(:disabled) {
  background: var(--color-primary-dark);
  box-shadow: 0 6px 20px rgba(15,157,88,0.4);
  transform: translateY(-1px);
}
.btn-primary:active:not(:disabled) { transform: translateY(0); }

.btn-secondary {
  background: var(--color-surface-2);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
}
.btn-secondary:hover:not(:disabled) { background: var(--color-border); }

.btn-danger {
  background: var(--color-error);
  color: white;
  box-shadow: 0 4px 16px rgba(239,68,68,0.25);
}
.btn-danger:hover:not(:disabled) { filter: brightness(0.9); transform: translateY(-1px); }

.btn-warning {
  background: var(--color-warning);
  color: white;
}
.btn-warning:hover:not(:disabled) { filter: brightness(0.9); }

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover:not(:disabled) { background: var(--color-primary-light); }

.btn-full { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 16px; min-height: 56px; border-radius: var(--radius-lg); }
.btn-sm { padding: 8px 16px; font-size: 12px; min-height: 36px; border-radius: var(--radius-md); }
.btn-icon { padding: 10px; border-radius: var(--radius-md); }

/* ============================================================
   STAT CARDS
   ============================================================ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-sm);
}

.stat-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.stat-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--spacing-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.stat-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 11px;
  color: var(--color-text-secondary);
  font-weight: 500;
  margin-top: 2px;
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-group { margin-bottom: var(--spacing-md); }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-xs);
}

.form-control {
  width: 100%;
  padding: 12px var(--spacing-md);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-family: inherit;
  color: var(--color-text-primary);
  background: var(--color-surface);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 48px;
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15,157,88,0.12);
}

.form-control::placeholder { color: var(--color-text-muted); }

select.form-control { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }

.input-group { position: relative; }
.input-group .input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--color-text-muted); pointer-events: none; }
.input-group .form-control { padding-left: 42px; }

/* ============================================================
   MAP
   ============================================================ */
.map-container {
  height: 320px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   GPS STATUS CARD
   ============================================================ */
.gps-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
}

.gps-info-item {
  text-align: center;
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
}

.gps-info-value { font-size: 18px; font-weight: 700; }
.gps-info-label { font-size: 10px; color: var(--color-text-muted); font-weight: 500; }

/* ============================================================
   SCHEDULE CARD
   ============================================================ */
.schedule-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--spacing-md);
  border-left: 4px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  border-left-width: 4px;
  border-left-color: var(--color-primary);
  transition: all var(--transition-fast);
}

.schedule-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.schedule-day { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--color-primary); }
.schedule-time { font-size: 18px; font-weight: 700; color: var(--color-text-primary); margin: 2px 0; }
.schedule-subject { font-weight: 600; color: var(--color-text-primary); }
.schedule-class { font-size: 12px; color: var(--color-text-secondary); }

/* ============================================================
   TUTOR CARD
   ============================================================ */
.tutor-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.tutor-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
}

.avatar-lg { width: 80px; height: 80px; font-size: 28px; }
.avatar-xl { width: 100px; height: 100px; font-size: 36px; }

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search-bar {
  position: relative;
  margin-bottom: var(--spacing-md);
}

.search-bar input {
  padding-left: 42px;
  background: var(--color-surface);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
}

/* ============================================================
   FLOATING ACTION BUTTON
   ============================================================ */
.fab {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + 16px);
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(15,157,88,0.4);
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  z-index: 90;
}

.fab:hover { transform: scale(1.1); box-shadow: 0 12px 40px rgba(15,157,88,0.5); }
.fab:active { transform: scale(0.95); }

/* ============================================================
   MODAL / BOTTOM SHEET
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  backdrop-filter: blur(4px);
}

@media (min-width: 640px) {
  .modal-overlay { align-items: center; }
}

.modal-sheet {
  background: var(--color-surface);
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: var(--spacing-lg);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

@media (min-width: 640px) {
  .modal-sheet { border-radius: var(--radius-xl); max-height: 80vh; }
}

.modal-handle {
  width: 40px;
  height: 4px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  margin: 0 auto var(--spacing-lg);
}

.modal-title { font-size: 18px; font-weight: 700; margin-bottom: var(--spacing-lg); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-md);
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl) var(--spacing-lg);
  text-align: center;
  gap: var(--spacing-md);
}

.empty-icon {
  width: 80px;
  height: 80px;
  background: var(--color-surface-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

.empty-title { font-size: 16px; font-weight: 700; color: var(--color-text-primary); }
.empty-desc { font-size: 13px; color: var(--color-text-secondary); }

/* ============================================================
   SKELETON LOADING
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg, var(--color-surface-2) 25%, #e8eef4 50%, var(--color-surface-2) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton-text { height: 14px; margin-bottom: 8px; border-radius: var(--radius-sm); }
.skeleton-avatar { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; }
.skeleton-card { height: 80px; border-radius: var(--radius-xl); }
.skeleton-greeting { height: 120px; border-radius: var(--radius-xl); }

/* ============================================================
   PROGRESS BAR
   ============================================================ */
.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--color-surface-2);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), #0d8a4f);
  border-radius: var(--radius-full);
  transition: width var(--transition-slow);
}

/* ============================================================
   RADIUS STATUS
   ============================================================ */
.radius-in {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border: 1px solid #6ee7b7;
  color: #065f46;
  border-radius: var(--radius-xl);
  padding: var(--spacing-md);
}

.radius-out {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  border: 1px solid #fca5a5;
  color: #991b1b;
  border-radius: var(--radius-xl);
  padding: var(--spacing-md);
}

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
  background: linear-gradient(160deg, #0F9D58 0%, #0a7a46 40%, #F8FAFC 40%);
}

.login-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-xl);
  margin-top: -40px;
}

/* ============================================================
   SPLASH SCREEN
   ============================================================ */
.splash-screen {
  position: fixed;
  inset: 0;
  background: linear-gradient(160deg, var(--color-primary) 0%, #0a7a46 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  gap: var(--spacing-lg);
}

.splash-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  animation: splash-appear 0.6s ease;
}

.splash-title {
  font-size: 32px;
  font-weight: 800;
  color: white;
  letter-spacing: 4px;
  animation: splash-up 0.6s 0.2s ease both;
}

.splash-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  animation: splash-up 0.6s 0.4s ease both;
}

@keyframes splash-appear {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes splash-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInScale { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes slideIn { from { transform: translateX(-16px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes collapseOut { from { opacity: 1; max-height: 100px; } to { opacity: 0; max-height: 0; } }

.animate-fadeIn { animation: fadeIn var(--transition-normal) ease; }
.animate-fadeInUp { animation: fadeInUp var(--transition-normal) ease; }
.animate-fadeInScale { animation: fadeInScale var(--transition-normal) ease; }
.animate-slideUp { animation: slideUp var(--transition-normal) ease; }

[x-cloak] { display: none !important; }

/* ============================================================
   STAGGERED CHILDREN
   ============================================================ */
.stagger-children > *:nth-child(1) { animation-delay: 0ms; }
.stagger-children > *:nth-child(2) { animation-delay: 60ms; }
.stagger-children > *:nth-child(3) { animation-delay: 120ms; }
.stagger-children > *:nth-child(4) { animation-delay: 180ms; }
.stagger-children > *:nth-child(5) { animation-delay: 240ms; }

/* ============================================================
   SIDEBAR (Desktop)
   ============================================================ */
@media (min-width: 1024px) {
  .sidebar {
    width: 280px;
    flex-shrink: 0;
    background: var(--color-surface);
    border-right: 1px solid var(--color-border);
    height: 100vh;
    position: fixed;
    left: 0; top: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    z-index: 100;
  }

  .desktop-content {
    margin-left: 280px;
    flex: 1;
    padding: var(--spacing-lg);
    max-width: 960px;
  }

  .bottom-nav { display: none; }
  .app-header { display: none; }

  .page-content {
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
  }
}

/* ============================================================
   UTILS
   ============================================================ */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-xs { gap: var(--spacing-xs); }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }
.flex-1 { flex: 1; }
.text-sm { font-size: 12px; }
.text-md { font-size: 14px; }
.text-lg { font-size: 16px; }
.text-xl { font-size: 20px; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-text-secondary); }
.text-muted { color: var(--color-text-muted); }
.text-error { color: var(--color-error); }
.text-success { color: var(--color-success); }
.text-center { text-align: center; }
.w-full { width: 100%; }
.mt-xs { margin-top: var(--spacing-xs); }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.gap-y-md { row-gap: var(--spacing-md); }
.p-md { padding: var(--spacing-md); }
.rounded-full { border-radius: var(--radius-full); }
.hidden { display: none !important; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }

.section-divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--spacing-md) 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  background: var(--color-surface-2);
  color: var(--color-text-secondary);
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--transition-fast);
}

.chip.active {
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Countdown */
.countdown {
  font-size: 24px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 2px;
}

/* Notification badge */
.notif-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--color-accent);
  color: white;
  border-radius: var(--radius-full);
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  min-width: 16px;
  text-align: center;
}
