/* ===================================================
   Modern Design System — Job Attendance
   =================================================== */

:root {
  --primary:        #eab308;
  --primary-dark:   #ca8a04;
  --primary-light:  #fef9c3;
  --primary-glow:   rgba(234, 179, 8, 0.15);

  --success:        #10b981;
  --success-light:  #d1fae5;
  --warning:        #f59e0b;
  --warning-light:  #fef3c7;
  --danger:         #ef4444;
  --danger-light:   #fee2e2;
  --info:           #3b82f6;
  --info-light:     #dbeafe;

  --bg:             #f1f5f9;
  --surface:        #ffffff;
  --surface-2:      #f8fafc;
  --text:           #0f172a;
  --text-secondary: #475569;
  --text-muted:     #94a3b8;
  --border:         #e2e8f0;
  --border-strong:  #cbd5e1;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg:  0 10px 25px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.05);
  --shadow-xl:  0 20px 40px rgba(0,0,0,0.1),  0 8px 16px rgba(0,0,0,0.06);

  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);

  --navbar-h: 64px;
}

/* ======= BASE ======= */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 14px; position: relative; min-height: 100%; }
@media (min-width: 768px) { html { font-size: 16px; } }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ======= NAVBAR ======= */
.navbar {
  background: linear-gradient(135deg, #ca8a04 0%, #eab308 60%, #facc15 100%) !important;
  padding: 0 !important;
  box-shadow: 0 2px 24px rgba(202, 138, 4, 0.45);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--navbar-h);
  border: none !important;
}

.navbar .container {
  height: var(--navbar-h);
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1a1a1a !important;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.4px;
  white-space: nowrap;
  word-break: normal;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.navbar-nav.ms-auto { margin-left: auto !important; }

.nav-item .nav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px !important;
  border-radius: var(--radius-full);
  color: rgba(0,0,0,0.75) !important;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-item .nav-link:hover {
  background: rgba(0, 0, 0, 0.12);
  color: #1a1a1a !important;
}

.navbar-toggler {
  border: 1.5px solid rgba(0,0,0,0.3) !important;
  padding: 6px 10px !important;
  border-radius: var(--radius-sm) !important;
}
.navbar-toggler:focus { box-shadow: none !important; }
.navbar-toggler-icon { filter: none; }

@media (max-width: 575px) {
  .navbar-collapse {
    background: linear-gradient(135deg, #ca8a04, #eab308);
    border-top: 1px solid rgba(0,0,0,0.15);
    padding: 8px 0 12px;
  }
  .navbar-nav { flex-direction: column; align-items: flex-start; gap: 2px; padding: 0 8px; }
  .nav-item .nav-link { width: 100%; border-radius: var(--radius-md); }
}

/* ======= BOOTSTRAP OVERRIDES — Forms ======= */
.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md) !important;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition);
  box-shadow: none !important;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow) !important;
  outline: none;
}
.form-control::placeholder { color: var(--text-muted); }
.form-control-lg, .form-select-lg {
  padding: 12px 16px;
  font-size: 1rem;
}

/* ======= BOOTSTRAP OVERRIDES — Buttons ======= */
.btn {
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius-md) !important;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: none !important;
  letter-spacing: 0.1px;
}
.btn:focus { box-shadow: 0 0 0 3px var(--primary-glow) !important; outline: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: #1a1a1a !important;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.35) !important;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(234, 179, 8, 0.5) !important;
}
.btn-primary:active { transform: translateY(0) !important; }

.btn-outline-primary {
  background: transparent !important;
  border: 1.5px solid var(--primary) !important;
  color: var(--primary) !important;
}
.btn-outline-primary:hover {
  background: var(--primary-glow) !important;
  color: var(--primary-dark) !important;
}

.btn-outline-secondary {
  background: transparent !important;
  border: 1.5px solid var(--border-strong) !important;
  color: var(--text-secondary) !important;
}
.btn-outline-secondary:hover {
  background: var(--surface-2) !important;
  border-color: var(--text-muted) !important;
  color: var(--text) !important;
}

.btn-outline-warning {
  background: transparent !important;
  border: 1.5px solid #f59e0b !important;
  color: #92400e !important;
}
.btn-outline-warning:hover { background: var(--warning-light) !important; }

.btn-outline-info {
  background: transparent !important;
  border: 1.5px solid #93c5fd !important;
  color: #1d4ed8 !important;
}
.btn-outline-info:hover { background: var(--info-light) !important; }

.btn-outline-danger {
  background: transparent !important;
  border: 1.5px solid #fca5a5 !important;
  color: #991b1b !important;
}
.btn-outline-danger:hover { background: var(--danger-light) !important; }

.btn-lg { padding: 13px 28px !important; font-size: 1rem !important; }
.btn-sm { padding: 6px 12px !important; font-size: 0.8rem !important; }

/* ======= BOOTSTRAP OVERRIDES — Alerts ======= */
.alert {
  border-radius: var(--radius-md) !important;
  border: 1px solid;
  font-size: 0.9rem;
  padding: 14px 18px;
}
.alert-info    { background: var(--info-light);    border-color: #93c5fd !important; color: #1e40af; }
.alert-success { background: var(--success-light); border-color: #6ee7b7 !important; color: #065f46; }
.alert-danger  { background: var(--danger-light);  border-color: #fca5a5 !important; color: #991b1b; }
.alert-warning { background: var(--warning-light); border-color: #fcd34d !important; color: #92400e; }
.btn-close { opacity: 0.5; }
.btn-close:hover { opacity: 1; }

/* ======= BOOTSTRAP OVERRIDES — Badges ======= */
.badge {
  padding: 5px 11px !important;
  border-radius: var(--radius-full) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px;
}
.bg-success   { background: var(--success-light) !important; color: #065f46 !important; }
.bg-secondary { background: #f1f5f9 !important; color: var(--text-secondary) !important; }
.bg-danger    { background: var(--danger-light)  !important; color: #991b1b !important; }
.bg-primary   { background: var(--primary-light) !important; color: var(--primary-dark) !important; }

/* ======= BOOTSTRAP OVERRIDES — Nav Tabs ======= */
.nav-tabs {
  border-bottom: 1px solid var(--border) !important;
  gap: 2px;
  margin-bottom: 28px !important;
}
.nav-tabs .nav-link {
  border: none !important;
  border-bottom: 2px solid transparent !important;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0 !important;
  color: var(--text-muted) !important;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 10px 18px !important;
  margin-bottom: -1px !important;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent !important;
}
.nav-tabs .nav-link:hover {
  color: var(--primary) !important;
  background: var(--primary-glow) !important;
  border-bottom-color: transparent !important;
}
.nav-tabs .nav-link.active {
  color: var(--primary) !important;
  border-bottom-color: var(--primary) !important;
  background: var(--primary-glow) !important;
  font-weight: 600 !important;
}

/* ======= BOOTSTRAP OVERRIDES — Table ======= */
.table {
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}
.table thead th {
  background: var(--surface-2) !important;
  color: var(--text-secondary) !important;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 20px !important;
  border-bottom: 1px solid var(--border) !important;
}
.table tbody td {
  padding: 15px 20px !important;
  border-bottom: 1px solid var(--border) !important;
  font-size: 0.875rem;
  color: var(--text);
  background: var(--surface);
  vertical-align: middle;
}
.table tbody tr:last-child td { border-bottom: none !important; }
.table-hover tbody tr:hover td { background: #fffde7 !important; }
.table.bg-white, .table.shadow-sm { box-shadow: none !important; }

.table-wrapper {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.table-wrapper .table { margin: 0; }
.table-wrapper .table-primary { display: none; } /* hide the old thead class color */

/* fix Bootstrap table-primary thead override */
.table thead.table-primary th {
  background: var(--surface-2) !important;
  color: var(--text-secondary) !important;
}

/* ======= PAGE HEADER ======= */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.page-header h1, .page-header h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
  margin: 0;
}

/* ======= SECTION CARD ======= */
.section-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 28px;
}
.section-card-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-card-header .header-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.section-card-body { padding: 24px; }

/* ======= JOB GRID ======= */
.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.job-card {
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none !important;
  color: inherit;
  display: block;
  position: relative;
  overflow: hidden;
}
.job-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
  color: inherit;
}
.job-card:hover::after { transform: scaleX(1); }

.job-card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 1.2rem;
}
.job-card h3 {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.job-card .job-meta {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.job-card-arrow {
  position: absolute;
  right: 24px;
  bottom: 50%;
  transform: translateY(50%);
  color: var(--border-strong);
  transition: all var(--transition);
  font-size: 0.9rem;
}
.job-card:hover .job-card-arrow {
  color: var(--primary);
  right: 20px;
}

/* ======= CAMERA / SCAN ======= */
.camera-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-xl);
}
.camera-wrapper video { width: 100%; display: block; max-height: 60vh; object-fit: cover; }

.scan-frame {
  position: absolute;
  inset: 32px;
  border: 2px solid rgba(234, 179, 8, 0.5);
  border-radius: 16px;
  pointer-events: none;
}
.scan-frame::before, .scan-frame::after,
.scan-frame .corner-br, .scan-frame .corner-tl {
  content: '';
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--primary);
  border-style: solid;
}
.scan-frame::before { top: -2px; left: -2px; border-width: 3px 0 0 3px; border-radius: 4px 0 0 0; }
.scan-frame::after  { top: -2px; right: -2px; border-width: 3px 3px 0 0; border-radius: 0 4px 0 0; }
.scan-frame .corner-br { bottom: -2px; right: -2px; border-width: 0 3px 3px 0; border-radius: 0 0 4px 0; }
.scan-frame .corner-tl { bottom: -2px; left: -2px;  border-width: 0 0 3px 3px; border-radius: 0 0 0 4px; }

.scan-overlay-active {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  color: white;
  gap: 14px;
}
.scan-spinner {
  width: 56px;
  height: 56px;
  border: 3px solid rgba(255,255,255,0.25);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ======= STATUS CARD ======= */
.status-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: background 0.4s ease, border-color 0.4s ease;
  margin-top: 16px;
}
.status-card.checkin {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border-color: #6ee7b7;
}
.status-card.checkout {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-color: #93c5fd;
}

.status-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--primary);
  font-size: 1.3rem;
}
.status-card.checkin  .status-icon-wrap { background: #a7f3d0; color: #065f46; }
.status-card.checkout .status-icon-wrap { background: #bfdbfe; color: #1e40af; }
.status-card.warning {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border-color: #fcd34d;
}
.status-card.warning .status-icon-wrap { background: #fde68a; color: #92400e; }

.status-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin: 0;
}
.result-details { margin-top: 12px; }
.result-details h2 {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
  margin: 0 0 8px;
}
.action-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.action-badge.checkin  { background: #065f46; color: white; }
.action-badge.checkout { background: #1e3a8a; color: white; }
.action-badge.warning  { background: #92400e; color: white; }

#totalHours {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: rgba(0,0,0,0.07);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* ======= LOGIN ======= */
.login-outer {
  min-height: calc(100vh - var(--navbar-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
}
.login-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}
.login-logo {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  margin: 0 auto 24px;
  box-shadow: 0 8px 20px rgba(234, 179, 8, 0.4);
}
.login-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 6px;
  letter-spacing: -0.5px;
}
.login-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0 0 32px;
}
.login-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 7px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
@media (max-width: 480px) {
  .login-card { padding: 36px 24px; }
}

/* ======= EMPTY STATE ======= */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--text-muted);
}
.empty-state-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  opacity: 0.4;
}
.empty-state p { font-size: 0.9rem; margin: 0; }

/* ======= ANIMATIONS ======= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.35s ease both; }

/* ======= UTILITIES ======= */
.text-primary-custom { color: var(--primary) !important; }
.gap-2 { gap: 8px; }

/* ======= iPad Optimizations ======= */
@media (min-width: 768px) and (max-width: 1024px) {
  .job-card { padding: 36px; }
  .job-card h3 { font-size: 1.15rem; }
  .btn-lg { padding: 14px 28px !important; font-size: 1.05rem !important; }
  .form-control, .form-select { padding: 13px 16px; font-size: 1rem; }
  .camera-wrapper video { max-height: 50vh; }
}

/* ======= iOS FULL SCREEN / SAFE AREAS ======= */

/* When running as installed PWA (standalone), the navbar sits under the
   iOS status bar. Push it down by the safe-area top inset. */
@media all and (display-mode: standalone) {
  .navbar {
    padding-top: env(safe-area-inset-top) !important;
    height: calc(var(--navbar-h) + env(safe-area-inset-top)) !important;
  }
  .navbar .container { margin-top: env(safe-area-inset-top); }
  body { padding-bottom: env(safe-area-inset-bottom); }
}

/* Also target Apple's proprietary standalone flag via JS class */
body.ios-standalone .navbar {
  padding-top: env(safe-area-inset-top) !important;
  height: calc(var(--navbar-h) + env(safe-area-inset-top)) !important;
}
body.ios-standalone .navbar .container { margin-top: env(safe-area-inset-top); }
body.ios-standalone { padding-bottom: env(safe-area-inset-bottom); }

/* ======= PWA INSTALL BANNER ======= */
#pwa-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  padding: 0 16px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}
.pwa-banner-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--text);
  color: white;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 16px 18px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
  max-width: 600px;
  margin: 0 auto;
}
.pwa-banner-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.pwa-banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pwa-banner-text strong { font-size: 0.9rem; }
.pwa-banner-text span  { font-size: 0.8rem; color: rgba(255,255,255,0.7); }
.pwa-banner-text em    { font-style: normal; font-weight: 600; color: white; }
.pwa-banner-close {
  background: rgba(255,255,255,0.12);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition);
}
.pwa-banner-close:hover { background: rgba(255,255,255,0.22); }

/* ── Statistics Page ────────────────────────────────────── */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  height: 100%;
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.stat-card-active { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(234,179,8,.3); transform: translateY(-1px); }
.stat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto 0.75rem;
}
.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
