/* Delta Air Systems — Dashboard Styles */

:root {
  --primary: #32373c;
  --primary-light: #484e54;
  --primary-dark: #24282c;
  --accent: #db3131;
  --accent-hover: #c42828;
  --accent-light: #f5e0e0;
  --bg: #f4f5f7;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --green: #059669;
  --green-light: #d1fae5;
  --blue: #2563eb;
  --blue-light: #dbeafe;
  --yellow: #d97706;
  --yellow-light: #fef3c7;
  --red: #dc2626;
  --red-light: #fee2e2;
  --sidebar-width: 220px;
  --topbar-height: 56px;
  --radius: 8px;
  --radius-sm: 4px;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-lg: 0 4px 12px rgba(0,0,0,0.1);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--gray-800);
  font-size: 14px;
  line-height: 1.5;
}

/* ============ LOGIN ============ */

.login-overlay {
  position: fixed; inset: 0;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
}

.login-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  width: 380px;
  box-shadow: var(--shadow-lg);
}

.login-logo {
  text-align: center;
  margin-bottom: 4px;
}

.login-logo-img {
  max-width: 220px;
  height: auto;
}

.logo-delta { color: var(--accent); }

.login-subtitle {
  text-align: center;
  color: var(--gray-500);
  margin-bottom: 24px;
  font-size: 13px;
}

.login-form { display: flex; flex-direction: column; gap: 14px; }

.login-form .form-group { display: flex; flex-direction: column; gap: 4px; }

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

.login-form input {
  padding: 10px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  transition: border-color 0.15s;
}

.login-form input:focus { outline: none; border-color: var(--accent); }

.login-error {
  color: var(--red);
  font-size: 13px;
  text-align: center;
  min-height: 20px;
}

/* ============ APP LAYOUT ============ */

.app {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-width);
  background: var(--primary);
  color: var(--white);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  transition: transform 0.2s;
}

.sidebar-header {
  padding: 10px 16px;
  margin: 12px 12px 0;
  border-radius: var(--radius);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-logo-img {
  max-width: 150px;
  height: auto;
}

.sidebar-nav {
  flex: 1;
  padding: 8px 0;
  overflow-y: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: var(--gray-300);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s;
  position: relative;
}

.nav-item:hover { background: var(--primary-light); color: var(--white); }

.nav-item.active {
  background: var(--primary-light);
  color: var(--white);
  border-left: 3px solid var(--accent);
  padding-left: 17px;
}

.nav-icon {
  width: 18px; height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.emergency-dot {
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  position: absolute;
  right: 16px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.sidebar-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--primary-light);
}

.btn-logout {
  background: none;
  border: 1px solid var(--gray-400);
  color: var(--gray-300);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 12px;
  width: 100%;
  transition: all 0.15s;
}

.btn-logout:hover { background: var(--primary-light); color: var(--white); border-color: var(--gray-300); }

.main {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
}

.topbar {
  height: var(--topbar-height);
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.sidebar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.sidebar-toggle svg { fill: var(--gray-600); }

.page-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
}

.topbar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-name {
  font-size: 13px;
  color: var(--gray-500);
}

.content {
  padding: 24px;
}

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border: none; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500; font-family: var(--font);
  cursor: pointer; transition: all 0.15s;
  text-decoration: none;
}

.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:disabled { background: var(--gray-300); cursor: not-allowed; }

.btn-secondary { background: var(--white); color: var(--gray-700); border: 1px solid var(--gray-300); }
.btn-secondary:hover { background: var(--gray-50); }

.btn-sm { padding: 5px 10px; font-size: 12px; }

.btn-icon {
  background: none; border: none; cursor: pointer;
  padding: 4px; border-radius: var(--radius-sm);
  color: var(--gray-500);
}
.btn-icon:hover { background: var(--gray-100); color: var(--gray-700); }

/* ============ CARDS ============ */

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

.card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}

.card-title {
  font-size: 14px; font-weight: 600; color: var(--gray-700);
}

/* KPI Cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.kpi-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kpi-card.emergency { border-left: 4px solid var(--red); }

.kpi-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.2;
}

.kpi-label {
  font-size: 12px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kpi-trend {
  font-size: 12px;
  font-weight: 500;
}
.kpi-trend.up { color: var(--green); }
.kpi-trend.down { color: var(--red); }

/* ============ BADGES ============ */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.badge-scheduled { background: var(--blue-light); color: var(--blue); }
.badge-confirmed { background: var(--green-light); color: var(--green); }
.badge-in_progress, .badge-in-progress { background: var(--yellow-light); color: var(--yellow); }
.badge-completed { background: #d1fae5; color: #065f46; }
.badge-cancelled { background: var(--gray-100); color: var(--gray-500); }
.badge-no_show, .badge-no-show { background: var(--red-light); color: var(--red); }

.badge-emergency {
  background: var(--red);
  color: var(--white);
  animation: pulse 1.5s infinite;
}

.badge-positive { background: var(--green-light); color: var(--green); }
.badge-negative { background: var(--red-light); color: var(--red); }
.badge-neutral { background: var(--gray-100); color: var(--gray-500); }

.badge-inbound { background: var(--blue-light); color: var(--blue); }
.badge-outbound { background: var(--green-light); color: var(--green); }

.badge-booked { background: var(--green-light); color: var(--green); }
.badge-inquiry { background: var(--blue-light); color: var(--blue); }
.badge-transferred { background: var(--yellow-light); color: var(--yellow); }
.badge-abandoned { background: var(--gray-100); color: var(--gray-500); }
.badge-voicemail { background: var(--gray-100); color: var(--gray-500); }
.badge-emergency_dispatched { background: var(--red-light); color: var(--red); }
.badge-wrong_number { background: var(--gray-100); color: var(--gray-500); }
.badge-callback_requested { background: var(--yellow-light); color: var(--yellow); }
.badge-rescheduled { background: var(--blue-light); color: var(--blue); }

/* ============ DATA TABLE ============ */

.table-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.table-search {
  padding: 7px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: var(--font);
  min-width: 220px;
  transition: border-color 0.15s;
}

.table-search:focus { outline: none; border-color: var(--accent); }

.table-filter {
  padding: 7px 10px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: var(--font);
  background: var(--white);
  cursor: pointer;
}

.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  text-align: left;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--gray-200);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

thead th:hover { color: var(--gray-700); }
thead th.sorted { color: var(--accent); }
thead th .sort-arrow { font-size: 10px; margin-left: 4px; }

tbody tr {
  border-bottom: 1px solid var(--gray-100);
  transition: background 0.1s;
}

tbody tr:hover { background: var(--gray-50); }
tbody tr.clickable { cursor: pointer; }

tbody td {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--gray-700);
  white-space: nowrap;
}

tbody td.wrap { white-space: normal; max-width: 300px; }

.table-empty {
  text-align: center;
  padding: 40px;
  color: var(--gray-400);
  font-size: 14px;
}

.table-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 13px;
  color: var(--gray-500);
}

.pagination-buttons {
  display: flex;
  gap: 4px;
}

.pagination-btn {
  padding: 5px 10px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  font-size: 12px;
  font-family: var(--font);
}

.pagination-btn:hover { background: var(--gray-50); }
.pagination-btn.active { background: var(--accent); color: var(--white); border-color: var(--accent); }
.pagination-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ============ MODAL ============ */

.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
  z-index: 200;
  animation: fadeIn 0.15s;
}

.modal-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  animation: slideUp 0.2s;
}

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

.modal-title { font-size: 16px; font-weight: 600; }

.modal-close {
  background: none; border: none;
  font-size: 20px; cursor: pointer;
  color: var(--gray-400); padding: 4px;
}
.modal-close:hover { color: var(--gray-700); }

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

.modal-footer {
  padding: 14px 24px;
  border-top: 1px solid var(--gray-200);
  display: flex; justify-content: flex-end; gap: 8px;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 12px; font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: var(--font);
  transition: border-color 0.15s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--accent);
}

.form-textarea { min-height: 80px; resize: vertical; }

.form-toggle {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer;
}

.form-toggle input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--accent);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ============ TOAST ============ */

.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.2s;
  max-width: 350px;
}

.toast-success { background: var(--green); color: var(--white); }
.toast-error { background: var(--red); color: var(--white); }
.toast-info { background: var(--blue); color: var(--white); }

@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ============ DATE PICKER ============ */

.date-picker {
  display: flex; align-items: center; gap: 8px;
}

.date-picker input[type="date"] {
  padding: 7px 10px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: var(--font);
}

.date-picker input[type="date"]:focus { outline: none; border-color: var(--accent); }

.date-presets { display: flex; gap: 4px; }

.preset-btn {
  padding: 5px 10px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 11px;
  cursor: pointer;
  font-family: var(--font);
}

.preset-btn:hover { background: var(--gray-50); }
.preset-btn.active { background: var(--accent); color: var(--white); border-color: var(--accent); }

/* ============ DISPATCH GRID ============ */

.dispatch-grid {
  display: flex; flex-direction: column; gap: 16px;
}

.dispatch-tech {
  display: flex; gap: 12px; align-items: flex-start;
}

.dispatch-tech-name {
  min-width: 100px;
  font-weight: 600;
  font-size: 13px;
  padding-top: 4px;
  color: var(--gray-700);
}

.dispatch-slots {
  display: flex; gap: 2px; flex: 1; flex-wrap: wrap;
}

.dispatch-slot {
  width: 56px; height: 36px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  font-weight: 500;
  cursor: default;
  position: relative;
  border: 1px solid transparent;
}

.dispatch-slot.available { background: #e8f5e9; color: var(--green); }
.dispatch-slot.booked { background: var(--blue-light); color: var(--blue); cursor: pointer; }
.dispatch-slot.completed { background: #c8e6c9; color: #2e7d32; }
.dispatch-slot.lunch { background: var(--gray-100); color: var(--gray-400); }
.dispatch-slot.blocked { background: var(--gray-100); color: var(--gray-400); }
.dispatch-slot.emergency { border: 2px solid var(--red); animation: pulse 1.5s infinite; }

/* Tech status indicators on dispatch slots */
.dispatch-slot.ts-dispatched { background: #fff3e0; color: #e65100; border-bottom: 3px solid #e65100; }
.dispatch-slot.ts-arriving { background: #fce4ec; color: #c62828; border-bottom: 3px solid #c62828; }
.dispatch-slot.ts-on_site { background: #e8f5e9; color: #2e7d32; border-bottom: 3px solid #2e7d32; }

/* Dispatch popover */
.dispatch-popover {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  padding: 12px;
  min-width: 180px;
  z-index: 1000;
}
.popover-header {
  font-weight: 700;
  font-size: 13px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 8px;
}
.popover-actions { display: flex; flex-direction: column; gap: 4px; }
.popover-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border: none; border-radius: var(--radius-sm);
  background: var(--gray-50); color: var(--gray-700);
  font-size: 13px; font-weight: 500; cursor: pointer;
  text-align: left; width: 100%;
}
.popover-btn:hover { background: var(--gray-100); }
.popover-btn.active { background: var(--blue-light); color: var(--blue); font-weight: 600; }
.popover-eta {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0 4px; font-size: 12px; color: var(--gray-500);
}
.popover-eta input { font-size: 13px; padding: 4px 8px; }

.dispatch-slot-tooltip {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gray-800);
  color: var(--white);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  white-space: nowrap;
  z-index: 10;
  margin-bottom: 4px;
}

.dispatch-slot:hover .dispatch-slot-tooltip { display: block; }

.dispatch-time-header {
  display: flex; gap: 2px; margin-left: 112px; margin-bottom: 4px;
}

.dispatch-time-label {
  width: 56px;
  text-align: center;
  font-size: 10px;
  color: var(--gray-400);
}

/* ============ ANALYTICS ============ */

.analytics-tabs {
  display: flex; gap: 0; margin-bottom: 20px;
  border-bottom: 2px solid var(--gray-200);
}

.analytics-tab {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-500);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-family: var(--font);
  transition: all 0.15s;
}

.analytics-tab:hover { color: var(--gray-700); }
.analytics-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

.chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
}

.chart-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

.chart-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 16px;
}

/* ============ CUSTOMER DETAIL PANEL ============ */

.detail-panel {
  position: fixed;
  right: 0; top: 0; bottom: 0;
  width: 480px;
  background: var(--white);
  box-shadow: -4px 0 12px rgba(0,0,0,0.1);
  z-index: 150;
  overflow-y: auto;
  animation: slideLeft 0.2s;
}

@keyframes slideLeft { from { transform: translateX(100%); } to { transform: translateX(0); } }

.detail-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; background: var(--white); z-index: 1;
}

.detail-body { padding: 20px 24px; }

.detail-section {
  margin-bottom: 24px;
}

.detail-section-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gray-200);
}

.detail-field {
  display: flex; justify-content: space-between;
  padding: 4px 0;
  font-size: 13px;
}

.detail-field-label { color: var(--gray-500); }
.detail-field-value { color: var(--gray-800); font-weight: 500; }

.detail-mini-table {
  width: 100%; border-collapse: collapse;
}

.detail-mini-table th {
  text-align: left; padding: 6px 8px;
  font-size: 11px; color: var(--gray-500);
  text-transform: uppercase; border-bottom: 1px solid var(--gray-200);
}

.detail-mini-table td {
  padding: 6px 8px; font-size: 12px;
  border-bottom: 1px solid var(--gray-100);
}

/* ============ TRANSCRIPT VIEWER ============ */

.transcript {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px;
  max-height: 300px;
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
  color: var(--gray-700);
}

/* ============ EMERGENCY BANNER ============ */

.emergency-banner {
  background: var(--red);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: pulse 1.5s infinite;
}

/* ============ LOADING ============ */

.loading {
  display: flex; align-items: center; justify-content: center;
  padding: 60px; color: var(--gray-400);
}

.spinner {
  width: 24px; height: 24px;
  border: 3px solid var(--gray-200);
  border-top: 3px solid var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ============ RESPONSIVE ============ */

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open { transform: translateX(0); }

  .sidebar-toggle { display: block; }

  .main { margin-left: 0; }

  .content { padding: 16px; }

  .kpi-grid { grid-template-columns: repeat(2, 1fr); }

  .chart-grid { grid-template-columns: 1fr; }

  .detail-panel { width: 100%; }

  .modal-card { width: calc(100% - 32px); margin: 16px; }

  .table-controls { flex-direction: column; align-items: stretch; }
  .table-search { min-width: unset; }

  .dispatch-tech { flex-direction: column; }
  .dispatch-tech-name { min-width: unset; }
}

/* ============ UTILITY ============ */

.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mt-12 { margin-top: 12px; }
.text-center { text-align: center; }
.text-muted { color: var(--gray-500); }
.text-sm { font-size: 12px; }
.fw-600 { font-weight: 600; }
.hidden { display: none !important; }
