@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400..800;1,9..40,400..800&family=Playfair+Display:ital,wght@0,600..800;1,600..800&display=swap');

:root {
  --font-main: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  
  --bg: #f5f6f3;
  --surface: #ffffff;
  --surface-subtle: #f8faf7;
  
  --brand-black: #121614;
  --brand-dark: #1a221d;
  --brand-charcoal: #26332b;
  --brand-orange: #e58e26;
  --brand-orange-hover: #d35400;
  --brand-amber: #f39c12;
  --brand-green: #256b45;
  --brand-green-hover: #1c5235;
  
  --text-primary: #19221b;
  --text-secondary: #58635a;
  --text-muted: #889389;
  
  --border-line: #e3e7df;
  --border-focus: #e58e26;
  
  --shadow-sm: 0 2px 6px rgba(18, 22, 20, 0.04);
  --shadow-md: 0 6px 18px rgba(18, 22, 20, 0.08);
  --shadow-lg: 0 12px 36px rgba(18, 22, 20, 0.12);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

/* Top Navigation Bar */
.topbar {
  height: 72px;
  background: var(--brand-black);
  color: #fff;
  border-bottom: 2px solid #232d26;
  display: flex;
  align-items: center;
  padding: 0 2.5%;
  gap: 36px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand-flame-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #e58e26 0%, #b83b10 100%);
  border-radius: var(--radius-md);
  font-size: 24px;
  box-shadow: 0 4px 14px rgba(229, 142, 38, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  color: #ffffff;
}

.brand-name .brand-light {
  color: var(--brand-orange);
}

.brand-tag {
  font-size: 8px;
  letter-spacing: 0.16em;
  color: #a4b0a7;
  font-weight: 600;
  margin-top: 3px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  color: #b0bcaf;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s ease;
  position: relative;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: #ffffff;
  background: rgba(229, 142, 38, 0.18);
  border: 1px solid rgba(229, 142, 38, 0.35);
}

.nav-icon {
  font-size: 15px;
}

.badge-count {
  background: var(--brand-orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
  margin-left: 4px;
}

.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.cashier-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.07);
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 8px #2ecc71;
  display: inline-block;
}

.cashier-info {
  display: flex;
  flex-direction: column;
}

.cashier-name {
  font-size: 12px;
  color: #fff;
  font-weight: 700;
}

.cashier-role {
  font-size: 9px;
  color: #a4b0a7;
}

.logout-link {
  color: #9aa89d;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.logout-link:hover {
  color: #ff7675;
  background: rgba(255, 118, 117, 0.1);
}

/* POS Screen Layout */
.pos-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  min-height: calc(100vh - 72px);
  max-width: 1680px;
  margin: 0 auto;
}

.menu-panel {
  padding: 28px 32px 48px;
  overflow-y: auto;
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--brand-orange);
  margin: 0 0 8px;
}

.page-heading h1 {
  font-size: 28px;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--brand-dark);
  font-weight: 800;
}

.page-heading h1 em {
  font-family: var(--font-serif);
  color: var(--brand-orange-hover);
  font-style: italic;
  font-weight: 700;
}

.muted {
  color: var(--text-muted);
  font-size: 13px;
  margin: 6px 0 0;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-line);
  color: #27ae60;
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #27ae60;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(39, 174, 96, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(39, 174, 96, 0); }
}

/* Menu Tools (Search & Categories) */
.menu-tools {
  margin-bottom: 24px;
}

.search-box {
  height: 46px;
  max-width: 480px;
  background: #fff;
  border: 1.5px solid var(--border-line);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-box:focus-within {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(229, 142, 38, 0.15);
}

.search-icon {
  font-size: 16px;
  opacity: 0.6;
}

.search-box input {
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 13px;
  background: transparent;
  color: var(--text-primary);
}

.clear-search-btn {
  background: #eaece7;
  border: 0;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 14px;
  cursor: pointer;
  color: var(--text-secondary);
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.category-chip {
  border: 1px solid var(--border-line);
  background: #fff;
  color: var(--text-secondary);
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.category-chip:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange-hover);
  transform: translateY(-1px);
}

.category-chip.selected {
  background: var(--brand-black);
  color: #fff;
  border-color: var(--brand-black);
  box-shadow: 0 4px 10px rgba(18, 22, 20, 0.15);
}

.category-chip.selected .chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-orange);
}

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

.product-card {
  background: #fff;
  border: 1.5px solid var(--border-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-orange);
  box-shadow: var(--shadow-md);
}

.product-card.in-cart {
  border-color: var(--brand-green);
}

.product-card[hidden] {
  display: none !important;
}

.product-image-wrap {
  width: 100%;
  height: 140px;
  background: #171c18;
  position: relative;
  overflow: hidden;
}

.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-photo {
  transform: scale(1.05);
}

.product-price-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(18, 22, 20, 0.88);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.product-cart-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--brand-green);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.product-content {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category-tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 4px;
}

.product-name {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--text-primary);
  line-height: 1.25;
}

.product-description {
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-secondary);
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed var(--border-line);
}

.product-price-text {
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-green);
}

.btn-add-item {
  background: var(--surface-subtle);
  border: 1px solid var(--border-line);
  color: var(--brand-green);
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.product-card:hover .btn-add-item {
  background: var(--brand-green);
  color: #fff;
  border-color: var(--brand-green);
}

/* Cart Panel */
.cart-panel {
  background: #fff;
  border-left: 1.5px solid var(--border-line);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  overflow-y: auto;
}

.cart-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cart-heading h2 {
  font-size: 20px;
  margin: 0;
  font-weight: 800;
}

.text-button {
  background: none;
  border: 0;
  color: #e74c3c;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.text-button:hover {
  text-decoration: underline;
}

/* Order Type Switcher */
.order-type-container {
  margin-bottom: 12px;
}

.order-type-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.order-type-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--surface-subtle);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-line);
}

.type-btn {
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.type-btn.active {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Table Selection */
.table-selection-panel {
  background: var(--surface-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-bottom: 12px;
}

.table-selection-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.table-pill {
  background: var(--brand-orange);
  color: #fff;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 10px;
}

.table-chips {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
}

.table-chip {
  background: #fff;
  border: 1px solid var(--border-line);
  border-radius: 5px;
  padding: 5px 2px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: center;
}

.table-chip:hover {
  border-color: var(--brand-orange);
}

.table-chip.selected {
  background: var(--brand-dark);
  color: #fff;
  border-color: var(--brand-dark);
}

.customer-info-row {
  margin-bottom: 12px;
}

.customer-input {
  width: 100%;
  height: 36px;
  background: #fff;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  padding: 0 10px;
  font-size: 11px;
  outline: 0;
}

.customer-input:focus {
  border-color: var(--brand-orange);
}

/* Cart Items */
.cart-items {
  flex: 1;
  min-height: 140px;
  max-height: 250px;
  overflow-y: auto;
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  margin-bottom: 14px;
}

.cart-empty {
  height: 100%;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
}

.cart-empty-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-subtle);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 8px;
}

.cart-empty strong {
  font-size: 12px;
  color: var(--text-secondary);
}

.cart-empty small {
  font-size: 10px;
  margin-top: 4px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed #eff1ec;
  gap: 8px;
}

.cart-item-detail {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cart-item-detail strong {
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-detail small {
  font-size: 10px;
  color: var(--text-muted);
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.quantity-controls button {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  border: 1px solid var(--border-line);
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}

.qty-number {
  font-size: 12px;
  font-weight: 800;
  min-width: 14px;
  text-align: center;
}

.cart-item-end {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-line-total {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-dark);
}

.btn-remove-item {
  background: none;
  border: 0;
  color: #e74c3c;
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
}

/* Totals Box */
.cart-totals-box {
  margin-bottom: 14px;
}

.totals-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.total-row {
  border-top: 1.5px dashed var(--border-line);
  padding-top: 10px;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-dark);
}

.total-highlight {
  font-size: 22px;
  color: var(--brand-green);
}

/* Payment Group */
.payment-method-group {
  margin-bottom: 12px;
}

.field-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.payment-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.pay-btn {
  background: var(--surface-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  padding: 8px 4px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}

.pay-btn.active {
  background: var(--brand-dark);
  color: #fff;
  border-color: var(--brand-dark);
}

/* Cash Fields */
.cash-fields-group {
  margin-bottom: 14px;
}

.quick-cash-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.quick-cash-btn {
  background: #edf1e9;
  border: 1px solid #dbe2d6;
  border-radius: 4px;
  padding: 5px 2px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  color: var(--brand-charcoal);
}

.quick-cash-btn:hover {
  background: var(--brand-orange);
  color: #fff;
  border-color: var(--brand-orange);
}

.money-input-box {
  display: flex;
  align-items: center;
  height: 40px;
  background: #fff;
  border: 1.5px solid var(--border-line);
  border-radius: var(--radius-sm);
  padding: 0 10px;
  gap: 6px;
}

.money-input-box:focus-within {
  border-color: var(--brand-green);
}

.currency-symbol {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-muted);
}

.money-input-box input {
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-dark);
}

.change-display-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
}

.change-amount {
  font-size: 16px;
  font-weight: 800;
}

.text-success { color: #27ae60 !important; }
.text-danger { color: #e74c3c !important; }

/* Checkout Button */
.checkout-button {
  width: 100%;
  height: 50px;
  background: var(--brand-green);
  color: #fff;
  border: 0;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  transition: all 0.15s ease;
  box-shadow: 0 4px 12px rgba(37, 107, 69, 0.3);
}

.checkout-button:hover:not(:disabled) {
  background: var(--brand-green-hover);
  transform: translateY(-1px);
}

.checkout-button:disabled {
  background: #bdc3c7;
  box-shadow: none;
  cursor: not-allowed;
}

.btn-price {
  background: rgba(0, 0, 0, 0.2);
  padding: 4px 10px;
  border-radius: 20px;
}

.secure-note {
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  margin: 10px 0 0;
  line-height: 1.4;
}

/* Alerts */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.error-alert { background: #fde8e8; color: #c0392b; border: 1px solid #fad2d2; }
.success-alert { background: #e8f8f0; color: #27ae60; border: 1px solid #c8eed7; }

/* KITCHEN ORDER DISPLAY (KDS) */
.kitchen-mode {
  background: #101412;
  color: #e5ece6;
}

.kitchen-mode .topbar {
  background: #0b0d0c;
  border-bottom: 2px solid #1c241f;
}

.kds-layout {
  max-width: 1720px;
  margin: 0 auto;
  padding: 28px 32px;
}

.kds-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px;
}

.kitchen-mode h1 {
  color: #ffffff;
}

.kitchen-mode .eyebrow {
  color: var(--brand-orange);
}

.kds-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kds-tool-btn {
  background: #202b23;
  color: #fff;
  border: 1px solid #314236;
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.kds-tool-btn:hover {
  background: #2d3d31;
}

.auto-refresh-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #8da392;
}

.kds-stat-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.kds-filter-pill {
  background: #1a221d;
  border: 1px solid #2b3830;
  color: #9cb0a2;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
}

.kds-filter-pill strong {
  color: #ffffff;
}

.kds-filter-pill.active {
  background: var(--brand-orange);
  color: #fff;
  border-color: var(--brand-orange);
}

.kds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.ticket-card {
  background: #171d19;
  border: 2px solid #29362d;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.ticket-card.status-pending {
  border-color: #f39c12;
}

.ticket-card.status-preparing {
  border-color: #3498db;
}

.ticket-card.status-ready {
  border-color: #2ecc71;
  background: #132219;
}

.ticket-urgent {
  animation: urgentGlow 2s infinite;
}

@keyframes urgentGlow {
  0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(231, 76, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

.ticket-header {
  padding: 16px;
  background: #1f2722;
  border-bottom: 1px solid #2d3931;
}

.ticket-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.ticket-num {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #fff;
}

.ticket-status-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}

.ticket-status-badge.pending { background: rgba(243, 156, 18, 0.2); color: #f39c12; border: 1px solid #f39c12; }
.ticket-status-badge.preparing { background: rgba(52, 152, 219, 0.2); color: #3498db; border: 1px solid #3498db; }
.ticket-status-badge.ready { background: rgba(46, 204, 113, 0.25); color: #2ecc71; border: 1px solid #2ecc71; }
.ticket-status-badge.completed { background: rgba(149, 165, 166, 0.2); color: #95a5a6; }

.ticket-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.ticket-type-badge {
  font-weight: 700;
  color: #f1c40f;
}

.ticket-time {
  color: #9cb0a2;
}

.ticket-customer-note {
  margin-top: 6px;
  font-size: 11px;
  color: #e67e22;
  font-style: italic;
}

.ticket-items {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ticket-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px dashed #243028;
  padding-bottom: 10px;
}

.ticket-qty-wrap {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--brand-orange);
  color: #fff;
  display: grid;
  place-items: center;
}

.ticket-qty {
  font-size: 16px;
  font-weight: 900;
}

.ticket-item-info {
  flex: 1;
}

.ticket-item-name {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.ticket-footer {
  padding: 14px 16px;
  background: #141a16;
  border-top: 1px solid #253128;
}

.ticket-cashier-info {
  margin-bottom: 10px;
  font-size: 11px;
  color: #8da392;
}

.ticket-action-form {
  display: flex;
  gap: 8px;
}

.ticket-btn {
  flex: 1;
  height: 44px;
  border: 0;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.btn-prep {
  background: #3498db;
  color: #fff;
}

.btn-prep:hover {
  background: #2980b9;
}

.btn-ready {
  background: #2ecc71;
  color: #fff;
}

.btn-ready:hover {
  background: #27ae60;
}

.btn-complete {
  background: #27ae60;
  color: #fff;
}

.btn-cancel {
  flex: 0 0 44px;
  background: #2b362f;
  color: #e74c3c;
  font-size: 16px;
}

.btn-cancel:hover {
  background: #e74c3c;
  color: #fff;
}

.ticket-done-tag {
  display: block;
  text-align: center;
  color: #2ecc71;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 0;
}

.kds-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: #8da392;
}

.kds-empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

/* HISTORY & ORDERS PAGE */
.history-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 36px 30px;
}

.orders-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.status-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tab-chip {
  background: #fff;
  border: 1px solid var(--border-line);
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
}

.tab-chip.selected {
  background: var(--brand-dark);
  color: #fff;
  border-color: var(--brand-dark);
}

.order-search-form {
  display: flex;
  gap: 6px;
}

.order-search-input {
  height: 38px;
  border: 1.5px solid var(--border-line);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  font-size: 12px;
  width: 260px;
}

.order-search-btn {
  background: var(--brand-dark);
  color: #fff;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.history-card {
  background: #fff;
  border: 1.5px solid var(--border-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table-scroll {
  overflow-x: auto;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.orders-table th {
  background: var(--surface-subtle);
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1.5px solid var(--border-line);
}

.orders-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #f0f3ed;
  color: var(--text-secondary);
  vertical-align: middle;
}

.order-code {
  font-size: 13px;
  color: var(--brand-dark);
}

.type-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-charcoal);
}

.item-summary-pill strong {
  color: var(--brand-dark);
}

.items-list-preview {
  font-size: 10px;
  color: var(--text-muted);
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cashier-badge-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-charcoal);
}

.status-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.status-tag.pending { background: #fef5e7; color: #d35400; }
.status-tag.preparing { background: #ebf5fb; color: #2980b9; }
.status-tag.ready { background: #eafaf1; color: #27ae60; }
.status-tag.completed { background: #eaeded; color: #2c3e50; }
.status-tag.cancelled { background: #fdedec; color: #c0392b; }

.status-action-row {
  margin-top: 6px;
}

.status-form {
  display: flex;
  gap: 4px;
}

.btn-step {
  background: #fff;
  border: 1px solid var(--border-line);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--brand-green);
  cursor: pointer;
}

.btn-step:hover {
  background: var(--brand-green);
  color: #fff;
}

.btn-complete-step {
  background: #27ae60;
  color: #fff;
  border: 0;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.payment-tag {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  background: #f4f6f3;
  color: var(--brand-charcoal);
}

.payment-cash { background: #eafaf1; color: #27ae60; }
.payment-gcash { background: #e8f4fd; color: #0984e3; }
.payment-card { background: #f4ecf7; color: #8e44ad; }

.total-cell strong {
  font-size: 14px;
  color: var(--brand-green);
}

.receipt-link {
  color: var(--brand-orange-hover);
  font-weight: 700;
}

.receipt-link:hover {
  text-decoration: underline;
}

.primary-link {
  background: var(--brand-green);
  color: #fff;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.primary-link:hover {
  background: var(--brand-green-hover);
}

/* THERMAL RECEIPT */
.receipt-page {
  background: #ecefe9;
  min-height: 100vh;
  padding: 40px 16px;
}

.receipt-wrap {
  max-width: 440px;
  margin: 0 auto;
}

.receipt-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.action-buttons-group {
  display: flex;
  gap: 8px;
}

.btn-receipt-action {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: 0;
}

.btn-receipt-action.primary {
  background: var(--brand-green);
  color: #fff;
}

.btn-receipt-action.secondary {
  background: #fff;
  color: var(--brand-charcoal);
  border: 1px solid var(--border-line);
}

.receipt {
  background: #ffffff;
  padding: 36px 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #dbe2d6;
  font-family: 'DM Sans', monospace, sans-serif;
}

.receipt-brand {
  text-align: center;
  border-bottom: 2px dashed #333;
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.receipt-logo-flame {
  font-size: 28px;
  margin-bottom: 4px;
}

.receipt-brand h1 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0;
  color: #111;
}

.receipt-subtitle {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: #666;
  margin: 4px 0 6px;
  font-weight: 700;
}

.receipt-tagline {
  font-size: 10px;
  font-style: italic;
  color: #444;
}

.receipt-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  font-size: 11px;
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-item.right {
  text-align: right;
}

.meta-item.full {
  grid-column: 1 / -1;
}

.meta-item span {
  font-size: 9px;
  text-transform: uppercase;
  color: #888;
}

.meta-item strong {
  color: #111;
  font-weight: 800;
}

.receipt-divider {
  border-top: 1px dashed #bbb;
  margin: 16px 0;
}

.receipt-divider.dashed {
  border-top: 2px dashed #222;
}

.receipt-table-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 60px 70px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #777;
  padding-bottom: 6px;
  border-bottom: 1px solid #eee;
}

.receipt-table-header .col-price,
.receipt-table-header .col-total {
  text-align: right;
}

.receipt-lines {
  margin-top: 8px;
}

.receipt-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 60px 70px;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 10px;
  align-items: baseline;
}

.receipt-item-desc {
  display: flex;
  gap: 6px;
}

.receipt-qty {
  font-weight: 800;
  color: #111;
}

.receipt-name {
  font-weight: 600;
  color: #222;
}

.receipt-item-price,
.receipt-item-line-total {
  text-align: right;
  font-weight: 700;
}

.receipt-totals-section,
.receipt-payment-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.receipt-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #444;
}

.receipt-summary-row.grand-total {
  font-size: 18px;
  font-weight: 900;
  color: #111;
  padding-top: 4px;
}

.receipt-summary-row.change-row {
  font-size: 14px;
  font-weight: 800;
  color: #27ae60;
}

.receipt-thanks {
  text-align: center;
  border-top: 1px dashed #bbb;
  padding-top: 18px;
  margin-top: 20px;
}

.barcode-mock {
  font-family: monospace;
  letter-spacing: 4px;
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.thanks-msg {
  font-size: 12px;
  font-weight: 800;
  margin: 0;
  color: #111;
}

.thanks-sub {
  font-size: 9px;
  color: #777;
  display: block;
  margin-top: 4px;
}

/* ADMIN MANAGEMENT & REPORTS */
.admin-page {
  max-width: 1560px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(320px, 1fr);
  gap: 24px;
}

.admin-section {
  padding: 24px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.admin-add-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 20px;
}

.admin-add-form label,
.staff-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
}

.admin-add-form input,
.admin-select,
.staff-form input {
  height: 38px;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  padding: 0 10px;
  font-size: 12px;
  background: #fff;
}

.admin-add-form .wide-field {
  grid-column: span 3;
}

.admin-submit-btn {
  grid-column: span 3;
  justify-self: start;
}

.admin-product-thumb {
  width: 48px;
  height: 38px;
  object-fit: cover;
  border-radius: 4px;
}

.staff-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 20px;
}

.staff-list {
  display: flex;
  flex-direction: column;
}

.staff-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eff2eb;
}

.staff-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.staff-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.role-tag.admin {
  background: #fde8e8;
  color: #c0392b;
}

.role-tag.staff {
  background: #eafaf1;
  color: #27ae60;
}

/* REPORTS & ANALYTICS */
.report-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.report-card {
  background: #fff;
  border: 1.5px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.report-card.highlight-card {
  border-color: var(--brand-green);
  background: linear-gradient(135deg, #ffffff 0%, #f4fbf6 100%);
}

.report-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.report-amount {
  font-size: 30px;
  font-weight: 900;
  color: var(--brand-green);
  margin: 10px 0 6px;
}

.report-sub {
  font-size: 11px;
  color: var(--text-secondary);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 26px;
}

.metric-box {
  background: #fff;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.metric-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
}

.metric-val {
  font-size: 20px;
  font-weight: 800;
  margin: 6px 0 2px;
  color: var(--brand-dark);
}

.text-green { color: var(--brand-green) !important; }

.reports-columns-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.rank-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 800;
  background: #edf1ea;
  color: var(--text-secondary);
}

.rank-badge.rank-1 { background: #fef5e7; color: #d35400; border: 1px solid #f39c12; }
.rank-badge.rank-2 { background: #ebf5fb; color: #2980b9; }
.rank-badge.rank-3 { background: #f4ecf7; color: #8e44ad; }

.qty-pill {
  background: var(--surface-subtle);
  border: 1px solid var(--border-line);
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
}

.report-note {
  background: #ebf5ea;
  border-left: 4px solid var(--brand-green);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--brand-charcoal);
}

.report-note p {
  margin: 4px 0 0;
  color: #4b584e;
}

/* AUTH & LOGIN PAGE */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background: radial-gradient(circle at center top, #1e2520 0%, #101412 100%);
  color: #fff;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: #171d19;
  border: 1px solid #28362d;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.brand-badge {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #e58e26 0%, #b83b10 100%);
  display: grid;
  place-items: center;
  font-size: 26px;
}

.brand-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0;
}

.brand-title .highlight {
  color: var(--brand-orange);
}

.brand-subtitle {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: #9cb0a2;
  margin: 4px 0 0;
  font-weight: 700;
}

.auth-intro {
  margin-bottom: 24px;
}

.auth-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--brand-orange);
}

.auth-intro h2 {
  font-size: 24px;
  margin: 4px 0 6px;
  font-weight: 800;
}

.auth-desc {
  font-size: 12px;
  color: #9cb0a2;
  margin: 0;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #c4d4c8;
  margin-bottom: 6px;
}

.input-with-icon {
  display: flex;
  align-items: center;
  height: 44px;
  background: #111513;
  border: 1px solid #28362d;
  border-radius: var(--radius-sm);
  padding: 0 12px;
  gap: 10px;
}

.input-with-icon:focus-within {
  border-color: var(--brand-orange);
}

.input-icon {
  font-size: 14px;
  opacity: 0.7;
}

.input-with-icon input {
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  width: 100%;
  font-size: 13px;
}

.auth-btn {
  height: 48px;
  background: linear-gradient(135deg, #e58e26 0%, #d35400 100%);
  color: #fff;
  border: 0;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  margin-top: 8px;
  box-shadow: 0 4px 14px rgba(229, 142, 38, 0.35);
  transition: all 0.15s ease;
}

.auth-btn:hover {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.auth-demo-box {
  margin-top: 24px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  font-size: 11px;
}

.demo-title {
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--brand-orange);
}

.demo-accounts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.demo-row {
  display: flex;
  justify-content: space-between;
  color: #a4b4a8;
}

.demo-row code {
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
  color: #fff;
}

.app-footer {
  text-align: center;
  padding: 24px;
  font-size: 11px;
  color: var(--text-muted);
}

/* Print Styles */
@media print {
  .no-print,
  .topbar,
  .app-footer,
  .receipt-actions {
    display: none !important;
  }

  body.receipt-page {
    background: #fff;
    padding: 0;
  }

  .receipt-wrap {
    max-width: 100%;
    margin: 0;
  }

  .receipt {
    box-shadow: none;
    border: 0;
    padding: 10px 0;
  }
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
  .pos-layout {
    grid-template-columns: minmax(0, 1fr) 380px;
  }
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .pos-layout {
    display: flex;
    flex-direction: column;
  }
  .cart-panel {
    position: static;
    height: auto;
    border-left: 0;
    border-top: 2px solid var(--border-line);
  }
  .admin-grid,
  .reports-columns-grid,
  .report-grid {
    grid-template-columns: 1fr;
  }
}


/* === JAPZGRILL PATCH START === */
/* ============================================================
   JAPZGRILL POS — ULTIMATE PROFESSIONAL UI & SVG ICON ENHANCEMENTS
   ============================================================ */

/* ── Universal SVG rule ───────────────────────────────────── */
svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ── Top Navigation Bar ───────────────────────────────────── */
.topbar {
  height: 70px;
  background: #121714 !important;
  border-bottom: 1.5px solid #222d25 !important;
  padding: 0 28px !important;
  gap: 28px !important;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-flame-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 38px !important;
  height: 38px !important;
  background: linear-gradient(135deg, #e58e26 0%, #b83b10 100%) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-size: 0 !important;
  box-shadow: 0 4px 14px rgba(229, 142, 38, 0.35) !important;
}

.brand-flame-icon svg {
  width: 22px !important;
  height: 22px !important;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px !important;
  height: 40px !important;
  padding: 0 14px !important;
  border-radius: 6px !important;
  color: #9cb0a2 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  border: 1px solid transparent !important;
}

.nav-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.nav-link.active {
  color: #ffffff !important;
  background: rgba(229, 142, 38, 0.18) !important;
  border-color: rgba(229, 142, 38, 0.45) !important;
  font-weight: 700 !important;
}

.nav-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 18px !important;
  height: 18px !important;
  font-size: 0 !important;
}

.nav-icon svg {
  width: 17px !important;
  height: 17px !important;
}

.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.cashier-pill {
  display: flex !important;
  align-items: center;
  gap: 9px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 30px !important;
  padding: 5px 14px !important;
}

.online-dot {
  background: none !important;
  box-shadow: none !important;
  width: 8px !important;
  height: 8px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.online-dot svg {
  width: 8px !important;
  height: 8px !important;
}

.cashier-info {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.2 !important;
}

.cashier-name {
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.cashier-role {
  font-size: 9px !important;
  color: #8da392 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.logout-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px !important;
  color: #9cb0a2 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
  transition: all 0.15s ease !important;
}

.logout-link:hover {
  color: #ff7675 !important;
  background: rgba(255, 118, 117, 0.1) !important;
}

.logout-link svg {
  width: 14px;
  height: 14px;
}

/* ── Menu Search Box ──────────────────────────────────────── */
.search-box {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: #ffffff !important;
  border: 1.5px solid var(--border-line) !important;
  border-radius: 8px !important;
  padding: 0 14px !important;
  height: 44px !important;
  transition: border-color 0.15s !important;
}

.search-box:focus-within {
  border-color: var(--brand-orange) !important;
  box-shadow: 0 0 0 3px rgba(229, 142, 38, 0.12) !important;
}

.search-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: var(--text-muted) !important;
}

.search-icon svg {
  width: 16px !important;
  height: 16px !important;
}

.clear-search-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: none !important;
  border: 0 !important;
  cursor: pointer !important;
  color: var(--text-muted) !important;
  padding: 0 !important;
}

.clear-search-btn svg {
  width: 14px !important;
  height: 14px !important;
}

/* ── Product Card Add Button ──────────────────────────────── */
.btn-add-item {
  display: inline-flex !important;
  align-items: center;
  gap: 6px !important;
  background: var(--brand-dark) !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 6px !important;
  padding: 7px 14px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.btn-add-item:hover {
  background: var(--brand-orange) !important;
  transform: translateY(-1px) !important;
}

.btn-add-item svg {
  width: 14px !important;
  height: 14px !important;
}

/* ── Order Type Switcher (Dine-in / Takeaway) ──────────────── */
.order-type-switch {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 6px !important;
  background: #ebefe9 !important;
  padding: 4px !important;
  border-radius: 8px !important;
}

.type-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 6px !important;
  padding: 9px 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--text-secondary) !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.type-btn.active {
  background: #ffffff !important;
  color: var(--brand-dark) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

.type-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.type-icon svg {
  width: 16px !important;
  height: 16px !important;
}

/* ── Payment Method Buttons ───────────────────────────────── */
.payment-buttons {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
  margin-bottom: 12px !important;
}

.pay-btn {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 7px !important;
  background: #f4f6f2 !important;
  border: 1.5px solid var(--border-line) !important;
  border-radius: 6px !important;
  padding: 10px 8px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  color: var(--text-secondary) !important;
}

.pay-btn:hover {
  border-color: var(--brand-orange) !important;
  color: var(--brand-orange) !important;
}

.pay-btn.active {
  background: var(--brand-dark) !important;
  color: #ffffff !important;
  border-color: var(--brand-dark) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}

.pay-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.pay-icon svg {
  width: 16px !important;
  height: 16px !important;
}

/* ── Cart Empty State ─────────────────────────────────────── */
.cart-empty {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 32px 16px !important;
  text-align: center !important;
  color: var(--text-muted) !important;
}

.cart-empty-circle {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  background: #f0f4f1 !important;
  color: var(--brand-orange) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 10px !important;
  font-size: 0 !important;
}

.cart-empty-circle svg {
  width: 28px !important;
  height: 28px !important;
  stroke: var(--brand-orange) !important;
}

.cart-empty strong {
  font-size: 13px !important;
  color: var(--text-primary) !important;
  margin-bottom: 4px !important;
}

.cart-empty small {
  font-size: 11px !important;
  color: var(--text-muted) !important;
}

/* ── Cart Item Steppers & Remove Button ───────────────────── */
.quantity-controls {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.qty-btn {
  width: 26px !important;
  height: 26px !important;
  border-radius: 4px !important;
  border: 1px solid var(--border-line) !important;
  background: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: var(--brand-dark) !important;
  transition: all 0.12s ease !important;
  padding: 0 !important;
}

.qty-btn:hover {
  background: var(--brand-orange) !important;
  color: #ffffff !important;
  border-color: var(--brand-orange) !important;
}

.qty-btn svg {
  width: 12px !important;
  height: 12px !important;
}

.qty-number {
  font-size: 13px !important;
  font-weight: 800 !important;
  min-width: 22px !important;
  text-align: center !important;
}

.btn-remove-item {
  width: 26px !important;
  height: 26px !important;
  border-radius: 4px !important;
  border: 0 !important;
  background: transparent !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #e74c3c !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
  padding: 0 !important;
  font-size: 0 !important;
}

.btn-remove-item:hover {
  background: #fde8e8 !important;
  color: #c0392b !important;
}

.btn-remove-item svg {
  width: 15px !important;
  height: 15px !important;
}

/* ── KDS Kitchen Tickets ──────────────────────────────────── */
.kds-tool-btn,
.ticket-btn,
.ticket-done-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.ticket-type-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.ticket-time {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

/* ── Orders Page Toolbar & Table ──────────────────────────── */
.orders-toolbar {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  padding: 0 0 16px !important;
}

.search-box-inline {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: 38px !important;
  border: 1.5px solid var(--border-line) !important;
  border-radius: 6px !important;
  padding: 0 12px !important;
  background: #ffffff !important;
}

.search-box-inline:focus-within {
  border-color: var(--brand-orange) !important;
}

.search-box-inline svg {
  width: 15px !important;
  height: 15px !important;
  color: var(--text-muted) !important;
}

.order-search-input {
  border: 0 !important;
  outline: 0 !important;
  font-size: 12px !important;
  width: 220px !important;
  background: transparent !important;
}

.type-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.btn-step,
.btn-complete-step,
.receipt-link,
.primary-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.btn-step-cancel {
  background: #fff !important;
  border: 1px solid #fad2d2 !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  font-size: 10px !important;
  color: #c0392b !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  font-weight: 700 !important;
}

.btn-step-cancel:hover {
  background: #c0392b !important;
  color: #ffffff !important;
}

/* ── Admin & Reports Section Icons ────────────────────────── */
.section-title-inner {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.section-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  background: rgba(229, 142, 38, 0.1) !important;
  border-radius: 6px !important;
  color: var(--brand-orange) !important;
  flex-shrink: 0 !important;
}

.section-icon svg {
  width: 20px !important;
  height: 20px !important;
}

.metric-box-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  background: rgba(229, 142, 38, 0.1) !important;
  border-radius: 6px !important;
  color: var(--brand-orange) !important;
  margin-bottom: 8px !important;
}

.metric-box-icon svg {
  width: 16px !important;
  height: 16px !important;
}

.report-card-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  background: rgba(37, 107, 69, 0.1) !important;
  border-radius: 6px !important;
  color: var(--brand-green) !important;
  margin-bottom: 10px !important;
}

.report-card-icon svg {
  width: 16px !important;
  height: 16px !important;
}

.rank-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.rank-badge svg {
  width: 16px !important;
  height: 16px !important;
}

.thumb-cell {
  width: 56px !important;
  padding-right: 4px !important;
}

.admin-product-thumb {
  width: 52px !important;
  height: 40px !important;
  object-fit: cover !important;
  border-radius: 5px !important;
  display: block !important;
}

/* ── Auth / Login Page ────────────────────────────────────── */
.brand-badge {
  font-size: 0 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.brand-badge svg {
  width: 26px !important;
  height: 26px !important;
}

.input-with-icon {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.input-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #6a7d70 !important;
  font-size: 0 !important;
}

.input-icon svg {
  width: 16px !important;
  height: 16px !important;
}

.auth-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  font-size: 14px !important;
  letter-spacing: 0.02em !important;
  transition: all 0.15s ease !important;
}

.auth-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(229, 142, 38, 0.45) !important;
}

.auth-btn:active {
  transform: translateY(0) !important;
}

.auth-btn-arrow {
  display: inline-flex !important;
  align-items: center !important;
}

.auth-btn-arrow svg {
  width: 16px !important;
  height: 16px !important;
}

.back-to-login {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: var(--brand-orange) !important;
  font-weight: 700 !important;
}


/* --- BISTRO AUTH STYLES --- */
/* ============================================================
   JAPZGRILL POS â€” ULTIMATE PROFESSIONAL UI & SVG ICON ENHANCEMENTS
   ============================================================ */

/* â”€â”€ Universal SVG rule â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* â”€â”€ Top Navigation Bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.topbar {
  height: 70px;
  background: #121714 !important;
  border-bottom: 1.5px solid #222d25 !important;
  padding: 0 28px !important;
  gap: 28px !important;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-flame-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 38px !important;
  height: 38px !important;
  background: linear-gradient(135deg, #e58e26 0%, #b83b10 100%) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-size: 0 !important;
  box-shadow: 0 4px 14px rgba(229, 142, 38, 0.35) !important;
}

.brand-flame-icon svg {
  width: 22px !important;
  height: 22px !important;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px !important;
  height: 40px !important;
  padding: 0 14px !important;
  border-radius: 6px !important;
  color: #9cb0a2 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  border: 1px solid transparent !important;
}

.nav-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.nav-link.active {
  color: #ffffff !important;
  background: rgba(229, 142, 38, 0.18) !important;
  border-color: rgba(229, 142, 38, 0.45) !important;
  font-weight: 700 !important;
}

.nav-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 18px !important;
  height: 18px !important;
  font-size: 0 !important;
}

.nav-icon svg {
  width: 17px !important;
  height: 17px !important;
}

.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.cashier-pill {
  display: flex !important;
  align-items: center;
  gap: 9px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 30px !important;
  padding: 5px 14px !important;
}

.online-dot {
  background: none !important;
  box-shadow: none !important;
  width: 8px !important;
  height: 8px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.online-dot svg {
  width: 8px !important;
  height: 8px !important;
}

.cashier-info {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.2 !important;
}

.cashier-name {
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.cashier-role {
  font-size: 9px !important;
  color: #8da392 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.logout-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px !important;
  color: #9cb0a2 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
  transition: all 0.15s ease !important;
}

.logout-link:hover {
  color: #ff7675 !important;
  background: rgba(255, 118, 117, 0.1) !important;
}

.logout-link svg {
  width: 14px;
  height: 14px;
}

/* â”€â”€ Menu Search Box â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.search-box {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: #ffffff !important;
  border: 1.5px solid var(--border-line) !important;
  border-radius: 8px !important;
  padding: 0 14px !important;
  height: 44px !important;
  transition: border-color 0.15s !important;
}

.search-box:focus-within {
  border-color: var(--brand-orange) !important;
  box-shadow: 0 0 0 3px rgba(229, 142, 38, 0.12) !important;
}

.search-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: var(--text-muted) !important;
}

.search-icon svg {
  width: 16px !important;
  height: 16px !important;
}

.clear-search-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: none !important;
  border: 0 !important;
  cursor: pointer !important;
  color: var(--text-muted) !important;
  padding: 0 !important;
}

.clear-search-btn svg {
  width: 14px !important;
  height: 14px !important;
}

/* â”€â”€ Product Card Add Button â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn-add-item {
  display: inline-flex !important;
  align-items: center;
  gap: 6px !important;
  background: var(--brand-dark) !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 6px !important;
  padding: 7px 14px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.btn-add-item:hover {
  background: var(--brand-orange) !important;
  transform: translateY(-1px) !important;
}

.btn-add-item svg {
  width: 14px !important;
  height: 14px !important;
}

/* â”€â”€ Order Type Switcher (Dine-in / Takeaway) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.order-type-switch {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 6px !important;
  background: #ebefe9 !important;
  padding: 4px !important;
  border-radius: 8px !important;
}

.type-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 6px !important;
  padding: 9px 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--text-secondary) !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.type-btn.active {
  background: #ffffff !important;
  color: var(--brand-dark) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

.type-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.type-icon svg {
  width: 16px !important;
  height: 16px !important;
}

/* â”€â”€ Payment Method Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.payment-buttons {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
  margin-bottom: 12px !important;
}

.pay-btn {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 7px !important;
  background: #f4f6f2 !important;
  border: 1.5px solid var(--border-line) !important;
  border-radius: 6px !important;
  padding: 10px 8px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  color: var(--text-secondary) !important;
}

.pay-btn:hover {
  border-color: var(--brand-orange) !important;
  color: var(--brand-orange) !important;
}

.pay-btn.active {
  background: var(--brand-dark) !important;
  color: #ffffff !important;
  border-color: var(--brand-dark) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}

.pay-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.pay-icon svg {
  width: 16px !important;
  height: 16px !important;
}

/* â”€â”€ Cart Empty State â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cart-empty {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 32px 16px !important;
  text-align: center !important;
  color: var(--text-muted) !important;
}

.cart-empty-circle {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  background: #f0f4f1 !important;
  color: var(--brand-orange) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 10px !important;
  font-size: 0 !important;
}

.cart-empty-circle svg {
  width: 28px !important;
  height: 28px !important;
  stroke: var(--brand-orange) !important;
}

.cart-empty strong {
  font-size: 13px !important;
  color: var(--text-primary) !important;
  margin-bottom: 4px !important;
}

.cart-empty small {
  font-size: 11px !important;
  color: var(--text-muted) !important;
}

/* â”€â”€ Cart Item Steppers & Remove Button â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.quantity-controls {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.qty-btn {
  width: 26px !important;
  height: 26px !important;
  border-radius: 4px !important;
  border: 1px solid var(--border-line) !important;
  background: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: var(--brand-dark) !important;
  transition: all 0.12s ease !important;
  padding: 0 !important;
}

.qty-btn:hover {
  background: var(--brand-orange) !important;
  color: #ffffff !important;
  border-color: var(--brand-orange) !important;
}

.qty-btn svg {
  width: 12px !important;
  height: 12px !important;
}

.qty-number {
  font-size: 13px !important;
  font-weight: 800 !important;
  min-width: 22px !important;
  text-align: center !important;
}

.btn-remove-item {
  width: 26px !important;
  height: 26px !important;
  border-radius: 4px !important;
  border: 0 !important;
  background: transparent !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #e74c3c !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
  padding: 0 !important;
  font-size: 0 !important;
}

.btn-remove-item:hover {
  background: #fde8e8 !important;
  color: #c0392b !important;
}

.btn-remove-item svg {
  width: 15px !important;
  height: 15px !important;
}

/* â”€â”€ KDS Kitchen Tickets â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.kds-tool-btn,
.ticket-btn,
.ticket-done-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.ticket-type-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.ticket-time {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

/* â”€â”€ Orders Page Toolbar & Table â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.orders-toolbar {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  padding: 0 0 16px !important;
}

.search-box-inline {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: 38px !important;
  border: 1.5px solid var(--border-line) !important;
  border-radius: 6px !important;
  padding: 0 12px !important;
  background: #ffffff !important;
}

.search-box-inline:focus-within {
  border-color: var(--brand-orange) !important;
}

.search-box-inline svg {
  width: 15px !important;
  height: 15px !important;
  color: var(--text-muted) !important;
}

.order-search-input {
  border: 0 !important;
  outline: 0 !important;
  font-size: 12px !important;
  width: 220px !important;
  background: transparent !important;
}

.type-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.btn-step,
.btn-complete-step,
.receipt-link,
.primary-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.btn-step-cancel {
  background: #fff !important;
  border: 1px solid #fad2d2 !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  font-size: 10px !important;
  color: #c0392b !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  font-weight: 700 !important;
}

.btn-step-cancel:hover {
  background: #c0392b !important;
  color: #ffffff !important;
}

/* â”€â”€ Admin & Reports Section Icons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.section-title-inner {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.section-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  background: rgba(229, 142, 38, 0.1) !important;
  border-radius: 6px !important;
  color: var(--brand-orange) !important;
  flex-shrink: 0 !important;
}

.section-icon svg {
  width: 20px !important;
  height: 20px !important;
}

.metric-box-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  background: rgba(229, 142, 38, 0.1) !important;
  border-radius: 6px !important;
  color: var(--brand-orange) !important;
  margin-bottom: 8px !important;
}

.metric-box-icon svg {
  width: 16px !important;
  height: 16px !important;
}

.report-card-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  background: rgba(37, 107, 69, 0.1) !important;
  border-radius: 6px !important;
  color: var(--brand-green) !important;
  margin-bottom: 10px !important;
}

.report-card-icon svg {
  width: 16px !important;
  height: 16px !important;
}

.rank-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.rank-badge svg {
  width: 16px !important;
  height: 16px !important;
}

.thumb-cell {
  width: 56px !important;
  padding-right: 4px !important;
}

.admin-product-thumb {
  width: 52px !important;
  height: 40px !important;
  object-fit: cover !important;
  border-radius: 5px !important;
  display: block !important;
}

/* â”€â”€ Auth / Login Page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.brand-badge {
  font-size: 0 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.brand-badge svg {
  width: 26px !important;
  height: 26px !important;
}

.input-with-icon {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.input-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #6a7d70 !important;
  font-size: 0 !important;
}

.input-icon svg {
  width: 16px !important;
  height: 16px !important;
}

.auth-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  font-size: 14px !important;
  letter-spacing: 0.02em !important;
  transition: all 0.15s ease !important;
}

.auth-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(229, 142, 38, 0.45) !important;
}

.auth-btn:active {
  transform: translateY(0) !important;
}

.auth-btn-arrow {
  display: inline-flex !important;
  align-items: center !important;
}

.auth-btn-arrow svg {
  width: 16px !important;
  height: 16px !important;
}

.back-to-login {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: var(--brand-orange) !important;
  font-weight: 700 !important;
}

/* â”€â”€ JAPZ GRILL Professional Bistro Authentication Background & Logo â”€â”€ */
.auth-page {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 32px 16px !important;
  position: relative !important;
  background: #0f1411 url('/images/bistro-bg.jpg') center center / cover no-repeat fixed !important;
  color: #ffffff !important;
  overflow-x: hidden !important;
}

.auth-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: radial-gradient(circle at center 35%, rgba(15, 20, 17, 0.72) 0%, rgba(9, 12, 10, 0.94) 100%) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.auth-card {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 440px !important;
  background: rgba(18, 24, 20, 0.88) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1.5px solid rgba(229, 142, 38, 0.3) !important;
  border-radius: var(--radius-lg) !important;
  padding: 38px 34px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
}

.auth-brand-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 22px !important;
  text-align: center !important;
}

.auth-brand-logo {
  width: 180px !important;
  max-width: 82% !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.55)) !important;
  transition: transform 0.25s ease !important;
}

.auth-brand-logo:hover {
  transform: scale(1.03) !important;
}

.auth-intro {
  text-align: center !important;
  margin-bottom: 22px !important;
}

.auth-tag {
  display: inline-block !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  color: var(--brand-orange) !important;
  text-transform: uppercase !important;
  background: rgba(229, 142, 38, 0.12) !important;
  border: 1px solid rgba(229, 142, 38, 0.3) !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
  margin-bottom: 8px !important;
}

.auth-intro h2 {
  font-size: 22px !important;
  font-weight: 800 !important;
  margin: 6px 0 !important;
  color: #ffffff !important;
}

.auth-desc {
  font-size: 12px !important;
  color: #9cb0a2 !important;
  margin: 0 !important;
}

.auth-page .app-footer {
  position: relative !important;
  z-index: 2 !important;
  margin-top: 24px !important;
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 11px !important;
  text-align: center !important;
}


/* --- ADMIN KPI & TABS --- */
/* ============================================================
   JAPZGRILL POS â€” ULTIMATE PROFESSIONAL UI & SVG ICON ENHANCEMENTS
   ============================================================ */

/* â”€â”€ Universal SVG rule â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* â”€â”€ Top Navigation Bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.topbar {
  height: 70px;
  background: #121714 !important;
  border-bottom: 1.5px solid #222d25 !important;
  padding: 0 28px !important;
  gap: 28px !important;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-flame-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 38px !important;
  height: 38px !important;
  background: linear-gradient(135deg, #e58e26 0%, #b83b10 100%) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-size: 0 !important;
  box-shadow: 0 4px 14px rgba(229, 142, 38, 0.35) !important;
}

.brand-flame-icon svg {
  width: 22px !important;
  height: 22px !important;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px !important;
  height: 40px !important;
  padding: 0 14px !important;
  border-radius: 6px !important;
  color: #9cb0a2 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  border: 1px solid transparent !important;
}

.nav-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.nav-link.active {
  color: #ffffff !important;
  background: rgba(229, 142, 38, 0.18) !important;
  border-color: rgba(229, 142, 38, 0.45) !important;
  font-weight: 700 !important;
}

.nav-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 18px !important;
  height: 18px !important;
  font-size: 0 !important;
}

.nav-icon svg {
  width: 17px !important;
  height: 17px !important;
}

.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.cashier-pill {
  display: flex !important;
  align-items: center;
  gap: 9px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 30px !important;
  padding: 5px 14px !important;
}

.online-dot {
  background: none !important;
  box-shadow: none !important;
  width: 8px !important;
  height: 8px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.online-dot svg {
  width: 8px !important;
  height: 8px !important;
}

.cashier-info {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.2 !important;
}

.cashier-name {
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.cashier-role {
  font-size: 9px !important;
  color: #8da392 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.logout-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px !important;
  color: #9cb0a2 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
  transition: all 0.15s ease !important;
}

.logout-link:hover {
  color: #ff7675 !important;
  background: rgba(255, 118, 117, 0.1) !important;
}

.logout-link svg {
  width: 14px;
  height: 14px;
}

/* â”€â”€ Menu Search Box â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.search-box {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: #ffffff !important;
  border: 1.5px solid var(--border-line) !important;
  border-radius: 8px !important;
  padding: 0 14px !important;
  height: 44px !important;
  transition: border-color 0.15s !important;
}

.search-box:focus-within {
  border-color: var(--brand-orange) !important;
  box-shadow: 0 0 0 3px rgba(229, 142, 38, 0.12) !important;
}

.search-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: var(--text-muted) !important;
}

.search-icon svg {
  width: 16px !important;
  height: 16px !important;
}

.clear-search-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: none !important;
  border: 0 !important;
  cursor: pointer !important;
  color: var(--text-muted) !important;
  padding: 0 !important;
}

.clear-search-btn svg {
  width: 14px !important;
  height: 14px !important;
}

/* â”€â”€ Product Card Add Button â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn-add-item {
  display: inline-flex !important;
  align-items: center;
  gap: 6px !important;
  background: var(--brand-dark) !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 6px !important;
  padding: 7px 14px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.btn-add-item:hover {
  background: var(--brand-orange) !important;
  transform: translateY(-1px) !important;
}

.btn-add-item svg {
  width: 14px !important;
  height: 14px !important;
}

/* â”€â”€ Order Type Switcher (Dine-in / Takeaway) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.order-type-switch {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 6px !important;
  background: #ebefe9 !important;
  padding: 4px !important;
  border-radius: 8px !important;
}

.type-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 6px !important;
  padding: 9px 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--text-secondary) !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.type-btn.active {
  background: #ffffff !important;
  color: var(--brand-dark) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

.type-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.type-icon svg {
  width: 16px !important;
  height: 16px !important;
}

/* â”€â”€ Payment Method Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.payment-buttons {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
  margin-bottom: 12px !important;
}

.pay-btn {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 7px !important;
  background: #f4f6f2 !important;
  border: 1.5px solid var(--border-line) !important;
  border-radius: 6px !important;
  padding: 10px 8px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  color: var(--text-secondary) !important;
}

.pay-btn:hover {
  border-color: var(--brand-orange) !important;
  color: var(--brand-orange) !important;
}

.pay-btn.active {
  background: var(--brand-dark) !important;
  color: #ffffff !important;
  border-color: var(--brand-dark) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}

.pay-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.pay-icon svg {
  width: 16px !important;
  height: 16px !important;
}

/* â”€â”€ Cart Empty State â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cart-empty {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 32px 16px !important;
  text-align: center !important;
  color: var(--text-muted) !important;
}

.cart-empty-circle {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  background: #f0f4f1 !important;
  color: var(--brand-orange) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 10px !important;
  font-size: 0 !important;
}

.cart-empty-circle svg {
  width: 28px !important;
  height: 28px !important;
  stroke: var(--brand-orange) !important;
}

.cart-empty strong {
  font-size: 13px !important;
  color: var(--text-primary) !important;
  margin-bottom: 4px !important;
}

.cart-empty small {
  font-size: 11px !important;
  color: var(--text-muted) !important;
}

/* â”€â”€ Cart Item Steppers & Remove Button â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.quantity-controls {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.qty-btn {
  width: 26px !important;
  height: 26px !important;
  border-radius: 4px !important;
  border: 1px solid var(--border-line) !important;
  background: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: var(--brand-dark) !important;
  transition: all 0.12s ease !important;
  padding: 0 !important;
}

.qty-btn:hover {
  background: var(--brand-orange) !important;
  color: #ffffff !important;
  border-color: var(--brand-orange) !important;
}

.qty-btn svg {
  width: 12px !important;
  height: 12px !important;
}

.qty-number {
  font-size: 13px !important;
  font-weight: 800 !important;
  min-width: 22px !important;
  text-align: center !important;
}

.btn-remove-item {
  width: 26px !important;
  height: 26px !important;
  border-radius: 4px !important;
  border: 0 !important;
  background: transparent !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #e74c3c !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
  padding: 0 !important;
  font-size: 0 !important;
}

.btn-remove-item:hover {
  background: #fde8e8 !important;
  color: #c0392b !important;
}

.btn-remove-item svg {
  width: 15px !important;
  height: 15px !important;
}

/* â”€â”€ KDS Kitchen Tickets â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.kds-tool-btn,
.ticket-btn,
.ticket-done-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.ticket-type-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.ticket-time {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

/* â”€â”€ Orders Page Toolbar & Table â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.orders-toolbar {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  padding: 0 0 16px !important;
}

.search-box-inline {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: 38px !important;
  border: 1.5px solid var(--border-line) !important;
  border-radius: 6px !important;
  padding: 0 12px !important;
  background: #ffffff !important;
}

.search-box-inline:focus-within {
  border-color: var(--brand-orange) !important;
}

.search-box-inline svg {
  width: 15px !important;
  height: 15px !important;
  color: var(--text-muted) !important;
}

.order-search-input {
  border: 0 !important;
  outline: 0 !important;
  font-size: 12px !important;
  width: 220px !important;
  background: transparent !important;
}

.type-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.btn-step,
.btn-complete-step,
.receipt-link,
.primary-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.btn-step-cancel {
  background: #fff !important;
  border: 1px solid #fad2d2 !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  font-size: 10px !important;
  color: #c0392b !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  font-weight: 700 !important;
}

.btn-step-cancel:hover {
  background: #c0392b !important;
  color: #ffffff !important;
}

/* â”€â”€ Admin & Reports Section Icons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.section-title-inner {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.section-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  background: rgba(229, 142, 38, 0.1) !important;
  border-radius: 6px !important;
  color: var(--brand-orange) !important;
  flex-shrink: 0 !important;
}

.section-icon svg {
  width: 20px !important;
  height: 20px !important;
}

.metric-box-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  background: rgba(229, 142, 38, 0.1) !important;
  border-radius: 6px !important;
  color: var(--brand-orange) !important;
  margin-bottom: 8px !important;
}

.metric-box-icon svg {
  width: 16px !important;
  height: 16px !important;
}

.report-card-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  background: rgba(37, 107, 69, 0.1) !important;
  border-radius: 6px !important;
  color: var(--brand-green) !important;
  margin-bottom: 10px !important;
}

.report-card-icon svg {
  width: 16px !important;
  height: 16px !important;
}

.rank-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.rank-badge svg {
  width: 16px !important;
  height: 16px !important;
}

.thumb-cell {
  width: 56px !important;
  padding-right: 4px !important;
}

.admin-product-thumb {
  width: 52px !important;
  height: 40px !important;
  object-fit: cover !important;
  border-radius: 5px !important;
  display: block !important;
}

/* â”€â”€ Auth / Login Page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.brand-badge {
  font-size: 0 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.brand-badge svg {
  width: 26px !important;
  height: 26px !important;
}

.input-with-icon {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.input-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #6a7d70 !important;
  font-size: 0 !important;
}

.input-icon svg {
  width: 16px !important;
  height: 16px !important;
}

.auth-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  font-size: 14px !important;
  letter-spacing: 0.02em !important;
  transition: all 0.15s ease !important;
}

.auth-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(229, 142, 38, 0.45) !important;
}

.auth-btn:active {
  transform: translateY(0) !important;
}

.auth-btn-arrow {
  display: inline-flex !important;
  align-items: center !important;
}

.auth-btn-arrow svg {
  width: 16px !important;
  height: 16px !important;
}

.back-to-login {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: var(--brand-orange) !important;
  font-weight: 700 !important;
}

/* â”€â”€ JAPZ GRILL Professional Bistro Authentication Background & Logo â”€â”€ */
.auth-page {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 32px 16px !important;
  position: relative !important;
  background: #0f1411 url('/images/bistro-bg.jpg') center center / cover no-repeat fixed !important;
  color: #ffffff !important;
  overflow-x: hidden !important;
}

.auth-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: radial-gradient(circle at center 35%, rgba(15, 20, 17, 0.72) 0%, rgba(9, 12, 10, 0.94) 100%) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.auth-card {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 440px !important;
  background: rgba(18, 24, 20, 0.88) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1.5px solid rgba(229, 142, 38, 0.3) !important;
  border-radius: var(--radius-lg) !important;
  padding: 38px 34px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
}

.auth-brand-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 22px !important;
  text-align: center !important;
}

.auth-brand-logo {
  width: 180px !important;
  max-width: 82% !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.55)) !important;
  transition: transform 0.25s ease !important;
}

.auth-brand-logo:hover {
  transform: scale(1.03) !important;
}

.auth-intro {
  text-align: center !important;
  margin-bottom: 22px !important;
}

.auth-tag {
  display: inline-block !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  color: var(--brand-orange) !important;
  text-transform: uppercase !important;
  background: rgba(229, 142, 38, 0.12) !important;
  border: 1px solid rgba(229, 142, 38, 0.3) !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
  margin-bottom: 8px !important;
}

.auth-intro h2 {
  font-size: 22px !important;
  font-weight: 800 !important;
  margin: 6px 0 !important;
  color: #ffffff !important;
}

.auth-desc {
  font-size: 12px !important;
  color: #9cb0a2 !important;
  margin: 0 !important;
}

.auth-page .app-footer {
  position: relative !important;
  z-index: 2 !important;
  margin-top: 24px !important;
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 11px !important;
  text-align: center !important;
}

/* â”€â”€ Admin Dashboard & Role Badge Styling â”€â”€ */
.badge-role-admin {
  background: #e58e26;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.admin-kpi-card {
  background: var(--surface);
  border: 1.5px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.admin-kpi-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-orange);
}

.kpi-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37, 107, 69, 0.12);
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kpi-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.kpi-icon-wrap.kpi-kitchen {
  background: rgba(229, 142, 38, 0.12);
  color: var(--brand-orange);
}

.kpi-icon-wrap.kpi-menu {
  background: rgba(41, 128, 185, 0.12);
  color: #2980b9;
}

.kpi-icon-wrap.kpi-staff {
  background: rgba(142, 68, 173, 0.12);
  color: #8e44ad;
}

.kpi-content {
  display: flex;
  flex-direction: column;
}

.kpi-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kpi-val {
  font-size: 24px;
  font-weight: 900;
  color: var(--brand-dark);
  margin: 2px 0;
}

.kpi-sub {
  font-size: 11px;
  color: var(--text-secondary);
}

.kpi-link {
  color: var(--brand-orange);
  font-weight: 700;
}

.admin-quick-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.admin-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1.5px solid var(--border-line);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.15s ease;
}

.admin-tab-btn:hover,
.admin-tab-btn.active {
  background: var(--brand-dark);
  color: #fff;
  border-color: var(--brand-dark);
}

.admin-tab-btn svg {
  width: 15px;
  height: 15px;
}

.header-action-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1.5px solid var(--border-line);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}

.secondary-link:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

.admin-settings-card {
  margin-top: 24px;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 8px 0;
}

.settings-group {
  background: var(--surface-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.settings-group h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-dark);
  border-bottom: 1.5px solid var(--border-line);
  padding-bottom: 8px;
}

.setting-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.setting-key {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.setting-val {
  font-size: 12px;
  color: var(--text-primary);
  font-weight: 600;
}


/* --- ADMIN MODULES GRID & PAGES --- */
/* ============================================================
   JAPZGRILL POS â€” ULTIMATE PROFESSIONAL UI & SVG ICON ENHANCEMENTS
   ============================================================ */

/* â”€â”€ Universal SVG rule â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* â”€â”€ Top Navigation Bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.topbar {
  height: 70px;
  background: #121714 !important;
  border-bottom: 1.5px solid #222d25 !important;
  padding: 0 28px !important;
  gap: 28px !important;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-flame-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 38px !important;
  height: 38px !important;
  background: linear-gradient(135deg, #e58e26 0%, #b83b10 100%) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-size: 0 !important;
  box-shadow: 0 4px 14px rgba(229, 142, 38, 0.35) !important;
}

.brand-flame-icon svg {
  width: 22px !important;
  height: 22px !important;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px !important;
  height: 40px !important;
  padding: 0 14px !important;
  border-radius: 6px !important;
  color: #9cb0a2 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  border: 1px solid transparent !important;
}

.nav-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.nav-link.active {
  color: #ffffff !important;
  background: rgba(229, 142, 38, 0.18) !important;
  border-color: rgba(229, 142, 38, 0.45) !important;
  font-weight: 700 !important;
}

.nav-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 18px !important;
  height: 18px !important;
  font-size: 0 !important;
}

.nav-icon svg {
  width: 17px !important;
  height: 17px !important;
}

.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.cashier-pill {
  display: flex !important;
  align-items: center;
  gap: 9px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 30px !important;
  padding: 5px 14px !important;
}

.online-dot {
  background: none !important;
  box-shadow: none !important;
  width: 8px !important;
  height: 8px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.online-dot svg {
  width: 8px !important;
  height: 8px !important;
}

.cashier-info {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.2 !important;
}

.cashier-name {
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.cashier-role {
  font-size: 9px !important;
  color: #8da392 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.logout-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px !important;
  color: #9cb0a2 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
  transition: all 0.15s ease !important;
}

.logout-link:hover {
  color: #ff7675 !important;
  background: rgba(255, 118, 117, 0.1) !important;
}

.logout-link svg {
  width: 14px;
  height: 14px;
}

/* â”€â”€ Menu Search Box â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.search-box {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: #ffffff !important;
  border: 1.5px solid var(--border-line) !important;
  border-radius: 8px !important;
  padding: 0 14px !important;
  height: 44px !important;
  transition: border-color 0.15s !important;
}

.search-box:focus-within {
  border-color: var(--brand-orange) !important;
  box-shadow: 0 0 0 3px rgba(229, 142, 38, 0.12) !important;
}

.search-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: var(--text-muted) !important;
}

.search-icon svg {
  width: 16px !important;
  height: 16px !important;
}

.clear-search-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: none !important;
  border: 0 !important;
  cursor: pointer !important;
  color: var(--text-muted) !important;
  padding: 0 !important;
}

.clear-search-btn svg {
  width: 14px !important;
  height: 14px !important;
}

/* â”€â”€ Product Card Add Button â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn-add-item {
  display: inline-flex !important;
  align-items: center;
  gap: 6px !important;
  background: var(--brand-dark) !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 6px !important;
  padding: 7px 14px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.btn-add-item:hover {
  background: var(--brand-orange) !important;
  transform: translateY(-1px) !important;
}

.btn-add-item svg {
  width: 14px !important;
  height: 14px !important;
}

/* â”€â”€ Order Type Switcher (Dine-in / Takeaway) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.order-type-switch {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 6px !important;
  background: #ebefe9 !important;
  padding: 4px !important;
  border-radius: 8px !important;
}

.type-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 6px !important;
  padding: 9px 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--text-secondary) !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.type-btn.active {
  background: #ffffff !important;
  color: var(--brand-dark) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

.type-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.type-icon svg {
  width: 16px !important;
  height: 16px !important;
}

/* â”€â”€ Payment Method Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.payment-buttons {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
  margin-bottom: 12px !important;
}

.pay-btn {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 7px !important;
  background: #f4f6f2 !important;
  border: 1.5px solid var(--border-line) !important;
  border-radius: 6px !important;
  padding: 10px 8px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  color: var(--text-secondary) !important;
}

.pay-btn:hover {
  border-color: var(--brand-orange) !important;
  color: var(--brand-orange) !important;
}

.pay-btn.active {
  background: var(--brand-dark) !important;
  color: #ffffff !important;
  border-color: var(--brand-dark) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}

.pay-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.pay-icon svg {
  width: 16px !important;
  height: 16px !important;
}

/* â”€â”€ Cart Empty State â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cart-empty {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 32px 16px !important;
  text-align: center !important;
  color: var(--text-muted) !important;
}

.cart-empty-circle {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  background: #f0f4f1 !important;
  color: var(--brand-orange) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 10px !important;
  font-size: 0 !important;
}

.cart-empty-circle svg {
  width: 28px !important;
  height: 28px !important;
  stroke: var(--brand-orange) !important;
}

.cart-empty strong {
  font-size: 13px !important;
  color: var(--text-primary) !important;
  margin-bottom: 4px !important;
}

.cart-empty small {
  font-size: 11px !important;
  color: var(--text-muted) !important;
}

/* â”€â”€ Cart Item Steppers & Remove Button â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.quantity-controls {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.qty-btn {
  width: 26px !important;
  height: 26px !important;
  border-radius: 4px !important;
  border: 1px solid var(--border-line) !important;
  background: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: var(--brand-dark) !important;
  transition: all 0.12s ease !important;
  padding: 0 !important;
}

.qty-btn:hover {
  background: var(--brand-orange) !important;
  color: #ffffff !important;
  border-color: var(--brand-orange) !important;
}

.qty-btn svg {
  width: 12px !important;
  height: 12px !important;
}

.qty-number {
  font-size: 13px !important;
  font-weight: 800 !important;
  min-width: 22px !important;
  text-align: center !important;
}

.btn-remove-item {
  width: 26px !important;
  height: 26px !important;
  border-radius: 4px !important;
  border: 0 !important;
  background: transparent !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #e74c3c !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
  padding: 0 !important;
  font-size: 0 !important;
}

.btn-remove-item:hover {
  background: #fde8e8 !important;
  color: #c0392b !important;
}

.btn-remove-item svg {
  width: 15px !important;
  height: 15px !important;
}

/* â”€â”€ KDS Kitchen Tickets â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.kds-tool-btn,
.ticket-btn,
.ticket-done-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.ticket-type-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.ticket-time {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

/* â”€â”€ Orders Page Toolbar & Table â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.orders-toolbar {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  padding: 0 0 16px !important;
}

.search-box-inline {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: 38px !important;
  border: 1.5px solid var(--border-line) !important;
  border-radius: 6px !important;
  padding: 0 12px !important;
  background: #ffffff !important;
}

.search-box-inline:focus-within {
  border-color: var(--brand-orange) !important;
}

.search-box-inline svg {
  width: 15px !important;
  height: 15px !important;
  color: var(--text-muted) !important;
}

.order-search-input {
  border: 0 !important;
  outline: 0 !important;
  font-size: 12px !important;
  width: 220px !important;
  background: transparent !important;
}

.type-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.btn-step,
.btn-complete-step,
.receipt-link,
.primary-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.btn-step-cancel {
  background: #fff !important;
  border: 1px solid #fad2d2 !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  font-size: 10px !important;
  color: #c0392b !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  font-weight: 700 !important;
}

.btn-step-cancel:hover {
  background: #c0392b !important;
  color: #ffffff !important;
}

/* â”€â”€ Admin & Reports Section Icons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.section-title-inner {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.section-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  background: rgba(229, 142, 38, 0.1) !important;
  border-radius: 6px !important;
  color: var(--brand-orange) !important;
  flex-shrink: 0 !important;
}

.section-icon svg {
  width: 20px !important;
  height: 20px !important;
}

.metric-box-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  background: rgba(229, 142, 38, 0.1) !important;
  border-radius: 6px !important;
  color: var(--brand-orange) !important;
  margin-bottom: 8px !important;
}

.metric-box-icon svg {
  width: 16px !important;
  height: 16px !important;
}

.report-card-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  background: rgba(37, 107, 69, 0.1) !important;
  border-radius: 6px !important;
  color: var(--brand-green) !important;
  margin-bottom: 10px !important;
}

.report-card-icon svg {
  width: 16px !important;
  height: 16px !important;
}

.rank-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.rank-badge svg {
  width: 16px !important;
  height: 16px !important;
}

.thumb-cell {
  width: 56px !important;
  padding-right: 4px !important;
}

.admin-product-thumb {
  width: 52px !important;
  height: 40px !important;
  object-fit: cover !important;
  border-radius: 5px !important;
  display: block !important;
}

/* â”€â”€ Auth / Login Page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.brand-badge {
  font-size: 0 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.brand-badge svg {
  width: 26px !important;
  height: 26px !important;
}

.input-with-icon {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.input-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #6a7d70 !important;
  font-size: 0 !important;
}

.input-icon svg {
  width: 16px !important;
  height: 16px !important;
}

.auth-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  font-size: 14px !important;
  letter-spacing: 0.02em !important;
  transition: all 0.15s ease !important;
}

.auth-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(229, 142, 38, 0.45) !important;
}

.auth-btn:active {
  transform: translateY(0) !important;
}

.auth-btn-arrow {
  display: inline-flex !important;
  align-items: center !important;
}

.auth-btn-arrow svg {
  width: 16px !important;
  height: 16px !important;
}

.back-to-login {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: var(--brand-orange) !important;
  font-weight: 700 !important;
}

/* â”€â”€ JAPZ GRILL Professional Bistro Authentication Background & Logo â”€â”€ */
.auth-page {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 32px 16px !important;
  position: relative !important;
  background: #0f1411 url('/images/bistro-bg.jpg') center center / cover no-repeat fixed !important;
  color: #ffffff !important;
  overflow-x: hidden !important;
}

.auth-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: radial-gradient(circle at center 35%, rgba(15, 20, 17, 0.72) 0%, rgba(9, 12, 10, 0.94) 100%) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.auth-card {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 440px !important;
  background: rgba(18, 24, 20, 0.88) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1.5px solid rgba(229, 142, 38, 0.3) !important;
  border-radius: var(--radius-lg) !important;
  padding: 38px 34px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
}

.auth-brand-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 22px !important;
  text-align: center !important;
}

.auth-brand-logo {
  width: 180px !important;
  max-width: 82% !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.55)) !important;
  transition: transform 0.25s ease !important;
}

.auth-brand-logo:hover {
  transform: scale(1.03) !important;
}

.auth-intro {
  text-align: center !important;
  margin-bottom: 22px !important;
}

.auth-tag {
  display: inline-block !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  color: var(--brand-orange) !important;
  text-transform: uppercase !important;
  background: rgba(229, 142, 38, 0.12) !important;
  border: 1px solid rgba(229, 142, 38, 0.3) !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
  margin-bottom: 8px !important;
}

.auth-intro h2 {
  font-size: 22px !important;
  font-weight: 800 !important;
  margin: 6px 0 !important;
  color: #ffffff !important;
}

.auth-desc {
  font-size: 12px !important;
  color: #9cb0a2 !important;
  margin: 0 !important;
}

.auth-page .app-footer {
  position: relative !important;
  z-index: 2 !important;
  margin-top: 24px !important;
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 11px !important;
  text-align: center !important;
}

/* â”€â”€ Admin Dashboard & Role Badge Styling â”€â”€ */
.badge-role-admin {
  background: #e58e26;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.admin-kpi-card {
  background: var(--surface);
  border: 1.5px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.admin-kpi-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-orange);
}

.kpi-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37, 107, 69, 0.12);
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kpi-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.kpi-icon-wrap.kpi-kitchen {
  background: rgba(229, 142, 38, 0.12);
  color: var(--brand-orange);
}

.kpi-icon-wrap.kpi-menu {
  background: rgba(41, 128, 185, 0.12);
  color: #2980b9;
}

.kpi-icon-wrap.kpi-staff {
  background: rgba(142, 68, 173, 0.12);
  color: #8e44ad;
}

.kpi-content {
  display: flex;
  flex-direction: column;
}

.kpi-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kpi-val {
  font-size: 24px;
  font-weight: 900;
  color: var(--brand-dark);
  margin: 2px 0;
}

.kpi-sub {
  font-size: 11px;
  color: var(--text-secondary);
}

.kpi-link {
  color: var(--brand-orange);
  font-weight: 700;
}

.admin-quick-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.admin-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1.5px solid var(--border-line);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.15s ease;
}

.admin-tab-btn:hover,
.admin-tab-btn.active {
  background: var(--brand-dark);
  color: #fff;
  border-color: var(--brand-dark);
}

.admin-tab-btn svg {
  width: 15px;
  height: 15px;
}

.header-action-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1.5px solid var(--border-line);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}

.secondary-link:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

.admin-settings-card {
  margin-top: 24px;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 8px 0;
}

.settings-group {
  background: var(--surface-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.settings-group h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-dark);
  border-bottom: 1.5px solid var(--border-line);
  padding-bottom: 8px;
}

.setting-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.setting-key {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.setting-val {
  font-size: 12px;
  color: var(--text-primary);
  font-weight: 600;
}

/* â”€â”€ Admin Dashboard Modules Grid â”€â”€ */
.admin-modules-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
  margin-bottom: 24px !important;
}

.module-card {
  background: var(--surface) !important;
  border: 1.5px solid var(--border-line) !important;
  border-radius: var(--radius-lg) !important;
  padding: 22px !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  text-decoration: none !important;
  color: var(--text-primary) !important;
  box-shadow: var(--shadow-sm) !important;
  transition: all 0.18s ease !important;
}

.module-card:hover {
  transform: translateY(-2px) !important;
  border-color: var(--brand-orange) !important;
  box-shadow: 0 8px 24px rgba(229, 142, 38, 0.12) !important;
}

.module-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 12px !important;
  background: rgba(229, 142, 38, 0.12) !important;
  color: var(--brand-orange) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.module-icon svg {
  width: 22px !important;
  height: 22px !important;
}

.module-info {
  flex: 1 !important;
}

.module-info h3 {
  margin: 0 0 4px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: var(--brand-dark) !important;
}

.module-info p {
  margin: 0 !important;
  font-size: 12px !important;
  color: var(--text-secondary) !important;
  line-height: 1.4 !important;
}

.module-arrow {
  font-size: 18px !important;
  color: var(--brand-orange) !important;
  font-weight: 800 !important;
  transition: transform 0.15s ease !important;
}

.module-card:hover .module-arrow {
  transform: translateX(4px) !important;
}

.admin-recent-card {
  margin-top: 10px !important;
}

.items-summary-text {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--text-secondary) !important;
}

/* â”€â”€ Full Width Section & Grids â”€â”€ */
.full-width-section {
  width: 100% !important;
}

.user-management-grid {
  display: grid !important;
  grid-template-columns: minmax(340px, 1fr) minmax(380px, 1.4fr) !important;
  gap: 24px !important;
}

.settings-page-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 24px !important;
}

.settings-items-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.setting-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 10px 0 !important;
  border-bottom: 1px dashed var(--border-line) !important;
}

.setting-row:last-child {
  border-bottom: 0 !important;
}

.setting-label {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--text-secondary) !important;
}

.setting-value {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--brand-dark) !important;
}

@media (max-width: 1100px) {
  .admin-modules-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .settings-page-grid,
  .user-management-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 700px) {
  .admin-modules-grid {
    grid-template-columns: 1fr !important;
  }
}
