@font-face {
  font-family: 'ALKATIP Basma Tom';
  src: url('https://www.xjchangfu.com/ALKATIP%20Basma%20Tom.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #165DFF;
  --primary-dark: #0E42D2;
  --primary-light: #4080FF;
  --primary-bg: #E8F0FF;
  --secondary: #FF7A00;
  --secondary-bg: #FFF3E8;
  --success: #00B42A;
  --success-bg: #E8FFEA;
  --danger: #F53F3F;
  --danger-bg: #FFECE8;
  --warning: #FF9A2E;
  --warning-bg: #FFF7E8;
  --text-1: #1D2129;
  --text-2: #4E5969;
  --text-3: #86909C;
  --text-4: #C9CDD4;
  --border: #E5E6EB;
  --border-light: #F2F3F5;
  --bg-1: #F7F8FA;
  --bg-2: #F2F3F5;
  --bg-3: #FFFFFF;
  --shadow-1: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-2: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-3: 0 8px 32px rgba(0, 0, 0, 0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-round: 999px;
  --navbar-h: 56px;
  --tabbar-h: 60px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  font-family: 'ALKATIP Basma Tom', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
  font-size: 14px;
  color: var(--text-1);
  background: var(--bg-1);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

.page { min-height: 100vh; background: var(--bg-1); padding-bottom: var(--tabbar-h); }
.page.no-tabbar { padding-bottom: 0; }

.container { max-width: 750px; margin: 0 auto; }

.navbar {
  position: sticky; top: 0; z-index: 100;
  height: var(--navbar-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-1);
}
.navbar .nav-back {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; cursor: pointer; border-radius: 50%; transition: background .2s;
}
.navbar .nav-back:hover { background: rgba(255,255,255,.15); }
.navbar .nav-title { font-size: 17px; font-weight: 600; }
.navbar .nav-right { display: flex; gap: 8px; align-items: center; }

.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--tabbar-h);
  background: #fff;
  display: flex;
  border-top: 1px solid var(--border);
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar .tab-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: var(--text-3); cursor: pointer; transition: color .2s;
}
.tabbar .tab-item.active { color: var(--primary); }
.tabbar .tab-item .tab-icon { font-size: 22px; }
.tabbar .tab-item .tab-label { font-size: 11px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; border-radius: var(--radius-md);
  font-size: 15px; font-weight: 500;
  transition: all .2s; cursor: pointer;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-outline { background: #fff; color: var(--primary); border: 1px solid var(--primary); }
.btn-ghost { background: transparent; color: var(--primary); }
.btn-block { width: 100%; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.card {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.card-header { padding: 16px; border-bottom: 1px solid var(--border-light); font-weight: 600; font-size: 15px; display: flex; align-items: center; justify-content: space-between; }
.card-body { padding: 16px; }
.card-footer { padding: 12px 16px; border-top: 1px solid var(--border-light); }

.section { padding: 16px; }
.section-title { font-size: 16px; font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; }
.section-title .more { font-size: 13px; color: var(--text-3); font-weight: normal; cursor: pointer; }

.tag {
  display: inline-flex; align-items: center;
  padding: 2px 8px; border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 500;
}
.tag-primary { background: var(--primary-bg); color: var(--primary); }
.tag-success { background: var(--success-bg); color: var(--success); }
.tag-warning { background: var(--warning-bg); color: var(--warning); }
.tag-danger { background: var(--danger-bg); color: var(--danger); }
.tag-secondary { background: var(--secondary-bg); color: var(--secondary); }

.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 14px; color: var(--text-2); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: #fff; font-size: 15px; color: var(--text-1);
  transition: border-color .2s;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.1);
}
.form-input::placeholder { color: var(--text-4); }
.form-textarea { resize: vertical; min-height: 80px; }
.form-hint { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.form-error { font-size: 12px; color: var(--danger); margin-top: 4px; display: none; }
.form-group.has-error .form-error { display: block; }
.form-group.has-error .form-input, .form-group.has-error .form-select { border-color: var(--danger); }

.list-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: #fff;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer; transition: background .15s;
}
.list-item:last-child { border-bottom: none; }
.list-item:hover { background: var(--bg-1); }
.list-item .item-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary-bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.list-item .item-content { flex: 1; min-width: 0; }
.list-item .item-title { font-size: 15px; font-weight: 500; margin-bottom: 2px; }
.list-item .item-desc { font-size: 13px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-item .item-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-muted { color: var(--text-3); }
.text-sm { font-size: 12px; }
.text-base { font-size: 14px; }
.text-lg { font-size: 16px; }
.text-xl { font-size: 18px; }
.text-xxl { font-size: 22px; }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }

.grid { display: grid; gap: 12px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.banner {
  position: relative; width: 100%;
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16/9;
}
.banner-track { display: flex; transition: transform .5s ease; height: 100%; }
.banner-slide { min-width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; font-weight: 600; }
.banner-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.banner-dots .dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: all .2s; }
.banner-dots .dot.active { width: 16px; border-radius: 3px; background: #fff; }

.empty-state {
  padding: 60px 20px; text-align: center;
}
.empty-state .empty-icon { font-size: 64px; color: var(--text-4); margin-bottom: 16px; }
.empty-state .empty-text { color: var(--text-3); font-size: 14px; }

.loading {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.8); z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.toast {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,.8); color: #fff;
  padding: 12px 24px; border-radius: var(--radius-md);
  z-index: 10000; font-size: 14px;
  animation: fadeInOut 2.5s ease;
}
@keyframes fadeInOut {
  0% { opacity: 0; transform: translate(-50%, -40%); }
  15%, 85% { opacity: 1; transform: translate(-50%, -50%); }
  100% { opacity: 0; transform: translate(-50%, -60%); }
}

.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.5); z-index: 999;
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: #fff; border-radius: var(--radius-xl);
  width: 90%; max-width: 400px;
  animation: slideUp .3s ease;
  overflow: hidden;
}
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-header { padding: 20px 20px 12px; font-size: 17px; font-weight: 600; text-align: center; }
.modal-body { padding: 0 20px 20px; color: var(--text-2); text-align: center; }
.modal-footer { display: flex; border-top: 1px solid var(--border-light); }
.modal-footer .btn { flex: 1; border-radius: 0; padding: 14px; }
.modal-footer .btn-cancel { color: var(--text-3); }
.modal-footer .btn-confirm { color: var(--primary); font-weight: 600; }
.modal-footer .btn + .btn { border-left: 1px solid var(--border-light); }

.bottom-sheet {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: #fff; border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  z-index: 999; max-height: 80vh; overflow-y: auto;
  animation: slideUpSheet .3s ease;
}
@keyframes slideUpSheet { from { transform: translateY(100%); } to { transform: translateY(0); } }
.sheet-handle { width: 40px; height: 4px; background: var(--text-4); border-radius: 2px; margin: 10px auto; }

.tabs { display: flex; background: #fff; border-bottom: 1px solid var(--border-light); }
.tab {
  flex: 1; padding: 14px; text-align: center; cursor: pointer;
  font-size: 14px; color: var(--text-2); position: relative;
  transition: color .2s;
}
.tab.active { color: var(--primary); font-weight: 600; }
.tab.active::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 24px; height: 3px; background: var(--primary); border-radius: 2px;
}

.stepper { display: flex; align-items: center; justify-content: space-between; }
.step { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; position: relative; }
.step-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-2); color: var(--text-3);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
  z-index: 2;
}
.step.active .step-icon { background: var(--primary); color: #fff; box-shadow: 0 0 0 4px var(--primary-bg); }
.step.done .step-icon { background: var(--success); color: #fff; }
.step-label { font-size: 12px; color: var(--text-3); }
.step.active .step-label { color: var(--primary); font-weight: 600; }
.step.done .step-label { color: var(--success); }
.step-line {
  position: absolute; top: 16px; left: calc(50% + 16px); right: calc(-50% + 16px);
  height: 2px; background: var(--border); z-index: 1;
}
.step.done .step-line { background: var(--success); }

.progress-bar { width: 100%; height: 4px; background: var(--bg-2); border-radius: 2px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--primary-light)); transition: width .3s ease; }

.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary-bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 600;
}
.avatar-sm { width: 32px; height: 32px; font-size: 14px; }
.avatar-lg { width: 64px; height: 64px; font-size: 28px; }

.badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--danger); color: #fff;
  border-radius: 9px; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
}

.price { color: var(--danger); font-weight: 600; }
.price-symbol { font-size: 14px; }
.price-value { font-size: 20px; }

.divider { height: 1px; background: var(--border-light); margin: 12px 0; }
.divider-sm { height: 1px; background: var(--border-light); margin: 8px 0; }

.icon-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary-bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; transition: all .2s;
}
.icon-btn:hover { background: var(--primary); color: #fff; }

.order-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 16px; box-shadow: var(--shadow-1);
}
.order-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.order-no { font-size: 13px; color: var(--text-3); }
.order-status { font-size: 13px; font-weight: 600; }
.order-status.pending { color: var(--warning); }
.order-status.accepted { color: var(--primary); }
.order-status.completed { color: var(--success); }
.order-status.cancelled { color: var(--text-3); }
.order-route { position: relative; padding-left: 24px; margin-bottom: 12px; }
.order-route::before {
  content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 2px; background: var(--border);
}
.order-point { position: relative; display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 4px 0; }
.order-point::before {
  content: ''; position: absolute; left: -24px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--primary); border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--primary);
}
.order-point.end::before { background: var(--secondary); box-shadow: 0 0 0 2px var(--secondary); }
.order-point .point-label { color: var(--text-3); font-size: 12px; }

.stat-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 16px; box-shadow: var(--shadow-1);
}
.stat-value { font-size: 24px; font-weight: 700; color: var(--text-1); }
.stat-label { font-size: 13px; color: var(--text-3); margin-top: 4px; }
.stat-trend { font-size: 12px; margin-top: 4px; }
.stat-trend.up { color: var(--success); }
.stat-trend.down { color: var(--danger); }

.chart-bar {
  display: flex; align-items: flex-end; gap: 8px; height: 120px; padding: 12px 0;
}
.chart-bar .bar {
  flex: 1; background: linear-gradient(180deg, var(--primary-light), var(--primary));
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  position: relative; transition: height .5s ease;
}
.chart-bar .bar-label {
  position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
  font-size: 11px; color: var(--text-3);
}
.chart-bar .bar-value {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  font-size: 12px; color: var(--text-2); font-weight: 600;
}

.map-placeholder {
  background: linear-gradient(135deg, #E8F0FF 0%, #F2F3F5 100%);
  height: 200px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); position: relative; overflow: hidden;
}
.map-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(22,93,255,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,93,255,.1) 1px, transparent 1px);
  background-size: 30px 30px;
}
.map-marker {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.map-marker .pin {
  width: 24px; height: 24px; border-radius: 50% 50% 50% 0;
  background: var(--primary); transform: rotate(-45deg);
  box-shadow: 0 2px 8px rgba(22,93,255,.4);
  display: flex; align-items: center; justify-content: center;
}
.map-marker .pin::after {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
}
.map-marker .pulse {
  position: absolute; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(22,93,255,.3); animation: pulse 2s infinite;
  top: -8px; left: -8px; z-index: -1;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.seg {
  display: inline-flex; background: var(--bg-2); border-radius: var(--radius-md);
  padding: 3px;
}
.seg-item {
  padding: 6px 14px; font-size: 13px; color: var(--text-2);
  border-radius: var(--radius-sm); cursor: pointer; transition: all .2s;
}
.seg-item.active { background: #fff; color: var(--primary); box-shadow: var(--shadow-1); }

.price-card {
  background: linear-gradient(135deg, #fff 0%, var(--primary-bg) 100%);
  border-radius: var(--radius-lg); padding: 16px;
}
.price-card .price-main { font-size: 32px; font-weight: 700; color: var(--primary); }
.price-card .price-unit { font-size: 14px; color: var(--text-3); }

.banner-carousel {
  border-radius: var(--radius-lg); overflow: hidden;
  margin: 16px; box-shadow: var(--shadow-2);
}
.banner-carousel .slide {
  aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; color: #fff;
}

.grid-nav {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding: 16px;
}
.grid-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer; transition: transform .2s;
}
.grid-nav-item:hover { transform: translateY(-2px); }
.grid-nav-item .nav-icon {
  width: 48px; height: 48px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.grid-nav-item .nav-label { font-size: 12px; color: var(--text-2); }

.voucher-card {
  display: flex; overflow: hidden;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-1);
}
.voucher-amount {
  width: 120px; padding: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--danger), var(--secondary));
  color: #fff; flex-shrink: 0;
}
.voucher-amount .amount { font-size: 28px; font-weight: 700; }
.voucher-amount .condition { font-size: 11px; opacity: .9; }
.voucher-info { flex: 1; padding: 16px; background: #fff; display: flex; flex-direction: column; justify-content: center; }
.voucher-info .v-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.voucher-info .v-desc { font-size: 12px; color: var(--text-3); }
.voucher-info .v-expire { font-size: 11px; color: var(--text-4); margin-top: 6px; }

.business-card {
  display: flex; gap: 12px; padding: 14px; background: #fff;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-1);
  cursor: pointer; transition: transform .2s;
}
.business-card:hover { transform: translateY(-2px); }
.business-card .b-logo {
  width: 60px; height: 60px; border-radius: var(--radius-md);
  background: var(--primary-bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; flex-shrink: 0;
}
.business-card .b-info { flex: 1; }
.business-card .b-name { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.business-card .b-tags { display: flex; gap: 6px; margin-bottom: 4px; }
.business-card .b-desc { font-size: 13px; color: var(--text-3); }
.business-card .b-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }

.status-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--radius-round);
  font-size: 12px; font-weight: 500;
}
.status-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
}
.status-badge.pending { background: var(--warning-bg); color: var(--warning); }
.status-badge.pending::before { background: var(--warning); }
.status-badge.active { background: var(--primary-bg); color: var(--primary); }
.status-badge.active::before { background: var(--primary); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.status-badge.success { background: var(--success-bg); color: var(--success); }
.status-badge.success::before { background: var(--success); }
.status-badge.offline { background: var(--bg-2); color: var(--text-3); }
.status-badge.offline::before { background: var(--text-3); }

.dot-loader {
  display: inline-flex; gap: 4px;
}
.dot-loader span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
  animation: dotBounce 1.4s infinite;
}
.dot-loader span:nth-child(2) { animation-delay: .2s; }
.dot-loader span:nth-child(3) { animation-delay: .4s; }
@keyframes dotBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

.image-uploader {
  border: 2px dashed var(--border); border-radius: var(--radius-md);
  aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--text-3); cursor: pointer; transition: all .2s;
  background: var(--bg-1);
}
.image-uploader:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-bg); }

.chip {
  display: inline-flex; align-items: center; padding: 6px 12px;
  background: var(--bg-2); color: var(--text-2);
  border-radius: var(--radius-round); font-size: 13px;
  cursor: pointer; transition: all .2s;
}
.chip.selected { background: var(--primary-bg); color: var(--primary); font-weight: 500; }

.admin-sidebar {
  width: 220px; background: #001529; color: #fff;
  height: 100vh; position: fixed; left: 0; top: 0;
  display: flex; flex-direction: column;
}
.admin-sidebar .logo {
  padding: 20px; font-size: 18px; font-weight: 700;
  background: rgba(22,93,255,.1);
  display: flex; align-items: center; gap: 10px;
}
.admin-menu { flex: 1; padding: 12px 0; overflow-y: auto; }
.admin-menu .menu-item {
  padding: 12px 24px; cursor: pointer; font-size: 14px;
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.7); transition: all .2s;
}
.admin-menu .menu-item:hover { color: #fff; background: rgba(255,255,255,.05); }
.admin-menu .menu-item.active { color: #fff; background: var(--primary); }

.admin-main { margin-left: 220px; padding: 24px; min-height: 100vh; background: var(--bg-1); }
.admin-header {
  background: #fff; border-radius: var(--radius-lg); padding: 16px 24px;
  display: flex; justify-content: space-between; align-items: center;
  box-shadow: var(--shadow-1); margin-bottom: 16px;
}
.admin-stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; margin-bottom: 16px;
}

.admin-table {
  width: 100%; border-collapse: collapse; background: #fff;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-1);
}
.admin-table th, .admin-table td {
  padding: 12px 16px; text-align: left; font-size: 14px;
  border-bottom: 1px solid var(--border-light);
}
.admin-table th { background: var(--bg-1); font-weight: 600; color: var(--text-2); }
.admin-table tbody tr:hover { background: var(--bg-1); }
.admin-table td .actions { display: flex; gap: 8px; }

@media (max-width: 768px) {
  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; padding: 12px; }
  .grid-nav { grid-template-columns: repeat(4, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .banner-carousel .slide { font-size: 18px; }
}

.fade-in { animation: fadeIn .3s ease; }
.slide-up { animation: slideUp .3s ease; }
.scale-in { animation: scaleIn .3s ease; }
@keyframes scaleIn { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
