/* =====================================================
   نظام بيع الخضروات والفواكه - البصرة
   Basra Greens - Global Stylesheet
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700;800&display=swap');

/* ── Custom Properties ── */
:root {
  --primary: #22c55e;
  --primary-dark: #16a34a;
  --primary-light: #86efac;
  --primary-glow: rgba(34, 197, 94, 0.25);

  --secondary: #f97316;
  --secondary-dark: #ea580c;
  --accent: #facc15;

  --bg: #0a0f0a;
  --bg-card: #111811;
  --bg-glass: rgba(17, 24, 17, 0.85);
  --bg-hover: rgba(34, 197, 94, 0.06);
  --bg-surface: #161f16;

  --border: rgba(34, 197, 94, 0.15);
  --border-hover: rgba(34, 197, 94, 0.4);

  --text: #f0fdf4;
  --text-muted: #86efac;
  --text-dim: #4ade80;

  --red: #ef4444;
  --yellow: #eab308;
  --blue: #3b82f6;
  --purple: #a855f7;

  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 32px rgba(34,197,94,0.15);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Cairo', 'Tajawal', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary-dark); border-radius: 3px; }

/* ── Background Mesh ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(34,197,94,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(249,115,22,0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ── Sidebar Navigation ── */
.sidebar {
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  width: 260px;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: var(--transition);
}

.sidebar-logo {
  padding: 24px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.sidebar-logo .logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 16px var(--primary-glow);
}
.sidebar-logo h1 { font-size: 16px; font-weight: 800; color: var(--text); line-height: 1.2; }
.sidebar-logo span { font-size: 11px; color: var(--text-muted); }

.sidebar-nav { flex: 1; padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }

.nav-section-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 8px 6px;
  opacity: 0.6;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: right;
}
.nav-item:hover { background: var(--bg-hover); color: var(--text); }
.nav-item.active { background: var(--primary-glow); color: var(--primary); font-weight: 700; }
.nav-item .nav-icon { font-size: 18px; width: 22px; text-align: center; }
.nav-item .badge {
  margin-right: auto;
  background: var(--secondary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
}

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.5;
  text-align: center;
}

/* ── Main Layout ── */
.main-wrapper {
  margin-right: 260px;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* ── Top Bar ── */
.topbar {
  position: sticky;
  top: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 50;
}
.topbar-title { font-size: 20px; font-weight: 800; }
.topbar-actions { display: flex; gap: 10px; align-items: center; }

/* ── Page Content ── */
.page-content { padding: 28px; display: none; }
.page-content.active { display: block; }

/* ── Stat Cards Grid ── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 28px; }

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.stat-card:hover { border-color: var(--border-hover); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}
.stat-card.orange::before { background: linear-gradient(90deg, var(--secondary), var(--accent)); }
.stat-card.blue::before { background: linear-gradient(90deg, var(--blue), #60a5fa); }
.stat-card.purple::before { background: linear-gradient(90deg, var(--purple), #c084fc); }

.stat-icon { font-size: 28px; margin-bottom: 12px; }
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; margin-bottom: 6px; }
.stat-value { font-size: 26px; font-weight: 900; color: var(--text); }
.stat-sub { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ── Product Grid ── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.product-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-glow); }

.product-card-img {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  background: var(--bg-surface);
  position: relative;
}
.product-badge {
  position: absolute;
  top: 8px; right: 8px;
  background: var(--secondary);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}
.stock-badge {
  position: absolute;
  bottom: 8px; left: 8px;
  font-size: 9px;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
}
.stock-badge.ok { background: rgba(34,197,94,0.2); color: var(--primary); }
.stock-badge.low { background: rgba(234,179,8,0.2); color: var(--yellow); }
.stock-badge.out { background: rgba(239,68,68,0.2); color: var(--red); }

.product-card-body { padding: 14px; }
.product-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.product-category { font-size: 11px; color: var(--text-muted); margin-bottom: 10px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 16px; font-weight: 900; color: var(--primary); }
.product-unit { font-size: 11px; color: var(--text-muted); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 4px 20px var(--primary-glow); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: var(--secondary-dark); }
.btn-outline { background: transparent; color: var(--primary); border: 1px solid var(--border-hover); }
.btn-outline:hover { background: var(--bg-hover); }
.btn-ghost { background: var(--bg-surface); color: var(--text-muted); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--border-hover); }
.btn-danger { background: transparent; color: var(--red); border: 1px solid rgba(239,68,68,0.3); }
.btn-danger:hover { background: rgba(239,68,68,0.1); }
.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: var(--radius); }
.btn-icon { padding: 10px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Cart Panel ── */
.cart-panel {
  position: fixed;
  left: 0; top: 0;
  height: 100vh;
  width: 360px;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 200;
  transform: translateX(-100%);
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.cart-panel.open { transform: translateX(0); }
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 199;
  display: none;
  backdrop-filter: blur(4px);
}
.cart-overlay.show { display: block; }

.cart-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-header h2 { font-size: 18px; font-weight: 800; }
.cart-body { flex: 1; overflow-y: auto; padding: 16px; }
.cart-footer { padding: 16px; border-top: 1px solid var(--border); }

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: var(--text-muted);
  gap: 12px;
}
.cart-empty .cart-empty-icon { font-size: 48px; opacity: 0.4; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  animation: slideIn 0.3s ease;
}
.cart-item-icon { font-size: 28px; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 700; }
.cart-item-price { font-size: 12px; color: var(--primary); }

.qty-control { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  width: 28px; height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.qty-value { font-size: 14px; font-weight: 700; min-width: 24px; text-align: center; }

.cart-summary { margin-bottom: 16px; }
.cart-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 14px; }
.cart-row.total { font-weight: 800; font-size: 16px; border-top: 1px solid var(--border); padding-top: 12px; color: var(--primary); }

/* ── Order Modal ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(8px);
}
.modal-overlay.show { display: flex; }

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-title { font-size: 20px; font-weight: 800; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }

/* ── Form Elements ── */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
.form-control {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  transition: var(--transition);
  outline: none;
  direction: rtl;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.form-control::placeholder { color: var(--text-muted); opacity: 0.5; }
select.form-control { cursor: pointer; }

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

/* ── Tables ── */
.table-wrapper { overflow-x: auto; }
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.table th {
  text-align: right;
  padding: 12px 16px;
  background: var(--bg-surface);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 12px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(34,197,94,0.06);
  vertical-align: middle;
}
.table tr:hover td { background: var(--bg-hover); }

/* ── Status Badges ── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.status-pending    { background: rgba(234,179,8,0.15); color: var(--yellow); }
.status-confirmed  { background: rgba(59,130,246,0.15); color: var(--blue); }
.status-preparing  { background: rgba(168,85,247,0.15); color: var(--purple); }
.status-out_for_delivery { background: rgba(249,115,22,0.15); color: var(--secondary); }
.status-delivered  { background: rgba(34,197,94,0.15); color: var(--primary); }
.status-cancelled  { background: rgba(239,68,68,0.15); color: var(--red); }

/* ── Filters Bar ── */
.filters-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}
.filter-btn {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-glow); }

/* ── Search Box ── */
.search-box {
  position: relative;
  flex: 1;
  max-width: 320px;
}
.search-box input {
  width: 100%;
  padding: 9px 14px 9px 38px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  outline: none;
  direction: rtl;
  transition: var(--transition);
}
.search-box input:focus { border-color: var(--primary); }
.search-box .search-icon {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  pointer-events: none;
  opacity: 0.5;
}

/* ── Section Card ── */
.section-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.section-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-card-title { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.section-card-body { padding: 20px; }

/* ── Toast Notifications ── */
.toast-container {
  position: fixed;
  bottom: 24px; left: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  min-width: 280px;
  box-shadow: var(--shadow);
  animation: toastIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid;
}
.toast.success { background: rgba(34,197,94,0.15); border-color: rgba(34,197,94,0.3); color: var(--primary); }
.toast.error   { background: rgba(239,68,68,0.15); border-color: rgba(239,68,68,0.3); color: var(--red); }
.toast.info    { background: rgba(59,130,246,0.15); border-color: rgba(59,130,246,0.3); color: var(--blue); }

/* ── Loading Spinner ── */
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.loading-state { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 60px; color: var(--text-muted); }

/* ── Charts Container ── */
.chart-container {
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  padding: 20px;
  position: relative;
  min-height: 200px;
}

/* ── Bar Chart ── */
.bar-chart { display: flex; align-items: flex-end; gap: 8px; height: 160px; padding-top: 20px; }
.bar-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bar {
  width: 100%;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 4px 4px 0 0;
  transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 4px;
  cursor: pointer;
}
.bar:hover { filter: brightness(1.2); }
.bar-label { font-size: 10px; color: var(--text-muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60px; }
.bar-value { font-size: 10px; font-weight: 700; color: var(--text); }

/* ── Forecast Cards ── */
.forecast-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.forecast-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: var(--transition);
}
.forecast-card:hover { border-color: var(--border-hover); }
.forecast-product { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.forecast-amount { font-size: 22px; font-weight: 900; color: var(--primary); }
.forecast-unit { font-size: 11px; color: var(--text-muted); }
.forecast-confidence {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  margin-top: 8px;
}
.conf-high   { background: rgba(34,197,94,0.15); color: var(--primary); }
.conf-medium { background: rgba(234,179,8,0.15); color: var(--yellow); }
.conf-low    { background: rgba(239,68,68,0.15); color: var(--red); }

/* ── Inventory ── */
.stock-bar-wrap { display: flex; align-items: center; gap: 8px; }
.stock-bar-bg { flex: 1; height: 6px; background: var(--bg-surface); border-radius: 3px; overflow: hidden; }
.stock-bar-fill { height: 100%; border-radius: 3px; transition: width 0.5s ease; }
.stock-bar-fill.ok  { background: var(--primary); }
.stock-bar-fill.low { background: var(--yellow); }
.stock-bar-fill.out { background: var(--red); }

/* ── Mobile ── */
.mobile-header {
  display: none;
  padding: 14px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* ── Animations ── */
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.pulse { animation: pulse 2s infinite; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .sidebar { transform: translateX(100%); }
  .sidebar.mobile-open { transform: translateX(0); }
  .main-wrapper { margin-right: 0; }
  .mobile-header { display: flex; }
  .page-content { padding: 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .cart-panel { width: 100%; }
  .topbar { display: none; }
}

/* ── Cart FAB Button ── */
.cart-fab {
  position: fixed;
  bottom: 24px; left: 24px;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--primary-glow), var(--shadow);
  border: none;
  transition: var(--transition);
  z-index: 90;
}
.cart-fab:hover { transform: scale(1.1); }
.cart-fab .cart-count {
  position: absolute;
  top: -4px; right: -4px;
  width: 22px; height: 22px;
  background: var(--secondary);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  border: 2px solid var(--bg);
}

/* ── Add Product Modal Qty Input ── */
.qty-input-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-input-wrap input {
  flex: 1;
  text-align: center;
  border: none;
  background: var(--bg-surface);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  padding: 8px;
  outline: none;
}
.qty-input-btn {
  padding: 8px 14px;
  background: var(--bg-card);
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
}
.qty-input-btn:hover { background: var(--bg-hover); color: var(--primary); }

/* Empty state */
.empty-state {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 60px 20px;
  color: var(--text-muted); text-align: center;
}
.empty-state-icon { font-size: 56px; opacity: 0.3; }
.empty-state h3 { font-size: 18px; font-weight: 700; color: var(--text); opacity: 0.6; }
.empty-state p { font-size: 14px; max-width: 280px; }

/* Divider */
.divider { height: 1px; background: var(--border); margin: 20px 0; }

/* Alert boxes */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.alert-warning { background: rgba(234,179,8,0.1); border: 1px solid rgba(234,179,8,0.3); color: var(--yellow); }
.alert-danger  { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: var(--red); }
.alert-info    { background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.3); color: var(--blue); }
