/* Arzeee v1.3 - Admin & Merchant Styles = eGrocer (Mazer) inspired, polished
   Reference: egrocer.wrteam.me (Mazer bootstrap template + eGrocer green overrides) */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-rgb: 37, 99, 235;
  --orange: #f97316;
  --orange-rgb: 234, 179, 8;
  --sidebar-bg: #ffffff;
  --sidebar-border: #e9ecf1;
  --menu-color: #47546e;
  --menu-color-hover: #25396f;
  --menu-icon: #98a6bd;
  --navbar-bg: rgba(255,255,255,.9);
  --navbar-h: 76px;
  --body-bg: #f6f7fb;
  --card-bg: #ffffff;
  --field-bg: #ffffff;
  --border: #e4e7ed;
  --border-light: #dfe3e9;
  --text: #25396f;
  --text-muted: #8a94a6;
  --danger: #f55858;
  --success: #2563eb;
  --warning: #fb923c;
  --info: #25a6f1;
  --hover-bg: #f3f6fb;
  --icon-bg: #f1f4f9;
  --table-head: #f9fafc;
  --table-stripe: #f6f8fc;
  --shadow-card: 0 2px 8px rgba(37, 57, 111, .06);
  --shadow-card-hover: 0 6px 18px rgba(37, 57, 111, .10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { line-height: 1.15; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  background: var(--body-bg);
  color: var(--text);
  font-size: 15px;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; }
h1, h2, h3, h4 { color: var(--text); }

/* ===== SIDEBAR (fixed on desktop, drawer on mobile) ===== */
.sidebar-wrapper {
  background-color: var(--sidebar-bg);
  bottom: 0;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  z-index: 110;
  border-right: 1px solid var(--sidebar-border);
  box-shadow: 6px 0 30px rgba(37, 57, 111, .10);
}
.sidebar-wrapper .sidebar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--sidebar-border);
  background: linear-gradient(180deg, var(--card-bg), var(--body-bg));
  min-height: 76px;
}
.sidebar-wrapper .sidebar-header img {
  height: 4rem;
  width: auto;
  object-fit: contain;
  display: block;
}
.sidebar-close {
  position: absolute;
  right: .8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: var(--hover-bg);
  color: var(--menu-color);
  font-size: .85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.sidebar-close:hover { background: #e0e6ef; color: var(--text); transform: translateY(-50%) rotate(90deg); }
.sidebar-wrapper .menu {
  font-weight: 600;
  margin-top: 0;
  padding: .6rem 1.1rem 2rem;
}
.sidebar-wrapper .menu .sidebar-title {
  color: var(--menu-icon);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  list-style: none;
  margin: 1.4rem 0 .55rem;
  padding: 0 .85rem;
  text-transform: uppercase;
}
.sidebar-wrapper .menu .menu-group { list-style: none; margin-top: 2px; }
.sidebar-wrapper .menu .menu-toggle {
  align-items: center;
  background: none;
  border: none;
  border-radius: .6rem;
  color: var(--menu-color);
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  min-height: 44px;
  padding: .5rem .85rem;
  text-align: left;
  transition: all .2s;
  width: 100%;
}
.sidebar-wrapper .menu .menu-toggle > i:first-child {
  color: var(--menu-icon);
  font-size: 1rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .5rem;
  background: var(--icon-bg);
  transition: all .2s;
  flex-shrink: 0;
}
.sidebar-wrapper .menu .menu-toggle span { margin-left: .75rem; flex: 1; white-space: nowrap; line-height: 1.3; }
.sidebar-wrapper .menu .menu-toggle .toggle-arrow { font-size: .7rem; color: var(--menu-icon); transition: transform .25s; margin-left: auto; }
.sidebar-wrapper .menu .menu-group.open .menu-toggle .toggle-arrow { transform: rotate(180deg); }
.sidebar-wrapper .menu .menu-toggle:hover { background-color: var(--hover-bg); color: var(--menu-color-hover); }
.sidebar-wrapper .menu .menu-group.open .menu-toggle { color: var(--menu-color-hover); }
.sidebar-wrapper .menu .menu-group.active .menu-toggle > i:first-child { background: var(--primary); color: #fff; }
.sidebar-wrapper .menu .sub-menu { list-style: none; max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0; }
.sidebar-wrapper .menu .menu-group.open .sub-menu { max-height: 600px; padding: .25rem 0 .35rem; }
.sidebar-wrapper .menu .sidebar-item { list-style: none; margin-top: 1px; }
.sidebar-wrapper .menu .sidebar-link {
  align-items: center;
  border-radius: .6rem;
  color: var(--menu-color);
  display: flex;
  font-size: .92rem;
  min-height: 40px;
  padding: .4rem .85rem;
  transition: all .2s;
  position: relative;
  text-decoration: none;
}
.sidebar-wrapper .menu .sub-menu .sidebar-link { padding-left: 2.6rem; }
.sidebar-wrapper .menu .sidebar-link i {
  color: var(--menu-icon);
  font-size: 1rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: .5rem;
  background: var(--icon-bg);
  transition: all .2s;
  flex-shrink: 0;
}
.sidebar-wrapper .menu .sub-menu .sidebar-link i { background: transparent; }
.sidebar-wrapper .menu .sidebar-link span { margin-left: .75rem; white-space: nowrap; line-height: 1.3; }
.sidebar-wrapper .menu .sidebar-link:hover {
  background-color: var(--hover-bg);
  color: var(--menu-color-hover);
}
.sidebar-wrapper .menu .sidebar-link:hover i {
  background: #e8eef9;
  color: var(--primary);
}
.sidebar-wrapper .menu .sidebar-item.active > .sidebar-link {
  background: linear-gradient(90deg, rgba(var(--primary-rgb), .12), rgba(var(--primary-rgb), .05));
  color: var(--primary-dark);
  font-weight: 700;
}
.sidebar-wrapper .menu .sidebar-item.active > .sidebar-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60%;
  width: 3.5px;
  border-radius: 3px;
  background: var(--primary);
}
.sidebar-wrapper .menu .sidebar-item.active > .sidebar-link i {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 3px 8px rgba(var(--primary-rgb), .4);
}
.sidebar-wrapper .menu .sidebar-item.active > .sidebar-link span { color: var(--primary-dark); }
.sidebar-backdrop {
  background-color: rgba(12, 20, 38, .45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
#sidebar.active .sidebar-backdrop { opacity: 1; pointer-events: auto; }

/* ===== MAIN AREA ===== */
#main { margin-left: 300px; padding: 0; min-height: 100vh; transition: margin-left .4s ease; }

/* Navbar */
.navbar {
  background-color: var(--navbar-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  height: var(--navbar-h);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--sidebar-border);
  position: sticky;
  top: 0;
  z-index: 40;
}
.burger-btn { display: inline-flex; background: none; border: 1px solid var(--border-light); font-size: 1.1rem; color: var(--menu-color); cursor: pointer; padding: .35rem .6rem; border-radius: .5rem; transition: all .2s; }
.burger-btn:hover { background: var(--hover-bg); color: var(--primary); }
.navbar-page { font-size: 1rem; font-weight: 800; color: var(--text); }
.menu-hint { font-size: .78rem; color: var(--text-muted); background: var(--icon-bg); padding: .3rem .7rem; border-radius: 2rem; }
.navbar-right { margin-left: auto; display: flex; align-items: center; gap: .75rem; }
.store-status {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .4px;
  padding: .32rem .7rem; border-radius: 2rem;
}
.store-status i { font-size: .55rem; }
.store-status.is-open { background: #d2ffe8; color: #00391c; }
.store-status.is-open i { color: var(--success); }
.store-status.is-closed { background: #ffdede; color: #7a1a1a; }
.store-status.is-closed i { color: var(--danger); }
.navbar-store { font-size: .78rem; color: var(--text-muted); font-weight: 700; }
@media (max-width: 640px) {
  .navbar-store { display: none; }
  .store-status { padding: .25rem .5rem; font-size: .66rem; }
}
.user-badge { display: flex; align-items: center; gap: .6rem; color: var(--text); font-size: .9rem; font-weight: 700; }
.user-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, var(--primary-dark));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .95rem; letter-spacing: .5px;
  box-shadow: 0 2px 6px rgba(var(--primary-rgb), .3);
}

/* Main content */
.main-content { padding: 1.75rem 2rem 2.5rem; }
.section { max-width: 1400px; margin: 0 auto; }
.page-heading { margin: 0 0 1.4rem; }
.page-heading h3 { font-weight: 800; font-size: 1.45rem; color: var(--text); margin-bottom: .15rem; }
.page-heading .breadcrumb { list-style: none; display: flex; gap: .4rem; font-size: .82rem; color: var(--text-muted); margin-top: .2rem; }
.page-heading .breadcrumb li + li::before { content: '/'; margin-right: .4rem; color: #c5cbd3; }

/* Page header (used inside pages) */
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; gap: 12px; flex-wrap: wrap; }
.page-header h1 { font-size: 1.35rem; font-weight: 800; }

/* ===== CARDS (Mazer) ===== */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: .9rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 1.5rem;
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-1px); }
.card .card-header { border: none; padding: 1.15rem 1.4rem .35rem; }
.card .card-header h2 { font-size: 1.02rem; font-weight: 800; }
.card .card-body { padding: 1.4rem; }
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border) !important;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }

/* ===== STATISTIC CARDS (Mazer card-statistic, icon + value) ===== */
.card-statistic {
  border-radius: .75rem;
  overflow: hidden;
  position: relative;
  border: none;
  box-shadow: 0 4px 12px rgba(37, 57, 111, .08);
}
.card-statistic .card-body { padding: 1.25rem 1.35rem; }
.card-statistic .stat-icon {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: .8rem;
  background: rgba(255,255,255,.22);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.card-statistic .stat-title {
  color: rgba(255,255,255,.92);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
  margin: 0 0 .3rem;
}
.card-statistic .stat-value {
  color: #fff;
  font-size: 1.7rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
}
.card-statistic .stat-delta {
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  margin-top: .35rem;
  display: flex;
  align-items: center;
  gap: .3rem;
}
.stat-blue { background: linear-gradient(135deg, #25a6f1, #54b9ff); box-shadow: 1px 2px 5px rgba(47,170,244,.5); }
.stat-green { background: linear-gradient(135deg, #3b82f6, #60a5fa); box-shadow: 1px 2px 5px rgba(59,130,246,.5); }
.stat-orange { background: linear-gradient(135deg, #fb923c, #fdba74); box-shadow: 1px 2px 5px rgba(234,179,8,.5); }
.stat-red { background: linear-gradient(135deg, #f55858, #ff7f7f); box-shadow: 1px 2px 5px rgba(245,88,88,.5); }
.stat-purple { background: linear-gradient(135deg, #8e7cf5, #b5a7fb); box-shadow: 1px 2px 5px rgba(142,124,245,.5); }
.stat-cyan { background: linear-gradient(135deg, #30d5c8, #6ee8de); box-shadow: 1px 2px 5px rgba(48,213,200,.5); }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-bottom: 1.5rem; }

/* ===== QUICK ACTIONS ===== */
.quick-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.qa-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .7rem 1.1rem; border-radius: .7rem; font-weight: 800; font-size: .86rem;
  color: #fff; box-shadow: 0 3px 10px rgba(37, 57, 111, .12); transition: all .2s;
  border: none; cursor: pointer;
}
.qa-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(37, 57, 111, .18); }
.qa-btn i { width: 1.7rem; height: 1.7rem; border-radius: .5rem; background: rgba(255,255,255,.22); display: inline-flex; align-items: center; justify-content: center; }
.qa-green { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.qa-blue { background: linear-gradient(135deg, #25a6f1, #0d86cc); }
.qa-orange { background: linear-gradient(135deg, #fb923c, #ea580c); }
.qa-purple { background: linear-gradient(135deg, #8e7cf5, #6c5ce7); }

/* ===== BUTTONS (eGrocer green primary) ===== */
.btn {
  display: inline-block; padding: .5rem 1.05rem; border-radius: .45rem;
  border: 1px solid transparent; font-size: .88rem; font-weight: 700; cursor: pointer;
  transition: all .15s; font-family: inherit; text-align: center; line-height: 1.4;
  white-space: nowrap; vertical-align: middle;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, #3b82f6, var(--primary) 55%, var(--primary-dark)); border-color: var(--primary); color: #fff; box-shadow: 0 3px 8px rgba(var(--primary-rgb), .35); }
.btn-primary:hover { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-color: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 5px 12px rgba(var(--primary-rgb), .4); }
.btn-secondary { background-color: var(--card-bg); border-color: var(--border-light); color: #607080; }
.btn-secondary:hover { background-color: var(--hover-bg); color: var(--text); }
.btn-paste { background-color: var(--card-bg); border: 1px dashed var(--primary); color: var(--primary); width: 100%; margin-bottom: .6rem; }
.btn-paste:hover { background-color: rgba(var(--primary-rgb), .08); color: var(--primary-dark); }
.btn-danger { background-color: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { background-color: #e04747; color: #fff; }
.btn-warning { background-color: var(--warning); border-color: var(--warning); color: #fff; }
.btn-success { background-color: var(--success); border-color: var(--success); color: #fff; }
.btn-info { background-color: var(--info); border-color: var(--info); color: #fff; }
.btn-light-primary { background-color: #eaf3ff; color: #146c9e; border-color: #d3e7ff; }
.btn-light-primary:hover { background-color: #d9eaff; }
.btn-light-success { background-color: #d2ffe8; color: #00391c; }
.btn-light-danger { background-color: #ffdede; color: #7a1a1a; }
.btn-light-warning { background-color: #fffdd8; color: #6b6600; }
.btn-sm { padding: .28rem .65rem; font-size: .78rem; }
.btn-lg { padding: .7rem 1.3rem; font-size: .95rem; }
.btn-block { display: block; width: 100%; }

/* ===== ALERTS (Mazer light variants) ===== */
.alert { padding: .85rem 1.1rem; border-radius: .55rem; margin-bottom: 1.2rem; font-size: .88rem; border: none; }
.alert-success { background-color: #d2ffe8; color: #00391c; }
.alert-error, .alert-danger { background-color: #ffdede; color: #7a1a1a; }
.alert-warning { background-color: #fffdd8; color: #6b6600; }
.alert-info { background-color: #e6fdff; color: #00474d; }
.alert p { margin: 0; }

/* ===== FORMS (Mazer) ===== */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .8rem; font-weight: 800; margin-bottom: .4rem; color: var(--text); letter-spacing: .2px; }
.form-group input[type=text], .form-group input[type=email], .form-group input[type=password],
.form-group input[type=number], .form-group input[type=tel], .form-group input[type=date],
.form-group input[type=url], .form-group select, .form-group textarea {
  width: 100%; padding: .55rem .8rem; border: 1px solid var(--border-light); border-radius: .45rem;
  font-size: .9rem; font-family: inherit; background: var(--field-bg); color: var(--text);
  transition: border-color .15s, box-shadow .15s;
  min-height: 42px; height: auto;
}
.form-group textarea { min-height: 84px; resize: vertical; line-height: 1.5; }
.form-group input:hover, .form-group select:hover, .form-group textarea:hover { border-color: #c9cfd9; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary); outline: 0;
  box-shadow: 0 0 0 .22rem rgba(var(--primary-rgb), .16);
}
.form-group small { color: var(--text-muted); font-size: .75rem; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; align-items: end; }
.form-row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: end; }
.form-row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: end; }
@media (max-width: 640px) { .form-row-2, .form-row-3 { grid-template-columns: 1fr; } }
.form-row-2 .align-end, .form-row-3 .align-end { align-self: flex-end; }
.align-end { display: flex; align-items: flex-end; gap: 8px; }
.form-card { border-left: 3px solid var(--primary); }

/* ===== TABLES (Mazer) ===== */
.table-responsive { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; background: var(--card-bg); }
.data-table th, .data-table td { padding: .8rem 1rem; border-bottom: 1px solid #f0f2f6; text-align: left; font-size: .88rem; vertical-align: middle; }
.data-table thead th {
  border-bottom: 1px solid var(--border) !important;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  background: var(--table-head);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.data-table tbody tr { transition: background .12s; }
.data-table tbody tr:hover { background: var(--table-stripe); }
.data-table tbody tr.row-active { background: var(--primary-light, #f0fdf6); }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tfoot td { font-weight: 600; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); font-size: .8rem; }

/* ===== BADGES (pills) ===== */
.badge {
  display: inline-block; padding: .32rem .75rem; border-radius: 10rem;
  font-size: .73rem; font-weight: 800; line-height: 1.2;
}
.badge-active, .badge-paid, .badge-active_tenants, .badge-captured, .badge-delivered,
.badge-pro, .badge-success, .badge-superadmin, .badge-authorized { background: #d2ffe8; color: #00391c; }
.badge-inactive, .badge-suspended, .badge-deleted, .badge-cancelled, .badge-failed,
.badge-refunded, .badge-danger { background: #ffdede; color: #7a1a1a; }
.badge-pending, .badge-created, .badge-out_for_delivery, .badge-warning, .badge-basic, .badge-free { background: #fffdd8; color: #6b6600; }
.badge-confirmed, .badge-preparing, .badge-info, .badge-vendor, .badge-staff { background: #e6fdff; color: #00474d; }
.badge-Cod, .badge-COD, .badge-cod { background: #eef0f3; color: #4a5560; }
.badge-razorpay, .badge-Razorpay { background: #ede9fe; color: #5b21b6; }
.badge-upi, .badge-UPI { background: #fff3d6; color: #8a5a00; }
.badge-unpaid, .badge-expired { background: #ffdede; color: #7a1a1a; }

/* ===== PAGINATION (Mazer green) ===== */
.pagination { display: flex; gap: .4rem; margin-top: 1.2rem; flex-wrap: wrap; list-style: none; }
.pagination a {
  padding: .4rem .8rem; border: 1px solid var(--border-light); border-radius: .35rem;
  background: var(--card-bg); color: #607080; font-size: .85rem;
}
.pagination a:hover { background: #f5f7fc; }
.pagination a.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 2px 5px rgba(var(--primary-rgb), .3); }

/* ===== SEARCH / FILTER ===== */
.search-form { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.search-form input, .search-form select {
  padding: .5rem .75rem; border: 1px solid var(--border-light); border-radius: .45rem; font-size: .88rem; background: var(--field-bg); color: var(--text);
  transition: border-color .15s, box-shadow .15s; vertical-align: middle;
}
.search-form input:focus, .search-form select:focus { border-color: var(--primary); outline: 0; box-shadow: 0 0 0 .2rem rgba(var(--primary-rgb), .15); }
.search-form input { min-width: 220px; }
.search-form button { white-space: nowrap; }
th input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; vertical-align: middle; }

/* ===== ACTION MENU ===== */
.action-menu { display: flex; gap: .4rem; flex-wrap: wrap; }

/* ===== ORDER TABS ===== */
.order-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.order-tabs a { padding: .4rem .9rem; border: 1px solid var(--border-light); border-radius: 20px; font-size: .85rem; background: var(--card-bg); color: #607080; }
.order-tabs a:hover { background: #f5f7fc; }
.order-tabs a.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ===== ORDER DETAIL ===== */
.order-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.2rem; }
.order-detail-info h3 { font-size: .9rem; margin-bottom: .5rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.order-detail-info p { margin-bottom: .3rem; }
@media (max-width: 700px) { .order-detail { grid-template-columns: 1fr; } }

/* ===== AUTH (eGrocer split-screen) ===== */
#auth { height: 100vh; overflow-x: hidden; display: flex; }
#auth #auth-left {
  flex: 1; padding: 3rem 4rem;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--card-bg);
  max-width: 600px;
}
#auth #auth-left > * { max-width: 400px; width: 100%; margin-left: auto; margin-right: auto; }
#auth #auth-left .auth-logo { display: flex; align-items: center; justify-content: center; margin-bottom: 2.4rem; }
#auth #auth-left .auth-logo img { height: 5rem; width: auto; object-fit: contain; }
#auth #auth-left .auth-title { font-size: 1.8rem; font-weight: 800; color: var(--text); margin-bottom: .35rem; text-align: center; }
#auth #auth-left .auth-subtitle { color: #9aa3b5; font-size: .95rem; line-height: 1.6; margin-bottom: 2rem; text-align: center; }
#auth #auth-left .auth-form .form-group input { padding: .68rem .9rem; font-size: .92rem; }
#auth #auth-left .btn { padding: .68rem 1rem; font-size: .92rem; }
#auth #auth-right {
  background: url('../img/auth-bg.jpg'), linear-gradient(135deg, #fb923c, #f97316);
  background-size: cover, cover;
  background-position: center;
  flex: 1.1; height: 100%;
  position: relative;
}
#auth #auth-right::after {
  content: 'Arzeee';
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.auth-links { margin-top: 1.8rem; font-size: .92rem; color: var(--text); text-align: center; }
.auth-links a { font-weight: 700; margin: 0 .4rem; }
.auth-note { margin-top: 1.1rem; font-size: .82rem; color: var(--text-muted); text-align: center; }
@media screen and (max-width: 991px) {
  #auth #auth-right { display: none; }
  #auth #auth-left { padding: 2rem 1.5rem; max-width: 100%; }
}
@media screen and (max-width: 480px) {
  #auth #auth-left { padding: 1.5rem 1rem; }
  #auth #auth-left > * { max-width: 100%; }
}

/* Legacy auth box (register fallback) */
.auth-box { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #f5f7fc; padding: 2rem; }
.auth-card { background: var(--card-bg); border-radius: .8rem; padding: 2.5rem; width: 420px; box-shadow: 0 4px 24px rgba(0,0,0,.08); }
.auth-header { text-align: center; margin-bottom: 1.5rem; }
.auth-header h1 { font-size: 1.4rem; margin-bottom: .3rem; }
.auth-header p { color: var(--text-muted); font-size: .9rem; }
.auth-footer { margin-top: 1.4rem; text-align: center; font-size: .85rem; color: var(--text-muted); border-top: 1px solid #eef0f3; padding-top: 1.1rem; }

/* ===== FOOTER ===== */
.footer { background: var(--text); color: #cdd4dc; text-align: center; padding: 1.2rem; font-size: .8rem; margin-top: 2rem; }
.footer p { margin: 0; }

/* ===== MERCHANT PLANS ===== */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin-top: 1.2rem; }
.plan-card { background: var(--card-bg); border: 1px solid var(--border-light); border-radius: .7rem; padding: 1.6rem; text-align: center; box-shadow: var(--shadow-card); }
.plan-card.current { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .2); }
.plan-price { font-size: 1.8rem; font-weight: 800; color: var(--text); margin: .6rem 0; }
.plan-price span { font-size: .85rem; color: var(--text-muted); font-weight: 400; }
.plan-desc { color: var(--text-muted); font-size: .85rem; margin-bottom: 1rem; min-height: 36px; }
.bill-row { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px dashed #e5e9ef; font-size: .9rem; }
.bill-row:last-child { border-bottom: none; }

/* ===== RESPONSIVE ===== */
@media screen and (min-width: 1200px) {
  .burger-btn { display: none; }
  .menu-hint { display: none; }
  #sidebar .sidebar-backdrop { display: none; }
}
@media screen and (max-width: 1199px) {
  #main { margin-left: 0; }
  .sidebar-wrapper {
    transform: translateX(-105%);
    transition: transform .38s cubic-bezier(.25,.8,.35,1);
  }
  #sidebar.active .sidebar-wrapper { transform: translateX(0); }
  #sidebar.active .sidebar-backdrop { opacity: 1; pointer-events: auto; }
  .menu-hint { display: none; }
}
@media (max-width: 768px) {
  .main-content { padding: 1.1rem; }
  .navbar { padding: .6rem 1rem; }
}

.hidden { display: none; }
code { background: #f0f1f5; padding: 2px 6px; border-radius: 4px; font-size: .85rem; }

/* ===== MODERN DETAILS (v1.4) ===== */
.main-content .section { animation: akFade .4s ease; }
@keyframes akFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #ccd3dd; border-radius: 5px; border: 2px solid #f6f7fb; }
::-webkit-scrollbar-thumb:hover { background: #aeb7c4; }

/* ===== v1.4 ADVANCED CONTROLS ===== */
.stats-grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stars { color: #ffb300; font-size: .85rem; white-space: nowrap; }
.checkbox-inline { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; color: var(--text); cursor: pointer; }
.checkbox-inline input { width: 17px; height: 17px; accent-color: var(--primary); }
.badge-featured { background: #fff4e5; color: #b9770f; }
.btn-light-secondary { background: #eef0f4; color: #3a4a68; }
.btn-light-secondary:hover { background: #e2e5ec; }
.order-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }

.status-flow { display: flex; align-items: center; gap: 0; overflow-x: auto; padding-bottom: 4px; }
.flow-step { display: flex; align-items: center; gap: 6px; position: relative; padding-right: 26px; }
.flow-step:not(:last-child)::after { content: '→'; position: absolute; right: 6px; color: #c3c9d4; font-size: .8rem; }
.flow-step span { font-size: .78rem; font-weight: 700; color: var(--text-muted); white-space: nowrap; }
.flow-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border); background: var(--card-bg); flex-shrink: 0; }
.flow-step.done .flow-dot { background: var(--primary); border-color: var(--primary); }
.flow-step.done span { color: var(--primary-dark); }
.flow-step.done.cancelled .flow-dot { background: var(--danger); border-color: var(--danger); }
.flow-step.done.cancelled span { color: var(--danger); }

.bill-rows { display: flex; flex-direction: column; }
.status-history { display: flex; flex-direction: column; margin-top: 8px; }

.chart-bars { display: flex; align-items: flex-end; gap: 10px; height: 220px; padding: 12px 4px 0; }
.chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; gap: 8px; }
.chart-track { width: 100%; max-width: 46px; height: 100%; display: flex; align-items: flex-end; justify-content: center; background: var(--table-stripe); border-radius: 6px; }
.chart-bar { width: 100%; max-width: 46px; background: linear-gradient(180deg, var(--primary), var(--primary-dark)); border-radius: 6px 6px 2px 2px; min-height: 4px; position: relative; transition: height .3s; }
.chart-bar span { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: .68rem; font-weight: 700; color: var(--text); white-space: nowrap; }
.chart-label { font-size: .72rem; font-weight: 700; color: var(--text-muted); }

.form-group .search-form { margin: 0; }
.row-check { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }
.form-group .align-end { align-self: flex-end; }

/* ===== ARZEEE ASSIST (chat widget) ===== */
#akchat { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 1000; }
#akchat-fab {
  width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, #25a6f1, var(--primary)); color: #fff;
  font-size: 1.4rem; box-shadow: 0 6px 20px rgba(37, 57, 111, .35);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, box-shadow .2s;
}
#akchat-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 26px rgba(37, 57, 111, .4); }
#akchat-fab.hidden { display: none; }
#akchat-panel {
  position: fixed; right: 1.4rem; bottom: 1.4rem; width: 340px; max-width: calc(100vw - 24px);
  height: 500px; max-height: calc(100vh - 40px); border-radius: 1rem; overflow: hidden;
  background: var(--card-bg); box-shadow: 0 12px 40px rgba(20, 30, 60, .25);
  display: flex; flex-direction: column; z-index: 1001;
  opacity: 0; transform: translateY(16px) scale(.97); pointer-events: none;
  transition: opacity .2s, transform .2s;
}
#akchat-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.akchat-head {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; padding: .85rem 1rem; display: flex; align-items: center; gap: .6rem;
}
.akchat-title { font-weight: 800; font-size: .95rem; flex: 1; }
.akchat-title i { margin-right: .35rem; }
.akchat-close { background: rgba(255,255,255,.18); border: none; color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: .85rem; }
.akchat-close:hover { background: rgba(255,255,255,.3); }
.akchat-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .55rem; background: var(--body-bg); }
.akchat-msg { max-width: 85%; padding: .55rem .8rem; border-radius: .8rem; font-size: .84rem; line-height: 1.5; white-space: normal; word-wrap: break-word; }
.akchat-msg.bot { background: var(--card-bg); border: 1px solid var(--border); border-bottom-left-radius: .2rem; align-self: flex-start; }
.akchat-msg.user { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border-bottom-right-radius: .2rem; align-self: flex-end; }
.akchat-msg b { color: inherit; }
.akchat-quick { display: flex; flex-wrap: wrap; gap: .4rem; padding: .6rem .8rem; border-top: 1px solid var(--border); background: var(--card-bg); }
.akchat-quick button {
  border: 1px solid var(--border-light); background: var(--hover-bg); color: var(--text);
  border-radius: 2rem; padding: .32rem .7rem; font-size: .74rem; font-weight: 700; cursor: pointer; font-family: inherit;
  transition: all .15s;
}
.akchat-quick button:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.akchat-input { display: flex; gap: .5rem; padding: .6rem .8rem; border-top: 1px solid var(--border); background: var(--card-bg); }
.akchat-input input {
  flex: 1; min-height: 38px; border: 1px solid var(--border-light); border-radius: 2rem; padding: 0 .9rem; font-size: .85rem; font-family: inherit;
}
.akchat-input input:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(var(--primary-rgb), .15); }
.akchat-input button { width: 38px; height: 38px; border-radius: 50%; border: none; background: linear-gradient(135deg, #25a6f1, var(--primary)); color: #fff; cursor: pointer; font-size: .9rem; flex-shrink: 0; }
.akchat-wa {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem .8rem; background: #e8f7ee; color: #128c4a; font-weight: 800; font-size: .82rem; text-decoration: none;
  border-top: 1px solid #d2ecd9;
}
.akchat-wa:hover { color: #0d6b39; background: #dff2e7; }
.akchat-wa i { font-size: 1.05rem; }
@media (max-width: 640px) {
  #akchat, #akchat-panel { right: .8rem; bottom: .8rem; }
  #akchat-panel { width: calc(100vw - 24px); height: 72vh; }
}
/* Settings / Delivery uniform alignment */
.form .form-group { margin-bottom: 1rem; }
.form .form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; align-items: start; }
.form input, .form select, .form textarea { min-height: 42px; padding: 0.55rem 0.75rem; }
.form label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.form button { white-space: nowrap; vertical-align: middle; }

.req { color: #e05f00; margin-left: 2px; }

/* ===== CATEGORY CARDS ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.cat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .2s, box-shadow .2s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.cat-card-active { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .2); }
.cat-card-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.cat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-card-emoji {
  font-size: 3.5rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.15));
  transition: transform .2s;
}
.cat-card:hover .cat-card-emoji { transform: scale(1.15); }
.cat-card-body { padding: 1rem 1.15rem 1.15rem; }
.cat-card-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .5rem; }
.cat-card-top h3 { font-size: 1rem; font-weight: 800; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-card-meta { display: flex; align-items: center; gap: .6rem; margin-bottom: .85rem; color: var(--text-muted); font-size: .78rem; }
.cat-card-meta i { margin-right: 2px; }
.cat-card-icon-badge { font-size: 1.1rem; }
.cat-card-actions { display: flex; gap: .4rem; align-items: center; }
.cat-edit-preview { display: flex; align-items: center; gap: .7rem; margin-top: .8rem; }
.cat-edit-preview img { width: 52px; height: 52px; border-radius: .6rem; object-fit: cover; border: 2px solid var(--border); }
.cat-edit-preview span { font-size: .8rem; color: var(--text-muted); }
.cat-form-wrap { margin-bottom: 1.5rem; }
.cat-form-wrap .card { border-left: 3px solid var(--primary); }
@media (max-width: 600px) {
  .cat-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .8rem; }
  .cat-card-img { height: 120px; }
  .cat-card-emoji { font-size: 2.5rem; }
}

/* ===== THEME TOGGLE (light/dark) ===== */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: .5rem; cursor: pointer; flex-shrink: 0;
  background: var(--card-bg); border: 1px solid var(--border-light); color: var(--menu-color);
  font-size: .95rem; transition: all .2s;
}
.theme-toggle:hover { background: var(--hover-bg); color: var(--primary); }
#auth #auth-left .theme-toggle { position: absolute; top: 1.2rem; right: 1.2rem; }

/* ===== DARK MODE (html[data-theme="dark"]) ===== */
html[data-theme="dark"] {
  --primary: #3b82f6;
  --primary-dark: #60a5fa;
  --primary-rgb: 59, 130, 246;
  --sidebar-bg: #161d2b;
  --sidebar-border: #253048;
  --menu-color: #aab6c9;
  --menu-color-hover: #e9eef7;
  --menu-icon: #7c8aa2;
  --body-bg: #0e1420;
  --card-bg: #161e2d;
  --field-bg: #101927;
  --border: #263149;
  --border-light: #2d3a54;
  --text: #e7edf7;
  --text-muted: #8d99ad;
  --hover-bg: #1c2638;
  --icon-bg: #1d2739;
  --table-head: #182236;
  --table-stripe: #1a2437;
  --navbar-bg: rgba(14, 20, 32, .88);
  --shadow-card: 0 2px 10px rgba(0, 0, 0, .4);
  --shadow-card-hover: 0 8px 22px rgba(0, 0, 0, .55);
}
html[data-theme="dark"] body { background: var(--body-bg); color: var(--text); }
html[data-theme="dark"] a:hover { color: var(--primary-dark); }
html[data-theme="dark"] .sidebar-wrapper { box-shadow: 6px 0 30px rgba(0,0,0,.5); }
html[data-theme="dark"] .sidebar-close { background: var(--icon-bg); }
html[data-theme="dark"] .menu-toggle:hover,
html[data-theme="dark"] .sidebar-link:hover { background-color: var(--hover-bg); }
html[data-theme="dark"] .sidebar-link:hover i { background: #263354; color: var(--primary-dark); }
html[data-theme="dark"] .sidebar-item.active > .sidebar-link { background: linear-gradient(90deg, rgba(var(--primary-rgb), .18), rgba(var(--primary-rgb), .06)); }
html[data-theme="dark"] .sidebar-item.active > .sidebar-link span { color: var(--primary-dark); }
html[data-theme="dark"] .navbar { background-color: var(--navbar-bg); }
html[data-theme="dark"] .burger-btn:hover { background: var(--hover-bg); }
html[data-theme="dark"] .menu-hint { background: var(--icon-bg); }
html[data-theme="dark"] .card { box-shadow: var(--shadow-card); }
html[data-theme="dark"] .card-statistic { box-shadow: 0 4px 12px rgba(0,0,0,.45); }
html[data-theme="dark"] .btn-secondary { background-color: var(--card-bg); }
html[data-theme="dark"] .btn-secondary:hover { background-color: var(--hover-bg); color: var(--text); }
html[data-theme="dark"] .btn-paste { background-color: var(--card-bg); }
html[data-theme="dark"] .btn-light-primary { background-color: #1b2c4d; color: #7fb3f7; border-color: #27406e; }
html[data-theme="dark"] .btn-light-primary:hover { background-color: #22375f; }
html[data-theme="dark"] .btn-light-secondary { background: #1c2638; color: #c6d0e0; }
html[data-theme="dark"] .btn-light-secondary:hover { background: #24304a; }
html[data-theme="dark"] .data-table th, html[data-theme="dark"] .data-table td { border-bottom: 1px solid var(--border-light); }
html[data-theme="dark"] .data-table tbody tr.row-active { background: #16243f; }
html[data-theme="dark"] .pagination a { background: var(--card-bg); color: #aab6c9; }
html[data-theme="dark"] .pagination a:hover { background: var(--hover-bg); }
html[data-theme="dark"] .order-tabs a { background: var(--card-bg); color: #aab6c9; }
html[data-theme="dark"] .order-tabs a:hover { background: var(--hover-bg); }
html[data-theme="dark"] .form input, html[data-theme="dark"] .form select, html[data-theme="dark"] .form textarea { background: var(--field-bg); color: var(--text); }
html[data-theme="dark"] .form-group input, html[data-theme="dark"] .form-group select, html[data-theme="dark"] .form-group textarea { background: var(--field-bg); color: var(--text); }
html[data-theme="dark"] .form-group input:hover, html[data-theme="dark"] .form-group select:hover, html[data-theme="dark"] .form-group textarea:hover { border-color: #3d4d6b; }
html[data-theme="dark"] .search-form input, html[data-theme="dark"] .search-form select { background: var(--field-bg); color: var(--text); }
html[data-theme="dark"] #auth #auth-left { background: var(--card-bg); }
html[data-theme="dark"] #auth #auth-right { background: url('../img/auth-bg.jpg'), linear-gradient(135deg, #e05000, #a83a00); background-size: cover, cover; background-position: center; }
html[data-theme="dark"] .auth-subtitle { color: var(--text-muted); }
html[data-theme="dark"] .auth-box { background: var(--body-bg); }
html[data-theme="dark"] .auth-footer { border-top-color: var(--border-light); }
html[data-theme="dark"] .footer { background: #0a0f18; color: #9aa6b8; }
html[data-theme="dark"] .plan-card { background: var(--card-bg); border-color: var(--border-light); }
html[data-theme="dark"] .bill-row { border-bottom-color: var(--border-light); }
/* ===== MODAL ===== */
.modal-overlay { position:fixed; inset:0; z-index:9999; background:rgba(0,0,0,.45); display:none; align-items:center; justify-content:center; padding:20px; backdrop-filter:blur(2px); }
.modal-overlay.open { display:flex; }
.modal-box { background:var(--card-bg); border-radius:12px; width:100%; max-width:620px; max-height:90vh; overflow-y:auto; box-shadow:0 24px 80px rgba(0,0,0,.25); border:1px solid var(--border); }
.modal-header { display:flex; align-items:center; justify-content:space-between; padding:18px 24px; border-bottom:1px solid var(--border); }
.modal-header h2 { margin:0; font-size:17px; font-weight:700; }
.modal-close { background:none; border:none; font-size:24px; cursor:pointer; color:var(--text-muted); width:32px; height:32px; border-radius:6px; display:flex; align-items:center; justify-content:center; transition:background .15s; }
.modal-close:hover { background:var(--soft); color:var(--text); }
.modal-body { padding:24px; }
.modal-footer { padding:16px 24px; border-top:1px solid var(--border); display:flex; justify-content:flex-end; gap:10px; }

/* ===== TABLE ACTION BUTTONS ===== */
td .btn-sm + .btn-sm { margin-left:6px; }
td form { display:inline; }
td form + form { margin-left:0; }

html[data-theme="dark"] code { background: #1d2739; color: var(--text); }
html[data-theme="dark"] .akchat-panel { background: var(--card-bg); }
html[data-theme="dark"] .akchat-body { background: var(--body-bg); }
html[data-theme="dark"] .akchat-msg.bot { background: var(--card-bg); border-color: var(--border); }
html[data-theme="dark"] .akchat-quick, html[data-theme="dark"] .akchat-input { background: var(--card-bg); }
html[data-theme="dark"] .akchat-quick button { background: var(--icon-bg); color: var(--text); border-color: var(--border-light); }
html[data-theme="dark"] .akchat-input input { background: var(--field-bg); color: var(--text); border-color: var(--border-light); }
html[data-theme="dark"] .chart-track { background: var(--table-stripe); }
html[data-theme="dark"] .flow-step:not(:last-child)::after { color: #4a5a78; }
html[data-theme="dark"] .flow-dot { border-color: var(--border-light); }
html[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #3a4a66; border-color: #0e1420; }
html[data-theme="dark"] ::-webkit-scrollbar-thumb:hover { background: #4a5c7d; }
html[data-theme="dark"] .theme-toggle { background: var(--card-bg); color: var(--text); border-color: var(--border-light); }
html[data-theme="dark"] .theme-toggle:hover { background: var(--hover-bg); }
html[data-theme="dark"] .cat-card { background: var(--card-bg); border-color: var(--border); }
html[data-theme="dark"] .cat-card-active { border-color: var(--primary); }
