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

:root {
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --primary-bg: rgba(99, 102, 241, 0.08);
  --accent: #06b6d4;
  --success: #10b981;
  --success-light: #d1fae5;
  --danger: #ef4444;
  --danger-light: #fee2e2;
  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --orange: #f97316;

  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  --sidebar-width: 260px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 8px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 50px -12px rgba(0,0,0,0.15);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--gray-50);
  color: var(--gray-900);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.material-symbols-rounded {
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

/* ==================== LOGIN ==================== */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #312e81 70%, #4338ca 100%);
  position: relative;
  overflow: hidden;
}

.login-container::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.3), transparent 70%);
  top: -200px;
  right: -100px;
  border-radius: 50%;
  animation: floatBg 8s ease-in-out infinite;
}

.login-container::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,0.2), transparent 70%);
  bottom: -100px;
  left: -50px;
  border-radius: 50%;
  animation: floatBg 10s ease-in-out infinite reverse;
}

@keyframes floatBg {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

.login-box {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.1);
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
  animation: slideUp 0.6s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-logo {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
}

.login-logo .material-symbols-rounded {
  font-size: 32px;
  color: white;
}

.login-box h1 {
  text-align: center;
  margin-bottom: 0.25rem;
  color: var(--gray-900);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.login-box .subtitle {
  text-align: center;
  color: var(--gray-500);
  margin-bottom: 2rem;
  font-size: 0.9rem;
  font-weight: 400;
}

/* ==================== LAYOUT ==================== */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* ==================== SIDEBAR ==================== */
.sidebar {
  width: var(--sidebar-width);
  background: linear-gradient(180deg, var(--gray-900) 0%, #1a1a2e 100%);
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: var(--transition);
  border-right: 1px solid rgba(255,255,255,0.05);
}

.sidebar-header {
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sidebar-brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.sidebar-brand-icon .material-symbols-rounded {
  font-size: 22px;
  color: white;
}

.sidebar-header h2 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.sidebar-header small {
  color: var(--gray-400);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
}

.sidebar-section-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gray-500);
  padding: 1rem 0.75rem 0.5rem;
  font-weight: 600;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  margin-bottom: 2px;
}

.sidebar-nav a .material-symbols-rounded {
  font-size: 21px;
  opacity: 0.7;
  transition: var(--transition);
}

.sidebar-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: white;
}

.sidebar-nav a:hover .material-symbols-rounded {
  opacity: 1;
}

.sidebar-nav a.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.1));
  color: white;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.2);
}

.sidebar-nav a.active .material-symbols-rounded {
  opacity: 1;
  color: var(--primary-light);
}

.sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,0.2);
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sidebar-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
  flex-shrink: 0;
}

.sidebar-footer .user-name { color: white; font-weight: 600; font-size: 0.88rem; }
.sidebar-footer .user-role {
  color: var(--gray-400);
  font-size: 0.72rem;
  text-transform: capitalize;
  font-weight: 500;
}

.btn-logout {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--gray-400);
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 500;
  margin-top: 0.75rem;
  width: 100%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-logout:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  padding: 2rem 2.5rem;
  background: var(--gray-50);
  min-height: 100vh;
}

/* ==================== PAGE HEADER ==================== */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.5px;
}

/* ==================== STAT CARDS ==================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}

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

.stat-card:hover::before {
  opacity: 1;
}

.stat-card .stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.stat-card .stat-icon .material-symbols-rounded {
  font-size: 22px;
  color: white;
}

.stat-card .stat-icon.purple { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.stat-card .stat-icon.green { background: linear-gradient(135deg, #10b981, #34d399); }
.stat-card .stat-icon.red { background: linear-gradient(135deg, #ef4444, #f87171); }
.stat-card .stat-icon.blue { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.stat-card .stat-icon.orange { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.stat-card .stat-icon.cyan { background: linear-gradient(135deg, #06b6d4, #22d3ee); }

.stat-card .label {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-weight: 600;
}

.stat-card .value {
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0.15rem 0;
  letter-spacing: -0.5px;
}

.stat-card .value.danger { color: var(--danger); }
.stat-card .value.success { color: var(--success); }
.stat-card .value.warning { color: var(--warning); }

/* ==================== CARDS ==================== */
.card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow);
}

.card-header {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gray-800);
}

.card-body { padding: 1.5rem; }

/* ==================== TABLES ==================== */
table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 0.85rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
}

th {
  background: var(--gray-50);
  font-size: 0.72rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
}

td {
  font-size: 0.88rem;
}

tr {
  transition: var(--transition);
}

tr:hover {
  background: rgba(99, 102, 241, 0.02);
}

tr:last-child td {
  border-bottom: none;
}

/* ==================== FORMS ==================== */
.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
  letter-spacing: -0.1px;
}

input, select, textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xs);
  font-size: 0.9rem;
  font-family: 'Inter', system-ui, sans-serif;
  transition: var(--transition);
  background: white;
  color: var(--gray-900);
}

input::placeholder, textarea::placeholder {
  color: var(--gray-400);
}

input:hover, select:hover, textarea:hover {
  border-color: var(--gray-300);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

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

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-xs);
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', system-ui, sans-serif;
  letter-spacing: -0.1px;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
  transform: translateY(-1px);
}

.btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}
.btn-success:hover {
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}
.btn-danger:hover {
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
  transform: translateY(-1px);
}

.btn-warning {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.btn-secondary {
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1.5px solid var(--gray-200);
  box-shadow: none;
}
.btn-secondary:hover {
  background: var(--gray-200);
  border-color: var(--gray-300);
}

.btn-sm { padding: 0.4rem 0.75rem; font-size: 0.78rem; border-radius: 7px; }
.btn-block { width: 100%; justify-content: center; }

/* ==================== BADGES ==================== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.badge-success { background: var(--success-light); color: #065f46; }
.badge-danger { background: var(--danger-light); color: #991b1b; }
.badge-warning { background: var(--warning-light); color: #92400e; }
.badge-primary { background: var(--primary-bg); color: var(--primary-dark); }

/* ==================== MODAL ==================== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  z-index: 200;
  justify-content: center;
  align-items: flex-start;
  padding-top: 5vh;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  background: white;
  border-radius: 20px;
  width: 100%;
  max-width: 550px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.05);
  animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
  from { opacity: 0; transform: translateY(-20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  padding: 1.35rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gray-900);
}

.modal-close {
  background: var(--gray-100);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-500);
  font-size: 1.2rem;
  line-height: 1;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--gray-200);
  color: var(--gray-700);
}

.modal-body { padding: 1.5rem; }
.modal-footer {
  padding: 1.15rem 1.5rem;
  border-top: 1px solid var(--gray-100);
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  background: var(--gray-50);
  border-radius: 0 0 20px 20px;
}

/* ==================== POS ==================== */
.pos-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 1.5rem;
  height: calc(100vh - 120px);
}

.pos-products { overflow-y: auto; }

.pos-cart {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}

.pos-cart-header {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--gray-100);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-800);
}

.pos-cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border-radius: var(--radius-xs);
  margin-bottom: 4px;
  transition: var(--transition);
}

.cart-item:hover {
  background: var(--gray-50);
}

.cart-item-name { font-weight: 600; font-size: 0.88rem; color: var(--gray-900); }
.cart-item-price { color: var(--gray-500); font-size: 0.78rem; }

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.cart-item-qty button {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--gray-200);
  border-radius: 7px;
  background: white;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-600);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-qty button:hover {
  background: var(--primary-bg);
  border-color: var(--primary-light);
  color: var(--primary);
}

.cart-item-qty span {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.pos-cart-total {
  padding: 1.25rem;
  border-top: 2px solid var(--gray-100);
  background: var(--gray-50);
  border-radius: 0 0 var(--radius) var(--radius);
}

.pos-total-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.pos-total-line.total {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gray-900);
  padding-top: 0.5rem;
  margin-top: 0.25rem;
  border-top: 2px dashed var(--gray-200);
  letter-spacing: -0.5px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 0.85rem;
}

.product-card {
  background: white;
  border-radius: var(--radius-sm);
  padding: 1.1rem 0.85rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:active {
  transform: translateY(0);
}

.product-card .name { font-weight: 600; font-size: 0.82rem; margin-bottom: 0.4rem; color: var(--gray-800); line-height: 1.3; }
.product-card .price { color: var(--primary); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.3px; }
.product-card .stock {
  font-size: 0.7rem;
  color: var(--gray-400);
  margin-top: 0.35rem;
  font-weight: 500;
}

/* ==================== SEARCH ==================== */
.search-bar {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.search-bar input {
  flex: 1;
  padding-left: 1rem;
  border-radius: var(--radius-sm);
  background: white;
}

.search-bar select {
  width: auto;
  min-width: 180px;
  border-radius: var(--radius-sm);
}

/* ==================== ALERTS ==================== */
.alert {
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.alert-success { background: var(--success-light); color: #065f46; border: 1px solid #a7f3d0; }
.alert-danger { background: var(--danger-light); color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: var(--warning-light); color: #92400e; border: 1px solid #fde68a; }

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; padding: 1rem; }
  .pos-layout { grid-template-columns: 1fr; height: auto; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ==================== TOAST ==================== */
.toast-container {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.toast {
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-sm);
  color: white;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  animation: toastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(8px);
}

.toast-success { background: linear-gradient(135deg, #10b981, #059669); }
.toast-error { background: linear-gradient(135deg, #ef4444, #dc2626); }
.toast-warning { background: linear-gradient(135deg, #f59e0b, #d97706); }

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

/* ==================== EMPTY STATE ==================== */
.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--gray-400);
}

.empty-state .material-symbols-rounded {
  font-size: 48px;
  margin-bottom: 0.75rem;
  opacity: 0.5;
}

.empty-state p {
  font-size: 0.9rem;
  font-weight: 500;
}

/* ==================== CHART BAR ==================== */
.chart-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chart-bar-value {
  font-size: 0.68rem;
  color: var(--gray-500);
  margin-bottom: 6px;
  font-weight: 600;
}

.chart-bar-fill {
  width: 100%;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.chart-bar-fill:hover {
  background: linear-gradient(180deg, var(--primary-light), var(--primary));
}

.chart-bar-label {
  font-size: 0.7rem;
  margin-top: 6px;
  color: var(--gray-400);
  font-weight: 600;
}
