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

:root {
  /* Premium Coffee Palette 2026 */
  --espresso: #2C1608;
  --espresso-dark: #1A0D05;
  --cream: #F9F0E4;
  --caramel: #A07040;
  --hazelnut: #C8A882;
  --accent-gold: #D4AF37;
  --mahogany: #7A3E10;
  --linen: #F0E6D8;
  --parchment: #E8D5BE;
  
  /* Modern UI Specs */
  --sidebar-width: 280px;
  --border-radius-lg: 16px;
  --border-radius-md: 12px;
  --shadow-premium: 0 10px 30px rgba(44, 22, 8, 0.15);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  margin: 0;
  background: var(--linen);
  color: var(--espresso);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

/* Sidebar Collapsed State */
.app-shell.sidebar-collapsed {
  grid-template-columns: 80px 1fr;
}

.app-shell.sidebar-collapsed .app-sidebar {
  width: 80px;
  padding: 30px 10px;
}

.app-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
  transition: grid-template-columns 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Premium Sidebar Base */
.app-sidebar {
  background: linear-gradient(160deg, #2B120A 0%, #3D1F12 100%);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  color: #FFFDF8;
  position: sticky;
  top: 0;
  height: 100vh;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4);
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), padding 0.4s ease;
  width: var(--sidebar-width, 280px);
  overflow-x: hidden;
  overflow-y: overlay;
}

/* Background Animated Particles/Smoke */
.sidebar-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 50% 20%, rgba(212, 160, 23, 0.05) 0%, transparent 40%),
                    radial-gradient(circle at 80% 80%, rgba(245, 235, 221, 0.03) 0%, transparent 30%);
  pointer-events: none;
  z-index: 0;
}
.sidebar-particles::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.03"/></svg>');
  opacity: 0.5;
  pointer-events: none;
}

/* Branding */
.sidebar-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.brand-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.app-shell.sidebar-collapsed .brand-text,
.app-shell.sidebar-collapsed .brand-logo {
  opacity: 0;
  width: 0;
  display: none;
}

.brand-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.05) rotate(5deg);
}

.app-brand {
  color: #D4A017;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(212, 160, 23, 0.3);
}

.sidebar-subtitle {
  color: #C8A882;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* Nav links */
.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.sidebar-nav li {
  margin-bottom: 8px;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255, 253, 248, 0.65);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  background: transparent;
  border: 1px solid transparent;
}

.nav-icon {
  margin-right: 15px;
  min-width: 20px;
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
  color: inherit;
}

.app-shell.sidebar-collapsed .nav-icon {
  margin-right: 0;
}

.app-shell.sidebar-collapsed .nav-text {
  opacity: 0;
  width: 0;
  display: none;
}

.sidebar-nav li a:hover {
  background: rgba(255, 253, 248, 0.05);
  color: #FFFDF8;
  border-color: rgba(255, 253, 248, 0.08);
  transform: translateX(4px);
}

.sidebar-nav li a:hover .nav-icon {
  transform: scale(1.15);
  color: #D4A017;
}

.sidebar-nav li a.active {
  background: linear-gradient(90deg, rgba(212, 160, 23, 0.15) 0%, rgba(212, 160, 23, 0.02) 100%);
  color: #D4A017;
  font-weight: 600;
  border: 1px solid rgba(212, 160, 23, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 4px 0 0 0 #D4A017;
}

.sidebar-nav li a.active .nav-icon {
  filter: drop-shadow(0 0 8px rgba(212, 160, 23, 0.5));
}

/* Tooltips for collapsed state */
[data-tooltip] {
  position: relative;
}
.app-shell.sidebar-collapsed [data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 15px);
  top: 50%;
  transform: translateY(-50%);
  background: #1A0D05;
  color: #D4A017;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  border: 1px solid rgba(212, 160, 23, 0.3);
  z-index: 1000;
  pointer-events: none;
  animation: fadeInRight 0.2s ease forwards;
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translate(-10px, -50%); }
  to { opacity: 1; transform: translate(0, -50%); }
}

/* Sidebar Footer & Profile */
.sidebar-footer {
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.sidebar-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 253, 248, 0.1), transparent);
  margin: 20px 0;
}

.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 253, 248, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 253, 248, 0.05);
  margin-bottom: 15px;
  transition: all 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
}

.sidebar-profile:hover {
  background: rgba(255, 253, 248, 0.06);
  border-color: rgba(212, 160, 23, 0.3);
}

.app-shell.sidebar-collapsed .sidebar-profile {
  padding: 10px;
  justify-content: center;
}

.app-shell.sidebar-collapsed .sidebar-profile-info {
  display: none;
}

.sidebar-profile-avatar {
  position: relative;
  min-width: 36px;
  width: 36px;
  height: 36px;
  background: #1A0D05;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D4A017;
  border: 2px solid rgba(212, 160, 23, 0.5);
}

.status-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #2ecc71;
  border-radius: 50%;
  border: 2px solid #2B120A;
}

.sidebar-profile-info {
  flex-grow: 1;
}

.sidebar-profile-name {
  font-size: 13px;
  font-weight: 600;
  color: #FFFDF8;
}

.sidebar-profile-role {
  font-size: 11px;
  color: #C8A882;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-logout {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 12px;
  color: rgba(255, 253, 248, 0.65);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  background: rgba(227, 24, 55, 0.05);
  border: 1px solid transparent;
  white-space: nowrap;
}

.app-shell.sidebar-collapsed .btn-logout {
  justify-content: center;
  padding: 12px;
}

.btn-logout:hover {
  background: rgba(227, 24, 55, 0.15);
  color: #ff6b6b;
  border-color: rgba(227, 24, 55, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(227, 24, 55, 0.15);
}

.btn-logout:hover .nav-icon {
  transform: translateX(4px);
  color: #ff6b6b;
}

.app-main {
  padding: 35px 45px;
}

/* Slim AJAX Progress Bar */
.ajax-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent-gold);
  z-index: 9999;
  transition: width 0.4s ease, opacity 0.3s ease;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  pointer-events: none;
}

.ajax-progress.loading {
  width: 70%;
}

.ajax-progress.finish {
  width: 100%;
  opacity: 0;
}

.content-wrap {
  transition: opacity 0.3s ease-in-out;
}

/* Custom Nav Pills */
.nav-pills .nav-link {
  color: var(--espresso);
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-pills .nav-link.active {
  background: var(--mahogany) !important;
  color: #fff !important;
  box-shadow: 0 4px 10px rgba(122, 62, 16, 0.2);
}

.nav-pills .nav-link:hover:not(.active) {
  background: rgba(160, 112, 64, 0.1);
}

/* Button Refinements */
.btn-success-subtle {
  background: rgba(95, 143, 121, 0.1);
  color: #5f8f79;
}

.btn-danger-subtle {
  background: rgba(163, 79, 58, 0.1);
  color: #a34f3a;
}

.btn-danger-subtle:hover {
  background: #a34f3a;
  color: #fff;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1.5px solid rgba(44, 22, 8, 0.08);
}

.page-title {
  margin: 0;
  color: var(--espresso);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.user-profile-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--parchment);
  padding: 6px 16px 6px 8px;
  border-radius: 40px;
  border: 1px solid rgba(44, 22, 8, 0.08);
  transition: var(--transition-smooth);
}

.user-profile-wrap:hover {
  background: var(--cream);
  border-color: var(--caramel);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.user-avatar {
  width: 38px;
  height: 38px;
  background: var(--espresso);
  color: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(44, 22, 8, 0.2);
}

.user-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.user-name {
  font-weight: 700;
  color: var(--espresso);
  font-size: 14px;
}

.user-role {
  font-size: 11px;
  color: var(--caramel);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-notification {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(44, 22, 8, 0.08);
  background: var(--parchment);
  color: var(--espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  padding: 0;
}

.btn-notification:hover {
  background: var(--cream);
  color: var(--mahogany);
  transform: scale(1.05) rotate(10deg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.badge-notification {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #d9534f;
  color: white;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  padding: 0 4px;
}

/* Premium Stat Cards */
.stat-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(44, 22, 8, 0.12) !important;
}

.stat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 10px;
}

.card-sales .stat-icon-wrap { background: rgba(122, 62, 16, 0.1); color: var(--mahogany); }
.card-orders .stat-icon-wrap { background: rgba(212, 175, 55, 0.1); color: var(--accent-gold); }
.card-menu .stat-icon-wrap { background: rgba(160, 112, 64, 0.1); color: var(--caramel); }
.card-lowstock .stat-icon-wrap { background: rgba(217, 83, 79, 0.1); color: #d9534f; }

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--toffee);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--espresso);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-sub {
  font-size: 11px;
  font-weight: 500;
  color: #999;
}

.stat-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 30px;
}

.stat-badge.text-success { background: rgba(95, 143, 121, 0.1); color: #5f8f79 !important; }
.stat-badge.text-danger { background: rgba(163, 79, 58, 0.1); color: #a34f3a !important; }

/* Premium Components */
.card {
  background: var(--surface, #FFFFFF);
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
}

.card-header {
  background: transparent;
  border-bottom: 1px solid rgba(44, 22, 8, 0.05);
  padding: 24px 30px;
  font-weight: 600;
  color: var(--espresso);
}

.card-body {
  padding: 30px;
}

/* Modern Stats Cards */
.dashboard-stat-card {
  position: relative;
  overflow: hidden;
  background: var(--cream) !important;
  border: 1px solid rgba(160, 112, 64, 0.1) !important;
}

.dashboard-stat-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.stat-label {
  color: var(--caramel);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-value {
  color: var(--espresso);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
}

/* Premium Table Styling */
.table {
  margin-bottom: 0;
}

.table thead th {
  background: rgba(240, 230, 216, 0.5);
  color: var(--caramel);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
  padding: 18px 25px;
  border: none;
}

.table tbody td {
  padding: 20px 25px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(44, 22, 8, 0.03);
  color: var(--espresso);
}

.table tbody tr:hover {
  background: rgba(212, 175, 55, 0.03);
}

.badge {
  padding: 8px 14px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Jollibee Style Accents Redefined */
.j-btn-red {
  background: linear-gradient(135deg, #e31837 0%, #c1132b 100%);
  border: none;
  color: white;
  padding: 16px;
  border-radius: var(--border-radius-md);
  font-weight: 700;
  width: 100%;
  margin-top: 15px;
  box-shadow: 0 8px 20px rgba(227, 24, 55, 0.3);
  transition: var(--transition-smooth);
}

.j-btn-red:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(227, 24, 55, 0.4);
}

.j-btn-red:active {
  transform: scale(0.98);
}

/* Visual Menu Grid (Jollibee Style Redefined) */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 15px;
  padding: 10px 0;
}
@media (min-width: 768px) {
  .menu-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}
@media (min-width: 1200px) {
  .menu-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.menu-card {
  background: var(--surface, #FFFFFF);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(44, 22, 8, 0.08);
  transition: var(--transition-smooth);
}

.menu-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(44, 22, 8, 0.12);
}

.menu-card-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  background: var(--cream);
}

.menu-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.menu-card:hover .menu-card-img {
  transform: scale(1.15);
}

.menu-card-body {
  padding: 20px;
  text-align: center;
  flex-grow: 1;
}

.menu-card-category {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--caramel);
  font-weight: 700;
  margin-bottom: 5px;
}

.menu-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--espresso);
  margin-bottom: 8px;
}

.menu-card-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--mahogany);
}

.add-to-cart-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 22, 8, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
}

.menu-card:hover .add-to-cart-overlay {
  opacity: 1;
}

/* Premium Cart Panel */
.cart-panel {
  background: var(--surface, #FFFFFF);
  border-radius: var(--border-radius-lg);
  padding: 20px 25px;
  position: sticky;
  top: 35px;
  height: calc(100vh - 120px);
  min-height: 600px;
  max-height: 850px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-premium);
}

.cart-panel > :not(.cart-items-list) {
  flex-shrink: 0;
}

.cart-items-list {
  overflow-y: auto;
  flex-grow: 1;
  min-height: 0;
  margin: 10px 0 20px 0;
  padding-right: 5px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(44, 22, 8, 0.05);
}

.cart-item-name {
  font-weight: 600;
  font-size: 14px;
}

.cart-item-price {
  font-size: 12px;
  color: var(--caramel);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--mahogany);
  background: transparent;
  color: var(--mahogany);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.qty-btn:hover {
  background: var(--mahogany);
  color: #fff;
}

.cart-total {
  border-top: 2px solid var(--cream);
  padding-top: 20px;
  margin-top: 10px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 700;
  color: var(--espresso);
}

@media (max-width: 1024px) {
  .app-shell {
    grid-template-columns: 80px 1fr;
  }
  .app-sidebar {
    width: 80px;
    padding: 30px 10px;
  }
  .brand-text, .nav-text, .sidebar-profile-info {
    display: none;
  }
  .sidebar-toggle {
    margin: 0 auto;
  }
  .nav-icon {
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .app-shell {
    grid-template-columns: 1fr;
  }
  .app-sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    bottom: 0;
    width: 280px;
    padding: 30px 20px;
    z-index: 1050;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
  }
  .app-sidebar.show-mobile {
    left: 0;
  }
  .brand-text, .nav-text, .sidebar-profile-info {
    display: flex !important;
    opacity: 1 !important;
    width: auto !important;
  }
  .nav-icon {
    margin-right: 15px !important;
  }
  .btn-logout {
    justify-content: flex-start !important;
    padding: 12px 16px !important;
  }
  .sidebar-profile {
    padding: 12px !important;
    justify-content: flex-start !important;
  }
  .app-main {
    padding: 20px 15px;
  }
  .visual-menu-card, .cart-panel {
    height: auto;
    max-height: none;
  }
  .cart-panel {
    margin-top: 20px;
  }
  .topbar {
    padding-bottom: 15px;
    margin-bottom: 20px;
  }
  .page-title {
    font-size: 24px;
  }
}

/* Mobile Sidebar Overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1040;
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.sidebar-overlay.show {
  display: block;
  opacity: 1;
}

/* Premium Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(200, 168, 130, 0.1); 
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: rgba(160, 112, 64, 0.5); 
  border-radius: 10px;
  transition: var(--transition-smooth);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--caramel);
}

/* Visual Menu Card (Outer Container) */
.visual-menu-card {
  height: calc(100vh - 120px);
  min-height: 600px;
  max-height: 850px;
  display: flex;
  flex-direction: column;
}

/* Visual Menu Scroll Container */
.visual-menu-container {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 15px !important;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(160, 112, 64, 0.6) transparent;
}

/* Ensure cards inside scroll area have breathing room at the bottom */
.visual-menu-container .menu-grid {
  padding-bottom: 20px;
}

/* Specific styling for the visual menu scrollbar */
.visual-menu-container::-webkit-scrollbar {
  width: 6px;
}

.visual-menu-container::-webkit-scrollbar-track {
  background: transparent; 
  border-radius: 10px;
}

.visual-menu-container::-webkit-scrollbar-thumb {
  background: rgba(160, 112, 64, 0.4); 
  border-radius: 10px;
}

.visual-menu-container::-webkit-scrollbar-thumb:hover {
  background: var(--caramel);
}

/* Enhance existing scroll areas */
.cart-items-list::-webkit-scrollbar {
  width: 5px;
}

.app-sidebar::-webkit-scrollbar {
  width: 5px;
}
.app-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.app-sidebar::-webkit-scrollbar-thumb {
  background: rgba(249, 240, 228, 0.2);
}
.app-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(249, 240, 228, 0.4);
}

.order-item-cell .order-item-cancel {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mahogany);
  border-color: rgba(122, 62, 16, 0.25);
}

.order-item-cell .order-item-cancel:hover {
  background: rgba(163, 79, 58, 0.12);
  color: #8b3a28;
}

.order-items-dropdown-menu {
  min-width: 280px;
  border-radius: 12px;
  border: 1px solid rgba(44, 22, 8, 0.1);
  z-index: 1055;
}

.order-items-dropdown-menu .order-line-cancel-btn {
  pointer-events: auto;
}

.order-dropdown-line:last-child {
  border-bottom: none !important;
}
