/* ==========================================================================
   VLG Lab ERP — Employee Portal (Modern Light Theme Design System)
   ========================================================================== */

:root {
  /* Core Palette */
  --bg-app: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-hover: #e2e8f0;
  
  /* Text */
  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  
  /* Borders & Dividers */
  --border-light: #e2e8f0;
  --border-focus: #6366f1;
  --border-subtle: #f1f5f9;

  /* Accents */
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: #e0e7ff;
  --primary-focus: rgba(79, 70, 229, 0.15);

  --success: #10b981;
  --success-light: #d1fae5;
  --success-text: #065f46;

  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --warning-text: #92400e;

  --danger: #ef4444;
  --danger-light: #fee2e2;
  --danger-text: #991b1b;

  --info: #0284c7;
  --info-light: #e0f2fe;

  --purple: #8b5cf6;
  --purple-light: #ede9fe;

  /* Layout */
  --sidebar-width: 250px;
  --sidebar-collapsed: 72px;
  --topbar-height: 64px;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;

  /* Elevation */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
  background-color: var(--bg-app);
  color: var(--text-main);
  height: 100vh;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* --------------------------------------------------------------------------
   Google Material Symbols Configuration
   -------------------------------------------------------------------------- */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
  user-select: none;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.material-symbols-outlined.fill {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.icon-xs { font-size: 14px !important; }
.icon-sm { font-size: 18px !important; }
.icon-md { font-size: 20px !important; }
.icon-lg { font-size: 24px !important; }
.icon-xl { font-size: 32px !important; }
.icon-2xl { font-size: 44px !important; }

/* --------------------------------------------------------------------------
   Login Screen (Crisp & Welcoming Light Mode)
   -------------------------------------------------------------------------- */
.login-wrap {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, #eef2ff 0%, #f8fafc 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}

.login-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 44px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-xl);
  text-align: center;
}

.login-brand-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.login-box h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
}

.login-box p.subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin: 4px 0 24px;
}

.demo-account-pills {
  margin-top: 24px;
  padding: 16px;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-light);
  text-align: left;
}

.demo-account-pills h4 {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.demo-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
}

.demo-btn:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.demo-btn strong {
  display: block;
  color: var(--text-main);
}

.demo-btn small {
  color: var(--text-muted);
  font-family: monospace;
}

/* --------------------------------------------------------------------------
   App Layout
   -------------------------------------------------------------------------- */
.app-container {
  display: flex;
  height: 100vh;
  width: 100%;
}

/* Sidebar */
.app-sidebar {
  width: var(--sidebar-width);
  background: var(--bg-surface);
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: width 0.2s ease;
  flex-shrink: 0;
  z-index: 40;
}

.app-sidebar.collapsed {
  width: var(--sidebar-collapsed);
}

.sidebar-brand {
  height: var(--topbar-height);
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-light);
}

.brand-icon {
  font-size: 26px;
  flex-shrink: 0;
}

.brand-info {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.brand-name {
  font-weight: 800;
  font-size: 16px;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-loc {
  font-size: 11px;
  color: var(--text-muted);
}

.sidebar-toggle-btn {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
}

.sidebar-toggle-btn:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
}

.sidebar-nav {
  flex: 1;
  padding: 12px 10px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: none;
  background: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
  white-space: nowrap;
  font-family: inherit;
  position: relative;
}

.nav-item:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
}

.nav-item.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background: var(--primary);
  border-radius: 0 4px 4px 0;
}

.nav-icon {
  font-size: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-badge {
  margin-left: auto;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}

.sidebar-footer {
  padding: 14px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

.user-profile-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.user-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

.user-details {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}

.user-name-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.user-role-badge {
  font-size: 10px;
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 700;
}

.role-admin { background: #fef3c7; color: #b45309; }
.role-employee { background: #e0e7ff; color: #4338ca; }

.btn-signout {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  color: var(--danger);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-signout:hover {
  background: var(--danger-light);
  border-color: var(--danger);
}

/* --------------------------------------------------------------------------
   Main Workspace
   -------------------------------------------------------------------------- */
.main-workspace {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-app);
}

/* Top bar */
.top-header {
  height: var(--topbar-height);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  flex-shrink: 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-title-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.status-pill-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--success-light);
  color: var(--success-text);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
}

.clock-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

/* Scrollable View Area */
.view-viewport {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

/* --------------------------------------------------------------------------
   UI Components (Cards, Buttons, Tables, Badges)
   -------------------------------------------------------------------------- */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.metric-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

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

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.accent-blue::before { background: var(--primary); }
.accent-emerald::before { background: var(--success); }
.accent-amber::before { background: var(--warning); }
.accent-rose::before { background: var(--danger); }

.metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.metric-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.metric-icon {
  font-size: 20px;
}

.metric-val {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 8px;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.5px;
}

.metric-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Section Card */
.content-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-xs);
  margin-bottom: 24px;
}

.content-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.content-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Buttons */
.btn-solid-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s;
  box-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
  font-family: inherit;
}

.btn-solid-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.btn-outline-secondary {
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
  font-family: inherit;
}

.btn-outline-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--text-muted);
  color: var(--text-main);
}

.btn-sm-action {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}

/* Form Controls */
.form-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 5px;
  display: block;
}

.form-control-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-main);
  background: var(--bg-surface);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-control-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-focus);
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-row-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

/* Data Table */
.erp-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}

.erp-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.erp-data-table th {
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.erp-data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
}

.erp-data-table tbody tr:hover {
  background-color: #f8fafc;
}

/* Status Chips */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: capitalize;
}

.pill-received { background: #e0e7ff; color: #4338ca; }
.pill-design { background: #f3e8ff; color: #7e22ce; }
.pill-printing { background: #e0f2fe; color: #0369a1; }
.pill-finishing { background: #fef3c7; color: #b45309; }
.pill-ready { background: #d1fae5; color: #065f46; }
.pill-delivered { background: #f1f5f9; color: #475569; }
.pill-cancelled { background: #fee2e2; color: #991b1b; }

/* --------------------------------------------------------------------------
   POS Station Layout (Ergonomic 2-Column Light Counter View)
   -------------------------------------------------------------------------- */
.pos-workspace-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 20px;
}

@media (max-width: 1100px) {
  .pos-workspace-grid {
    grid-template-columns: 1fr;
  }
}

.pos-preset-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  margin: 12px 0 20px;
}

.pos-tile-btn {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  transition: all 0.15s;
  box-shadow: var(--shadow-xs);
}

.pos-tile-btn:hover {
  border-color: var(--primary);
  background: #f5f3ff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pos-tile-icon {
  font-size: 24px;
}

.pos-tile-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.pos-tile-price {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
}

/* Bill Invoice Panel */
.pos-bill-card {
  position: sticky;
  top: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-md);
}

.bill-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-light);
  font-size: 13px;
}

.bill-item-title {
  font-weight: 600;
  color: var(--text-main);
}

.bill-item-meta {
  font-size: 11px;
  color: var(--text-muted);
}

.bill-item-price {
  font-weight: 700;
  color: var(--primary);
}

.bill-totals-box {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  margin: 16px 0;
}

.bill-row-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.bill-row-grand {
  display: flex;
  justify-content: space-between;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  border-top: 2px dashed var(--border-light);
  padding-top: 10px;
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   Kanban Board (Color-Coded Production Flow)
   -------------------------------------------------------------------------- */
.kanban-scroll-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 20px;
}

.kanban-stage-column {
  flex-shrink: 0;
  width: 270px;
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  padding: 14px;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.kanban-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid;
}

.stage-received { border-color: #4338ca; }
.stage-design { border-color: #7e22ce; }
.stage-printing { border-color: #0284c7; }
.stage-finishing { border-color: #f59e0b; }
.stage-ready { border-color: #10b981; }

.kanban-stage-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kanban-job-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 10px;
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.15s;
}

.kanban-job-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.job-card-no {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 13px;
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   Modal Overlays & Toast
   -------------------------------------------------------------------------- */
.modal-backdrop-blur {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-dialog-box {
  background: var(--bg-surface);
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.modal-dialog-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-dialog-header h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
}

.modal-dialog-body {
  padding: 24px;
}

/* Toast */
.erp-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.erp-toast-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInRight 0.25s ease;
}

.erp-toast-card.success {
  border-left: 4px solid var(--success);
  color: var(--success-text);
}

.erp-toast-card.error {
  border-left: 4px solid var(--danger);
  color: var(--danger-text);
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Thermal Bill Preview */
.thermal-receipt-paper {
  font-family: 'Courier New', Courier, monospace;
  background: #ffffff;
  padding: 24px;
  border: 1px dashed #cbd5e1;
  border-radius: 4px;
  color: #000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.thermal-receipt-paper .center {
  text-align: center;
}

.thermal-receipt-paper hr {
  border: none;
  border-top: 1px dashed #000;
  margin: 10px 0;
}

/* --------------------------------------------------------------------------
   Tabs, Filter Bars & Utility States
   -------------------------------------------------------------------------- */
.tab-pill-group {
  display: flex;
  gap: 8px;
  background: var(--bg-subtle);
  padding: 4px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  border: 1px solid var(--border-light);
  width: fit-content;
}

.tab-pill-btn {
  padding: 8px 16px;
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}

.tab-pill-btn.active {
  background: var(--bg-surface);
  color: var(--primary);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.filter-group-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.empty-state-box {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 42px;
  margin-bottom: 12px;
  opacity: 0.7;
}

.empty-state-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.empty-state-text {
  font-size: 13px;
  color: var(--text-muted);
}

.btn-action-icon {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

.btn-action-icon:hover {
  background: var(--bg-subtle);
}

.btn-danger-outline {
  background: var(--bg-surface);
  color: var(--danger);
  border: 1.5px solid var(--danger-light);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}

.btn-danger-outline:hover {
  background: var(--danger-light);
  border-color: var(--danger);
}

.alert-banner-soft {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}

@media print {
  body * {
    visibility: hidden;
  }
  #printable-receipt, #printable-receipt * {
    visibility: visible;
  }
  #printable-receipt {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    box-shadow: none;
    border: none;
  }
}
