/* ==========================================================================
   SEEYOUSOON SUPER-APP — ULTRA-GLASS COMPONENTS & BOTTOM SHEET
   ========================================================================== */

/* 1. BOTTOM SHEET ENGINE (Ultra-Glass Refraction) */
.bottom-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--sheet-expanded);
  background: linear-gradient(180deg, rgba(14, 19, 38, 0.88) 0%, rgba(7, 10, 20, 0.95) 100%);
  backdrop-filter: blur(36px) saturate(190%);
  -webkit-backdrop-filter: blur(36px) saturate(190%);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  z-index: var(--z-sheet);
  display: flex;
  flex-direction: column;
  transform: translateY(calc(var(--sheet-expanded) - var(--sheet-half)));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  touch-action: pan-y;
}
.bottom-sheet.collapsed { transform: translateY(calc(var(--sheet-expanded) - var(--sheet-collapsed))); }
.bottom-sheet.half { transform: translateY(calc(var(--sheet-expanded) - var(--sheet-half))); }
.bottom-sheet.expanded { transform: translateY(0); }
.bottom-sheet.dragging { transition: none !important; }

.sheet-handle-bar {
  width: 100%;
  padding: 14px 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: grab;
  touch-action: none;
}
.sheet-handle-pill {
  width: 48px;
  height: 5px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.25);
}
.sheet-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 16px calc(var(--safe-bottom) + 36px);
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

/* 2. CATEGORY FILTER STRIP */
.category-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.category-strip::-webkit-scrollbar { display: none; }

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  color: var(--paper-dim);
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}
.category-pill:active { transform: scale(0.95); }
.category-pill .cat-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-pill.active {
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  color: #FFF;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 20px var(--purple-glow), 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* 3. ULTRA-GLASS SEARCH BAR */
.sheet-search-wrap {
  position: relative;
  margin-bottom: 14px;
  width: 100%;
}
.sheet-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--paper-muted);
  pointer-events: none;
}
html[dir="rtl"] .sheet-search-icon { left: auto; right: 14px; }
.sheet-search-input {
  width: 100%;
  height: 46px;
  background: var(--glass-input-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 0 14px 0 42px;
  color: #FFF;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
  transition: border-color 0.2s, box-shadow 0.2s;
}
html[dir="rtl"] .sheet-search-input { padding: 0 42px 0 14px; }
.sheet-search-input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 16px var(--purple-glow), inset 0 2px 4px rgba(0,0,0,0.3);
}
.sheet-search-input::placeholder { color: var(--paper-muted); }

/* 4. ULTRA-LUXE PLACE CARDS */
.results-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.place-card {
  background: var(--glass-card-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s, box-shadow 0.2s;
}
.place-card:hover {
  transform: translateY(-2px);
  border-color: var(--glass-border-hi);
  box-shadow: var(--shadow-luxe);
}
.place-card:active { transform: scale(0.98); }

.place-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
}
.place-info { flex: 1; min-width: 0; }
.place-name-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}
.place-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: #FFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.place-dist {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--kr-green);
  flex-shrink: 0;
}
.place-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--paper-muted);
}
.badge-rating {
  color: #FBBF24;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.badge-open {
  color: var(--kr-green);
  font-weight: 800;
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
}

/* 5. SKELETONS */
.skeleton-card {
  background: var(--glass-card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.skeleton-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  animation: shimmer 1.5s infinite;
}
.skeleton-lines { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.skeleton-bar {
  height: 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0% { opacity: 0.3; } 50% { opacity: 0.8; } 100% { opacity: 0.3; }
}

/* 6. BUTTONS & TOAST */
.btn-primary {
  width: 100%;
  height: 50px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--indigo) 0%, var(--purple) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFF;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 8px 24px var(--purple-glow), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
}
.btn-primary:active { transform: scale(0.97); }

.toast-container {
  position: fixed;
  top: calc(var(--safe-top) + 68px);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.toast {
  background: var(--glass-bg-elevated);
  backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-float);
  color: #FFF;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 7. TAXI & TIERS */
.dest-input-card {
  background: var(--glass-card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
}
.tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.tier-card {
  background: var(--glass-card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 14px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: all 0.2s ease;
}
.tier-card.selected {
  border-color: var(--purple);
  background: rgba(168, 85, 247, 0.16);
  box-shadow: 0 0 20px var(--purple-glow);
}
.tier-name { font-size: 13.5px; font-weight: 800; color: #FFF; margin-bottom: 2px; }
.tier-price { font-family: var(--font-mono); font-size: 14.5px; font-weight: 900; color: var(--kr-green); }
.tier-eta { font-size: 11.5px; color: var(--paper-muted); }

/* 8. MAP PIN & FLOATING BOTTOM NAV */
.seeusoon-map-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.seeusoon-map-pin:hover, .seeusoon-map-pin:active { transform: scale(1.25); z-index: 100; }
.pin-inner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg-elevated);
  backdrop-filter: blur(16px);
  border: 2px solid var(--purple);
  box-shadow: 0 6px 20px var(--purple-glow), 0 0 12px rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  position: relative;
}
.pin-inner::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--purple);
}

.floating-bottom-nav {
  position: fixed;
  bottom: calc(var(--safe-bottom) + 8px);
  left: 14px;
  right: 14px;
  max-width: 480px;
  margin: 0 auto;
  height: 62px;
  background: var(--glass-bg-elevated);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(168, 85, 247, 0.2);
  z-index: calc(var(--z-sheet) + 5);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 6px;
}
.nav-tab {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--paper-muted);
  font-size: 10.5px;
  font-weight: 800;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
  position: relative;
}
.nav-tab:active { transform: scale(0.92); }
.nav-tab.active { color: #FFF; }
.nav-tab.active .nav-tab-icon {
  transform: translateY(-2px) scale(1.15);
  filter: drop-shadow(0 0 8px var(--purple-glow));
}
.nav-tab-icon { font-size: 19px; line-height: 1; transition: transform 0.2s ease; }
.nav-tab.highlight.active { color: var(--amber); }
.nav-badge {
  position: absolute;
  top: 2px;
  right: 10px;
  background: var(--purple);
  color: #FFF;
  font-size: 9px;
  font-weight: 900;
  min-width: 15px;
  height: 15px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px var(--purple-glow);
}

/* 9. SLIDING SIDEBAR DRAWER STYLES */
.sidebar-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sidebar-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #FFF;
  font-size: 16px;
  box-shadow: 0 0 14px var(--purple-glow);
  flex-shrink: 0;
}
.sidebar-wallet {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.sidebar-wallet:active {
  transform: scale(0.98);
  background: rgba(255, 255, 255, 0.08);
}
.sidebar-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFF;
  transform: scale(1.05);
}
.sidebar-close-btn:active {
  transform: scale(0.92);
}

/* ==========================================================================
   9. ULTRA-LUXE SEEYOUSOON SUPER-APP SIDEBAR MENU SYSTEM
   ========================================================================== */

/* Fixed Header */
.menu-fixed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--safe-top) + 14px) 16px 12px;
  background: rgba(10, 15, 34, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  flex-shrink: 0;
  z-index: 10;
}
.menu-header-circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.menu-header-circle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.06);
}
.menu-header-circle-btn:active {
  transform: scale(0.92);
}
.menu-header-title-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  flex: 1;
  padding: 0 6px;
  overflow: hidden;
}
.menu-header-app-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  color: #FFF;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.menu-header-badge {
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #8B5CF6, #06B6D4);
  color: #FFF;
  padding: 1px 5px;
  border-radius: 999px;
}
.menu-header-sub {
  font-size: 10px;
  font-weight: 700;
  color: var(--paper-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.menu-header-role-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 5px 9px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  max-width: 120px;
  overflow: hidden;
}
.menu-header-role-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
}
.menu-header-role-icon {
  font-size: 13px;
  flex-shrink: 0;
}
.menu-header-role-name {
  font-size: 10.5px;
  font-weight: 800;
  color: #FFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* Scrollable Body */
.sidebar-drawer-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 14px 16px 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 85, 247, 0.35) transparent;
}
.sidebar-drawer-body::-webkit-scrollbar {
  width: 4px;
}
.sidebar-drawer-body::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.35);
  border-radius: 999px;
}

/* Hero Profile & Wallet Card */
.menu-hero-card {
  position: relative;
  background: linear-gradient(145deg, rgba(28, 38, 70, 0.7) 0%, rgba(13, 18, 38, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.menu-hero-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.menu-user-row {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}
.menu-avatar-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #8B5CF6, #06B6D4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  color: #FFF;
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.4);
  flex-shrink: 0;
}
.menu-avatar-online {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  background: #10B981;
  border: 2px solid #0B1021;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
}
.menu-user-meta {
  flex: 1;
  margin-left: 12px;
  min-width: 0;
}
html[dir="rtl"] .menu-user-meta {
  margin-left: 0;
  margin-right: 12px;
}
.menu-user-name {
  font-size: 15px;
  font-weight: 900;
  color: #FFF;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.2px;
}
.bankid-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 800;
  color: #10B981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 1px 6px;
  border-radius: 6px;
}
.menu-vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 800;
  color: #FBBF24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 2px 8px;
  border-radius: 999px;
}

/* Dual Mini-Cards */
.menu-hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.menu-hero-card .menu-hero-tile {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
}
.menu-hero-card .menu-hero-tile:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-2px);
}
.menu-hero-card .menu-hero-tile:active {
  transform: scale(0.97);
}
.menu-hero-tile-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}
.tile-label-green {
  font-size: 9.5px;
  font-weight: 900;
  color: #10B981;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}
.tile-tag-green {
  font-size: 9px;
  font-weight: 900;
  color: #10B981;
  background: rgba(16, 185, 129, 0.15);
  padding: 1px 5px;
  border-radius: 999px;
  white-space: nowrap;
}
.tile-label-gold {
  font-size: 9.5px;
  font-weight: 900;
  color: #FBBF24;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}
.tile-tag-gold {
  font-size: 9px;
  font-weight: 900;
  color: #FBBF24;
  background: rgba(245, 158, 11, 0.15);
  padding: 1px 5px;
  border-radius: 999px;
  white-space: nowrap;
}
.menu-hero-tile-val {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 900;
  color: #10B981;
  margin-top: 5px;
}

/* In-Menu Search Input */
.menu-search-wrap {
  position: relative;
  margin-bottom: 12px;
}
.menu-search-input {
  width: 100%;
  height: 42px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0 16px 0 42px;
  color: #FFF;
  font-size: 13px;
  font-weight: 600;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
html[dir="rtl"] .menu-search-input {
  padding: 0 42px 0 16px;
}
.menu-search-input:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: #8B5CF6;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.4);
}
.menu-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: #94A3B8;
  pointer-events: none;
}
html[dir="rtl"] .menu-search-icon {
  left: auto;
  right: 14px;
}

/* In-Menu Filter Chips */
.menu-chips-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px 2px;
  margin-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.menu-chips-scroll::-webkit-scrollbar {
  display: none;
}
.menu-chip-btn {
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0 13px;
  color: #94A3B8;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.menu-chip-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #FFF;
}
.menu-chip-btn:active {
  transform: scale(0.95);
}
.menu-chip-btn.active {
  background: #8B5CF6;
  color: #FFF;
  border-color: #A855F7;
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.4);
}

/* 2x2 Feature Grid — Vertical Modern Stack */
.menu-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.menu-quick-grid .menu-quick-tile {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.menu-quick-grid .menu-quick-tile:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.menu-quick-grid .menu-quick-tile:active {
  transform: scale(0.97);
}
.menu-quick-tile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-quick-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.menu-quick-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #FFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.menu-quick-sub {
  font-size: 10.5px;
  color: #94A3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}
.menu-quick-badge {
  font-size: 9px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 999px;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

/* Category Sections & Sector Rows */
.menu-group-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 6px;
  margin-bottom: 12px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.menu-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px 6px;
  font-size: 10.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #94A3B8;
}
.menu-group-count {
  font-size: 9.5px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
}

/* Individual Sector Row (.sidebar-link) */
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 10px;
  color: #E2E8F0;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
  border: 1px solid transparent;
  margin-bottom: 2px;
  user-select: none;
}
.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(3px);
}
html[dir="rtl"] .sidebar-link:hover {
  transform: translateX(-3px);
}
.sidebar-link:active {
  transform: scale(0.98);
}
.sidebar-link.active {
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.2) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-color: rgba(139, 92, 246, 0.45);
  color: #FFF;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.2);
}
.sidebar-link-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: all 0.2s ease;
}
.sidebar-link:hover .sidebar-link-icon-box {
  transform: scale(1.08);
}
.sidebar-link-body {
  flex: 1;
  min-width: 0;
}
.sidebar-link-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}
.sidebar-link-desc {
  font-size: 11px;
  color: #94A3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.sidebar-link-tag {
  font-size: 9.5px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.sidebar-link-chevron {
  color: #94A3B8;
  font-size: 14px;
  opacity: 0.45;
  transition: transform 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
}
.sidebar-link:hover .sidebar-link-chevron {
  opacity: 1;
  transform: translateX(2px);
}
html[dir="rtl"] .sidebar-link:hover .sidebar-link-chevron {
  transform: translateX(-2px);
}
.sidebar-section-title {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94A3B8;
  padding: 8px 10px 4px;
  margin-top: 4px;
}

/* Fixed Bottom Footer Bar */
.menu-fixed-footer {
  padding: 10px 16px calc(var(--safe-bottom) + 12px);
  background: rgba(8, 12, 26, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  flex-shrink: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.menu-bottom-dock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.menu-dock-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #CBD5E1;
  font-size: 10.5px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.menu-dock-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #FFF;
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}
.menu-dock-btn:active {
  transform: scale(0.94);
}
.menu-dock-btn span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.menu-dock-icon {
  font-size: 16px;
}

.menu-sync-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}
.sync-text-status {
  font-weight: 800;
  color: #10B981;
}
.sync-text-latency {
  font-family: var(--font-mono);
  color: #94A3B8;
  font-size: 10px;
}
.sync-reload-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  padding: 2px 4px;
  transition: color 0.2s ease;
}
.sync-reload-btn:hover {
  color: #FFF;
}
.admin-portal-link {
  color: #8B5CF6;
  text-decoration: none;
  font-weight: 900;
  font-size: 11px;
}
.admin-portal-link:hover {
  text-decoration: underline;
  color: #A855F7;
}

.sync-led-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  display: inline-block;
  animation: pulseLedSync 1.8s infinite ease-in-out;
}
@keyframes pulseLedSync {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #10B981; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* 10. ULTRA-LUXE SECTOR SUB-TABS & DOMAIN COMPONENTS */
.sector-subtabs-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.sector-subtabs-scroll::-webkit-scrollbar {
  display: none;
}
.sector-subtab-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--paper-muted);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  flex-shrink: 0;
}
.sector-subtab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
}
.sector-subtab-btn:active {
  transform: scale(0.96);
}
.sector-subtab-btn.active {
  color: #FFF;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(99, 102, 241, 0.2));
  border-color: var(--purple);
  box-shadow: 0 0 16px var(--purple-glow);
}
.sector-subtab-btn.active-green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(6, 182, 212, 0.2));
  border-color: var(--kr-green);
  box-shadow: 0 0 16px var(--kr-green-glow);
}
.sector-subtab-btn.active-amber {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(249, 115, 22, 0.2));
  border-color: var(--amber);
  box-shadow: 0 0 16px var(--amber-glow);
}
.sector-subtab-btn.active-cyan {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(59, 130, 246, 0.2));
  border-color: var(--cyan);
  box-shadow: 0 0 16px var(--cyan-glow);
}

.sector-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.sector-metric-card {
  background: var(--glass-card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-card);
}
.sector-metric-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--paper-muted);
}
.sector-metric-val {
  font-size: 20px;
  font-weight: 900;
  color: #FFF;
}

/* Numpad & POS Keypad */
.numpad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 14px 0;
}
.numpad-key {
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: #FFF;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.numpad-key:active {
  transform: scale(0.92);
  background: rgba(255, 255, 255, 0.15);
}

/* KDS Kitchen Display System */
.kds-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.kds-card {
  background: rgba(14, 19, 38, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-card);
  transition: all 0.2s ease;
}
.kds-card.status-new {
  border-left: 4px solid var(--rose);
}
.kds-card.status-cooking {
  border-left: 4px solid var(--amber);
}
.kds-card.status-ready {
  border-left: 4px solid var(--kr-green);
}

/* Quick Sector Hub Tiles (Home Screen) */
.quick-sector-tile {
  user-select: none;
  -webkit-user-select: none;
}
.quick-sector-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6) !important;
}
.quick-sector-tile:active {
  transform: scale(0.97);
}
