/* ═══════════════════════════════════════════════════════════════
   Enterprise Meal Access System — shared.css
   Shared component styles used across multiple pages
═══════════════════════════════════════════════════════════════ */

/* ── VARIABLE BRIDGES (maps app.css names → global.css tokens) ── */
:root {
  --text-primary:   var(--text);
  --text-secondary: var(--text-muted);
  --text-muted:     var(--text-dim);
  --surface-hover:  var(--hover-bg);
  --font-body:      var(--font);
  --border-light:   var(--border-subtle);
}

/* ── BADGE ALIASES ────────────────────────────────────────────── */
.vms-badge--success { background: var(--vms-green-light);  color: var(--vms-green); }
.vms-badge--warning { background: var(--vms-amber-light);  color: var(--vms-amber); }
.vms-badge--neutral { background: var(--surface3);         color: var(--text-dim); }
.vms-badge--info    { background: var(--vms-blue-light);   color: var(--vms-blue); }

/* ── MODAL WRAP (app-created overlay container) ───────────────── */
.vms-modal-wrap {
  display: none;
  position: fixed;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 900;
}

/* ── TOGGLE SWITCH ────────────────────────────────────────────── */
.vms-toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}
.vms-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.vms-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--border);
  border-radius: 22px;
  transition: background .2s;
}
.vms-toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  left: 3px; top: 3px;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.vms-toggle input:checked + .vms-toggle-slider {
  background: var(--accent);
}
.vms-toggle input:checked + .vms-toggle-slider::before {
  transform: translateX(18px);
}

/* ── VMS-CONTENT PADDING ──────────────────────────────────────── */
.vms-content { padding: 24px; overflow-y: auto; }


/* ── LOADING ──────────────────────────────────────────────────── */
.cn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  color: var(--text-muted);
  font-size: 14px;
  gap: 8px;
}
.cn-loading::before {
  content: '';
  width: 16px; height: 16px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: cn-spin .7s linear infinite;
}
@keyframes cn-spin { to { transform: rotate(360deg); } }

/* ── PAGE HEADER ──────────────────────────────────────────────── */
.cn-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.cn-page-header-left { flex: 1; min-width: 0; }
.cn-page-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -.3px;
  margin: 0;
}
.cn-page-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 3px;
}
.cn-page-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ── STAT / KPI GRID ──────────────────────────────────────────── */
.cn-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

/* ── Rich KPI cards ──────────────────────────────────────────── */
.cn-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
@media (max-width: 860px) { .cn-kpi-row { grid-template-columns: 1fr; } }

.cn-kpi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 22px 16px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .18s, transform .18s;
}
.cn-kpi-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.09); transform: translateY(-1px); }
.cn-kpi-card--live { border-color: rgba(232,96,74,.35); }

.cn-kpi-card-bg {
  position: absolute;
  top: -30px; right: -30px;
  width: 130px; height: 130px;
  border-radius: 50%;
  pointer-events: none;
}
.cn-kpi-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.cn-kpi-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.cn-kpi-main {
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
  margin-bottom: 5px;
}
.cn-kpi-value {
  font-size: 40px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-primary);
}
.cn-kpi-denom {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}
.cn-kpi-sub {
  font-size: 12px;
  color: var(--text-muted);
}
.cn-kpi-sub em { font-style: normal; color: var(--text-secondary); }
.cn-kpi-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cn-kpi-bar-track {
  height: 5px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 12px;
}
.cn-kpi-bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width .6s cubic-bezier(.4,0,.2,1);
}
.cn-kpi-footer {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cn-kpi-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
}
.cn-kpi-chip em { font-style: normal; opacity: .7; font-weight: 500; }
.cn-kpi-chip.green  { background: rgba(16,185,129,.1);  color: #059669; }
.cn-kpi-chip.amber  { background: rgba(245,158,11,.1);  color: #d97706; }
.cn-kpi-chip.red    { background: rgba(239,68,68,.1);   color: #dc2626; }
.cn-kpi-chip.muted  { background: var(--border);        color: var(--text-muted); }
.cn-kpi-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}
.cn-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .15s;
}
.cn-stat:hover { box-shadow: 0 4px 16px rgba(0,0,0,.07); }
.cn-stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.cn-stat-value {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: var(--text-primary);
  font-family: var(--font-mono);
}
.cn-stat-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}
.cn-stat-icon {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  opacity: .18;
}
.cn-stat.accent  { border-top: 3px solid var(--accent); }
.cn-stat.blue    { border-top: 3px solid #3b82f6; }
.cn-stat.green   { border-top: 3px solid #10b981; }
.cn-stat.amber   { border-top: 3px solid #f59e0b; }
.cn-stat.violet  { border-top: 3px solid #8b5cf6; }
.cn-stat.red     { border-top: 3px solid #ef4444; }
.cn-stat.cyan    { border-top: 3px solid #06b6d4; }

.cn-stat-change {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 20px;
  margin-top: 6px;
}
.cn-stat-change.up   { color: #10b981; background: rgba(16,185,129,.1); }
.cn-stat-change.down { color: #ef4444; background: rgba(239,68,68,.1); }

/* ── PERSON TYPE BADGES ───────────────────────────────────────── */
.cn-type {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: .3px;
  white-space: nowrap;
  text-transform: capitalize;
}
.cn-type::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cn-type.employee   { background: rgba(59,130,246,.12);  color: #2563eb; }
.cn-type.employee::before  { background: #3b82f6; }
.cn-type.visitor    { background: rgba(245,158,11,.12);  color: #d97706; }
.cn-type.visitor::before   { background: #f59e0b; }
.cn-type.contractor { background: rgba(139,92,246,.12);  color: #7c3aed; }
.cn-type.contractor::before{ background: #8b5cf6; }
.cn-type.driver     { background: rgba(99,102,241,.12);  color: #4f46e5; }
.cn-type.driver::before    { background: #6366f1; }
.cn-type.temporary  { background: rgba(6,182,212,.12);   color: #0e7490; }
.cn-type.temporary::before { background: #06b6d4; }
.cn-type.vendor     { background: rgba(249,115,22,.12);  color: #c2410c; }
.cn-type.vendor::before    { background: #f97316; }
.cn-type.intern     { background: rgba(16,185,129,.12);  color: #047857; }
.cn-type.intern::before    { background: #10b981; }
.cn-type.vip        { background: rgba(234,179,8,.15);   color: #92400e; }
.cn-type.vip::before       { background: #eab308; }

[data-theme="dark"] .cn-type.employee   { color: #93c5fd; background: rgba(59,130,246,.18); }
[data-theme="dark"] .cn-type.visitor    { color: #fcd34d; background: rgba(245,158,11,.18); }
[data-theme="dark"] .cn-type.contractor { color: #c4b5fd; background: rgba(139,92,246,.18); }
[data-theme="dark"] .cn-type.driver     { color: #a5b4fc; background: rgba(99,102,241,.18); }
[data-theme="dark"] .cn-type.temporary  { color: #67e8f9; background: rgba(6,182,212,.18); }
[data-theme="dark"] .cn-type.vendor     { color: #fdba74; background: rgba(249,115,22,.18); }
[data-theme="dark"] .cn-type.intern     { color: #6ee7b7; background: rgba(16,185,129,.18); }
[data-theme="dark"] .cn-type.vip        { color: #fde047; background: rgba(234,179,8,.18); }

/* ── VARIANT BADGE ────────────────────────────────────────────── */
.cn-variant {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.cn-variant.veg    { background: rgba(16,185,129,.12); color: #047857; border: 1px solid rgba(16,185,129,.25); }
.cn-variant.nonveg { background: rgba(239,68,68,.1);   color: #b91c1c; border: 1px solid rgba(239,68,68,.2); }
.cn-variant.jain   { background: rgba(245,158,11,.1);  color: #92400e; border: 1px solid rgba(245,158,11,.2); }
.cn-variant.vegan  { background: rgba(6,182,212,.1);   color: #0e7490; border: 1px solid rgba(6,182,212,.2); }

/* ── RFID STATUS BADGE ────────────────────────────────────────── */
.cn-rfid-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: .3px;
  text-transform: capitalize;
}
.cn-rfid-status::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
}
.cn-rfid-status.available  { background: rgba(16,185,129,.1);  color: #047857; }
.cn-rfid-status.available::before  { background: #10b981; }
.cn-rfid-status.assigned   { background: rgba(59,130,246,.1);  color: #1d4ed8; }
.cn-rfid-status.assigned::before   { background: #3b82f6; }
.cn-rfid-status.damaged    { background: rgba(239,68,68,.1);   color: #b91c1c; }
.cn-rfid-status.damaged::before    { background: #ef4444; }
.cn-rfid-status.lost       { background: rgba(234,179,8,.12);  color: #92400e; }
.cn-rfid-status.lost::before       { background: #eab308; }
.cn-rfid-status.inactive   { background: rgba(148,163,184,.1); color: var(--text-muted); }
.cn-rfid-status.inactive::before   { background: #94a3b8; }

/* ── SECTION CONTAINER ────────────────────────────────────────── */
.cn-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}
.cn-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.cn-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.cn-section-body { padding: 20px; }
.cn-section-body.no-pad { padding: 0; }

/* ── LAYOUT GRIDS ─────────────────────────────────────────────── */
.cn-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cn-three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
@media (max-width: 900px) {
  .cn-two-col, .cn-three-col { grid-template-columns: 1fr; }
}

/* ── FILTER ROW ───────────────────────────────────────────────── */
.cn-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.cn-filter-search {
  flex: 1;
  min-width: 200px;
  max-width: 320px;
  position: relative;
}
.cn-filter-search svg {
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.cn-filter-search input {
  width: 100%;
  padding: 7px 12px 7px 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text-primary);
  font-size: 13px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .15s;
}
.cn-filter-search input:focus { border-color: var(--accent); }
.cn-filter-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.cn-fp {
  font-size: 11.5px;
  font-weight: 500;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all .12s;
  font-family: var(--font-body);
  white-space: nowrap;
}
.cn-fp:hover { border-color: var(--accent); color: var(--accent); }
.cn-fp.active { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }

/* ── TABLE ────────────────────────────────────────────────────── */
.cn-table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--border); }
.cn-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cn-table thead th {
  padding: 10px 16px;
  background: var(--surface-hover);
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  user-select: none;
}
.cn-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .1s;
}
.cn-table tbody tr:last-child { border-bottom: none; }
.cn-table tbody tr:hover { background: var(--surface-hover); }
.cn-table td { padding: 11px 16px; color: var(--text-primary); vertical-align: middle; }
.cn-table td.muted { color: var(--text-muted); font-size: 12px; }
.cn-code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--surface-hover);
  padding: 2px 7px;
  border-radius: 5px;
  color: var(--accent);
  font-weight: 500;
}
.cn-table-actions { display: flex; gap: 6px; align-items: center; }
.cn-act-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  border-radius: 6px;
  display: flex;
  transition: all .12s;
  font-family: var(--font-body);
}
.cn-act-btn:hover { background: var(--surface-hover); color: var(--text-primary); }
.cn-act-btn.danger:hover { color: #ef4444; background: rgba(239,68,68,.08); }

/* ── PERSON ROW AVATAR ────────────────────────────────────────── */
.cn-person-row-av { display: inline-flex; align-items: center; gap: 10px; }
.cn-av {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  letter-spacing: .5px;
}
.cn-av.employee   { background: #3b82f6; }
.cn-av.visitor    { background: #f59e0b; }
.cn-av.contractor { background: #8b5cf6; }
.cn-av.driver     { background: #6366f1; }
.cn-av.temporary  { background: #06b6d4; }
.cn-av.vendor     { background: #f97316; }
.cn-av.intern     { background: #10b981; }
.cn-av.vip        { background: #eab308; color: #78350f; }
.cn-av-name { font-weight: 600; color: var(--text-primary); font-size: 13px; }
.cn-av-sub  { font-size: 11.5px; color: var(--text-muted); margin-top: 1px; }

/* ── FORM ─────────────────────────────────────────────────────── */
.cn-form-group { margin-bottom: 16px; }
.cn-form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 5px;
  letter-spacing: .2px;
}
.cn-form-input,
.cn-form-select,
.cn-form-textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text-primary);
  font-size: 13.5px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.cn-form-input:focus,
.cn-form-select:focus,
.cn-form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,96,74,.1);
}
.cn-form-hint { font-size: 11.5px; color: var(--text-muted); margin-top: 4px; }
.cn-form-row { display: flex; gap: 12px; }
.cn-form-row .cn-form-group { flex: 1; }
.cn-form-textarea { min-height: 80px; resize: vertical; }

/* ── MODAL HELPERS ────────────────────────────────────────────── */
.cn-modal-form { display: flex; flex-direction: column; gap: 14px; }
.cn-modal-footer {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

/* ── EMPTY STATE ──────────────────────────────────────────────── */
.cn-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
  text-align: center;
  gap: 10px;
}
.cn-empty-icon  { color: var(--text-muted); opacity: .35; margin-bottom: 4px; }
.cn-empty-title { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.cn-empty-sub   { font-size: 13px; color: var(--text-muted); max-width: 280px; line-height: 1.5; }

/* ── PAGINATION ───────────────────────────────────────────────── */
.cn-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-muted);
}
.cn-page-btns { display: flex; gap: 4px; }
.cn-page-btn {
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 12px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .12s;
  font-family: var(--font-body);
}
.cn-page-btn:hover  { border-color: var(--accent); color: var(--accent); }
.cn-page-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.cn-page-btn:disabled { opacity: .4; cursor: not-allowed; }

/* ── DETAIL PANEL ─────────────────────────────────────────────── */
.cn-detail-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.cn-detail-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.cn-detail-av {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
  color: #fff;
  letter-spacing: .5px;
  flex-shrink: 0;
}
.cn-detail-name { font-size: 18px; font-weight: 700; color: var(--text-primary); }
.cn-detail-meta { font-size: 12.5px; color: var(--text-muted); margin-top: 3px; }
.cn-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) { .cn-detail-grid { grid-template-columns: 1fr; } }
.cn-detail-field-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.cn-detail-field-val { font-size: 13.5px; color: var(--text-primary); font-weight: 500; }

/* ── RFID WIDGET ──────────────────────────────────────────────── */
.cn-rfid-widget {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
}
.cn-rfid-widget-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--surface-hover);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
}
.cn-rfid-widget-code { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--accent); }
.cn-rfid-widget-type { font-size: 11.5px; color: var(--text-muted); margin-top: 1px; }

/* ── SCAN FEED SHARED ─────────────────────────────────────────── */
.cn-scan-feed { display: flex; flex-direction: column; gap: 6px; }
.cn-scan-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface);
  animation: cn-slidein .25s ease;
  transition: background .1s;
}
@keyframes cn-slidein {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cn-scan-entry:hover { background: var(--surface-hover); }
.cn-scan-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cn-scan-entry.approved .cn-scan-dot { background: #10b981; }
.cn-scan-entry.rejected .cn-scan-dot { background: #ef4444; }
.cn-scan-entry.override .cn-scan-dot { background: #f59e0b; }
.cn-scan-info { flex: 1; min-width: 0; }
.cn-scan-name { font-weight: 600; font-size: 13px; color: var(--text-primary); }
.cn-scan-sub  { font-size: 11.5px; color: var(--text-muted); }
.cn-scan-status {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.cn-scan-entry.approved .cn-scan-status { background: rgba(16,185,129,.1); color: #047857; }
.cn-scan-entry.rejected .cn-scan-status { background: rgba(239,68,68,.1);  color: #b91c1c; }
.cn-scan-entry.override .cn-scan-status { background: rgba(245,158,11,.1); color: #92400e; }
.cn-scan-time { font-size: 11px; color: var(--text-muted); font-family: var(--font-mono); white-space: nowrap; }
.cn-scan-rfid {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: var(--surface-hover);
  padding: 2px 6px;
  border-radius: 4px;
}
