/* ===== BisniSku Design System ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #e0e7ff;
  --secondary: #f59e0b;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --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;
  --gray-900: #111827;
  --white: #ffffff;
  --font: 'Plus Jakarta Sans', sans-serif;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --nav-height: 64px;
  --bottom-nav: 60px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--gray-50); color: var(--gray-800); min-height: 100vh; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font); border: none; outline: none; }
input, textarea, select { font-family: var(--font); }

/* ===== Loading Screen ===== */
.loading-screen {
  position: fixed; inset: 0; background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  z-index: 9999; transition: opacity 0.4s;
}
.loading-screen.hidden { opacity: 0; pointer-events: none; }
.loading-logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--primary); color: white;
  font-size: 28px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.loading-logo span { font-size: 28px; font-weight: 800; color: var(--gray-900); }
.loading-dots { display: flex; gap: 8px; }
.loading-dots span {
  width: 8px; height: 8px; border-radius: 50%; background: var(--primary); opacity: 0.3;
  animation: dotPulse 1.2s ease-in-out infinite;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotPulse { 0%,80%,100% { opacity: 0.3; transform: scale(0.9); } 40% { opacity: 1; transform: scale(1.2); } }

/* ===== App Shell ===== */
#app { min-height: 100vh; }
.app-layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 240px; background: var(--white); border-right: 1px solid var(--gray-200);
  position: fixed; top: 0; left: 0; height: 100vh; z-index: 100;
  display: flex; flex-direction: column; transition: transform 0.3s;
}
.sidebar-logo {
  padding: 20px 20px 16px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--gray-100);
}
.sidebar-logo .logo-mark { width: 36px; height: 36px; font-size: 18px; border-radius: 10px; }
.sidebar-logo span { font-size: 18px; font-weight: 800; color: var(--gray-900); }
.sidebar-nav { flex: 1; padding: 12px 0; overflow-y: auto; }
.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 20px; color: var(--gray-500); font-size: 14px; font-weight: 500;
  border-radius: 0; cursor: pointer; transition: all 0.2s;
  border-left: 3px solid transparent;
}
.nav-item:hover { color: var(--primary); background: var(--primary-light); }
.nav-item.active { color: var(--primary); background: var(--primary-light); border-left-color: var(--primary); font-weight: 600; }
.nav-item .nav-icon { font-size: 18px; width: 22px; text-align: center; flex-shrink: 0; }
.nav-badge {
  margin-left: auto; background: var(--danger); color: white;
  font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 10px; min-width: 18px; text-align: center;
}
.sidebar-footer { padding: 16px 20px; border-top: 1px solid var(--gray-100); }
.sidebar-user {
  display: flex; align-items: center; gap: 10px;
  padding: 10px; border-radius: var(--radius-sm); cursor: pointer;
  transition: background 0.2s;
}
.sidebar-user:hover { background: var(--gray-100); }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--primary);
  color: white; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-user-info .name { font-size: 13px; font-weight: 600; color: var(--gray-800); }
.sidebar-user-info .email { font-size: 11px; color: var(--gray-400); }

.main-content { flex: 1; margin-left: 240px; min-height: 100vh; }
.topbar {
  height: var(--nav-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;
}
.topbar-title { font-size: 18px; font-weight: 700; color: var(--gray-900); }
.topbar-actions { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.page-content { padding: 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600;
  transition: all 0.2s; cursor: pointer; border: none; line-height: 1;
}
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(99,102,241,0.35); }
.btn-secondary { background: var(--gray-100); color: var(--gray-700); }
.btn-secondary:hover { background: var(--gray-200); }
.btn-success { background: var(--success); color: white; }
.btn-success:hover { opacity: 0.9; }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { opacity: 0.9; }
.btn-outline { background: transparent; border: 1.5px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-ghost { background: transparent; color: var(--gray-600); }
.btn-ghost:hover { background: var(--gray-100); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ===== Cards ===== */
.card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); }
.card-header { padding: 20px 24px; border-bottom: 1px solid var(--gray-100); display: flex; align-items: center; justify-content: space-between; }
.card-title { font-size: 16px; font-weight: 700; color: var(--gray-900); }
.card-body { padding: 24px; }

/* ===== Stat Cards ===== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: var(--white); border-radius: var(--radius-lg); padding: 20px; border: 1px solid var(--gray-200); }
.stat-card .stat-label { font-size: 12px; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.stat-card .stat-value { font-size: 26px; font-weight: 800; color: var(--gray-900); margin-bottom: 4px; }
.stat-card .stat-sub { font-size: 12px; color: var(--gray-500); }
.stat-card .stat-icon { font-size: 28px; margin-bottom: 12px; }
.stat-positive { color: var(--success) !important; }
.stat-negative { color: var(--danger) !important; }

/* ===== Forms ===== */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-label .req { color: var(--danger); margin-left: 3px; }
.form-control {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm); font-size: 14px; color: var(--gray-800);
  background: var(--white); transition: all 0.2s; appearance: none;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.1); }
.form-control::placeholder { color: var(--gray-400); }
.form-control.error { border-color: var(--danger); }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-help { font-size: 12px; color: var(--gray-400); margin-top: 4px; }
.form-error { font-size: 12px; color: var(--danger); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input-group { display: flex; }
.input-group-text {
  padding: 10px 14px; background: var(--gray-100); border: 1.5px solid var(--gray-200);
  border-right: none; border-radius: var(--radius-sm) 0 0 var(--radius-sm); font-size: 14px; color: var(--gray-500);
  white-space: nowrap;
}
.input-group .form-control { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* ===== Tables ===== */
.table-container { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { font-size: 12px; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.05em; padding: 12px 16px; background: var(--gray-50); border-bottom: 1px solid var(--gray-200); text-align: left; white-space: nowrap; }
td { padding: 14px 16px; font-size: 14px; color: var(--gray-700); border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
tr:hover td { background: var(--gray-50); }
tr:last-child td { border-bottom: none; }

/* ===== Badges ===== */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-confirmed { background: #dbeafe; color: #1d4ed8; }
.badge-processing { background: #ede9fe; color: #6d28d9; }
.badge-shipped { background: #cffafe; color: #0e7490; }
.badge-delivered { background: #d1fae5; color: #065f46; }
.badge-cancelled { background: #fee2e2; color: #991b1b; }
.badge-paid { background: #d1fae5; color: #065f46; }
.badge-failed { background: #fee2e2; color: #991b1b; }
.badge-refunded { background: #fce7f3; color: #9d174d; }
.badge-active { background: #d1fae5; color: #065f46; }
.badge-inactive { background: var(--gray-100); color: var(--gray-500); }

/* ===== Products Grid ===== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.product-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--gray-200); overflow: hidden; transition: all 0.2s; cursor: pointer; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-card-img { aspect-ratio: 1; background: var(--gray-100); position: relative; overflow: hidden; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card-img .no-image { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 40px; color: var(--gray-300); }
.product-card-body { padding: 14px; }
.product-card-name { font-size: 14px; font-weight: 600; color: var(--gray-800); margin-bottom: 4px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-price { font-size: 16px; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.product-card-stock { font-size: 12px; color: var(--gray-400); }
.product-card-stock.low { color: var(--warning); }
.product-card-stock.out { color: var(--danger); }
.product-card-actions { display: flex; gap: 8px; padding: 0 14px 14px; }

/* ===== Image Upload ===== */
.img-upload-area {
  border: 2px dashed var(--gray-300); border-radius: var(--radius);
  padding: 32px; text-align: center; cursor: pointer;
  transition: all 0.2s; background: var(--gray-50);
}
.img-upload-area:hover, .img-upload-area.drag { border-color: var(--primary); background: var(--primary-light); }
.img-upload-area .upload-icon { font-size: 36px; margin-bottom: 8px; }
.img-upload-area p { font-size: 14px; color: var(--gray-500); }
.img-upload-area strong { color: var(--primary); }
.img-preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; margin-top: 12px; }
.img-preview { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; }
.img-preview img { width: 100%; height: 100%; object-fit: cover; }
.img-preview .remove-img { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; background: var(--danger); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; cursor: pointer; }

/* ===== Modal ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity 0.3s; }
.modal-overlay.show { opacity: 1; }
.modal { background: var(--white); border-radius: var(--radius-xl); width: 100%; max-width: 600px; max-height: 90vh; overflow-y: auto; transform: scale(0.9); transition: transform 0.3s; }
.modal-overlay.show .modal { transform: scale(1); }
.modal-header { padding: 20px 24px; border-bottom: 1px solid var(--gray-100); display: flex; align-items: center; justify-content: space-between; }
.modal-title { font-size: 18px; font-weight: 700; }
.modal-close { width: 32px; height: 32px; border-radius: 50%; background: var(--gray-100); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; color: var(--gray-500); transition: background 0.2s; }
.modal-close:hover { background: var(--gray-200); }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--gray-100); display: flex; gap: 12px; justify-content: flex-end; }

/* ===== Toast ===== */
.toast-container { position: fixed; bottom: 80px; right: 16px; z-index: 9000; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: var(--gray-900); color: white; padding: 14px 18px;
  border-radius: var(--radius); font-size: 14px; font-weight: 500;
  max-width: 320px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  animation: toastIn 0.3s ease;
}
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
.toast.warning { background: var(--warning); color: var(--gray-900); }
@keyframes toastIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ===== Filters / Search ===== */
.filter-bar { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; align-items: center; }
.search-input-wrap { position: relative; flex: 1; min-width: 200px; }
.search-input-wrap .search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--gray-400); font-size: 16px; }
.search-input-wrap input { padding-left: 38px; }
.filter-select { min-width: 140px; }

/* ===== Empty State ===== */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .empty-icon { font-size: 60px; margin-bottom: 16px; }
.empty-state h3 { font-size: 18px; font-weight: 700; color: var(--gray-700); margin-bottom: 8px; }
.empty-state p { font-size: 14px; color: var(--gray-400); margin-bottom: 24px; }

/* ===== Pagination ===== */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 24px; }
.page-btn { width: 36px; height: 36px; border-radius: var(--radius-sm); border: 1.5px solid var(--gray-200); background: white; font-size: 13px; font-weight: 600; color: var(--gray-600); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; }
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

/* ===== Auth Pages ===== */
.auth-page { min-height: 100vh; display: flex; background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); }
.auth-left { flex: 1; display: none; padding: 48px; color: white; flex-direction: column; justify-content: center; }
.auth-right { width: 100%; max-width: 480px; background: white; display: flex; flex-direction: column; justify-content: center; padding: 40px; min-height: 100vh; }
.auth-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
.auth-logo .logo-mark { background: var(--primary); }
.auth-logo span { font-size: 22px; font-weight: 800; color: var(--gray-900); }
.auth-title { font-size: 28px; font-weight: 800; color: var(--gray-900); margin-bottom: 8px; }
.auth-sub { font-size: 15px; color: var(--gray-500); margin-bottom: 32px; }
.auth-link { color: var(--primary); font-weight: 600; cursor: pointer; }
.auth-link:hover { text-decoration: underline; }
.auth-divider { text-align: center; font-size: 13px; color: var(--gray-400); margin: 20px 0; }

/* ===== Store Page (public) ===== */
.store-page { background: var(--gray-50); min-height: 100vh; }
.store-header {
  background: var(--primary); color: white; position: relative;
}
.store-banner { height: 180px; background: linear-gradient(135deg, #6366f1, #8b5cf6); overflow: hidden; }
.store-banner img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.store-info { padding: 0 16px 20px; }
.store-avatar-wrap { display: flex; align-items: flex-end; gap: 16px; margin-top: -32px; margin-bottom: 12px; }
.store-avatar { width: 72px; height: 72px; border-radius: var(--radius); background: white; border: 3px solid white; overflow: hidden; box-shadow: var(--shadow); flex-shrink: 0; }
.store-avatar img, .store-avatar .avatar { width: 100%; height: 100%; }
.store-meta { color: white; }
.store-name { font-size: 20px; font-weight: 800; }
.store-city { font-size: 13px; opacity: 0.8; }
.store-nav { background: white; border-bottom: 1px solid var(--gray-200); padding: 0 16px; display: flex; gap: 4px; overflow-x: auto; }
.store-nav-item { padding: 12px 16px; font-size: 14px; font-weight: 600; color: var(--gray-500); cursor: pointer; white-space: nowrap; border-bottom: 2px solid transparent; }
.store-nav-item.active { color: var(--primary); border-bottom-color: var(--primary); }
.store-body { padding: 16px; max-width: 900px; margin: 0 auto; }
.store-search { padding: 12px 16px; background: white; position: sticky; top: 0; z-index: 10; box-shadow: var(--shadow-sm); }

/* Cart */
.cart-btn-fixed {
  position: fixed; bottom: 80px; right: 16px; z-index: 200;
  background: var(--primary); color: white;
  padding: 14px 20px; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px;
  transition: transform 0.2s;
}
.cart-btn-fixed:hover { transform: scale(1.05); }
.cart-count { background: var(--secondary); color: white; border-radius: 50%; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }

/* Checkout */
.checkout-page { max-width: 600px; margin: 0 auto; padding: 16px; }
.order-summary { background: white; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); margin-bottom: 20px; }
.order-item { display: flex; gap: 14px; padding: 14px; border-bottom: 1px solid var(--gray-100); align-items: center; }
.order-item:last-child { border-bottom: none; }
.order-item-img { width: 54px; height: 54px; border-radius: var(--radius-sm); background: var(--gray-100); overflow: hidden; flex-shrink: 0; }
.order-item-img img { width: 100%; height: 100%; object-fit: cover; }
.order-item-name { font-size: 14px; font-weight: 600; color: var(--gray-800); }
.order-item-price { font-size: 13px; color: var(--gray-500); }
.order-item-subtotal { font-size: 15px; font-weight: 700; color: var(--primary); margin-left: auto; flex-shrink: 0; }
.price-row { display: flex; justify-content: space-between; padding: 10px 16px; font-size: 14px; }
.price-row.total { font-weight: 800; font-size: 16px; color: var(--gray-900); border-top: 1px solid var(--gray-200); padding-top: 14px; }

/* Order Success */
.order-success { text-align: center; padding: 40px 20px; }
.success-icon { font-size: 72px; margin-bottom: 20px; animation: successPop 0.5s ease; }
@keyframes successPop { 0% { transform: scale(0); } 80% { transform: scale(1.2); } 100% { transform: scale(1); } }

/* ===== Dashboard Responsive ===== */
.menu-toggle { display: none; width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--gray-100); align-items: center; justify-content: center; font-size: 20px; cursor: pointer; }
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 99; }

/* ===== Charts ===== */
.chart-wrap { position: relative; height: 220px; }

/* ===== Quantity Control ===== */
.qty-control { display: flex; align-items: center; gap: 0; }
.qty-btn { width: 34px; height: 34px; background: var(--gray-100); border: 1.5px solid var(--gray-200); display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; font-weight: 700; transition: background 0.2s; }
.qty-btn:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.qty-btn:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.qty-btn:hover { background: var(--gray-200); }
.qty-input { width: 50px; height: 34px; text-align: center; border: 1.5px solid var(--gray-200); border-left: none; border-right: none; font-size: 14px; font-weight: 700; }

/* ===== Skeleton ===== */
.skeleton { background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.show { display: block; }
  .main-content { margin-left: 0; }
  .menu-toggle { display: flex; }
  .page-content { padding: 16px; }
  .auth-right { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .topbar { padding: 0 16px; }
  .topbar-title { font-size: 16px; }
  .modal { max-width: 100%; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .modal-overlay { align-items: flex-end; padding: 0; }
  .toast-container { bottom: 70px; left: 16px; right: 16px; }
  .toast { max-width: 100%; }
  .filter-bar { flex-direction: column; }
  .search-input-wrap { width: 100%; }
}

@media (min-width: 769px) {
  .auth-left { display: flex; }
  .auth-right { min-height: 100vh; }
}

/* ===== Utility ===== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }
.text-muted { color: var(--gray-400); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-primary { color: var(--primary); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.gap-12 { gap: 12px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-1 { flex: 1; }
.hidden { display: none !important; }
.divider { border: none; border-top: 1px solid var(--gray-200); margin: 20px 0; }
.section-title { font-size: 16px; font-weight: 700; color: var(--gray-900); margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; background: var(--gray-100); color: var(--gray-600); cursor: pointer; }
.chip.active { background: var(--primary-light); color: var(--primary); }
