/* ═══════════════════════════════════════════════════════════════
   WAITRESS ROLE - Mobile Responsive
   ═══════════════════════════════════════════════════════════════ */

/* Themed Scrollbars - Game Style */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-secondary-light, #9b5de5) 100%);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--color-secondary-light, #9b5de5) 0%, var(--color-secondary) 100%);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-secondary) rgba(0, 0, 0, 0.3);
}

.waitress-interface {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(180deg, #2d1b4e 0%, #1a0f2e 100%);
  overflow: hidden;
}

/* Main Content - fills remaining space */
.waitress-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* Hostess View - fills parent */
.hostess-view {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  gap: 16px;
}

/* Location Bar */
.location-bar {
  background: var(--color-bg-card);
  padding: 12px 16px;
  border-bottom: 3px solid var(--color-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.current-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.location-icon {
  font-size: 1.5rem;
}

.location-name {
  font-size: 0.875rem;
  color: var(--color-text);
}

.walking-indicator {
  font-size: 0.75rem;
  color: var(--color-accent-yellow);
  animation: pulse 1s infinite;
}

.quick-nav {
  display: flex;
  gap: 6px;
}

.nav-btn {
  padding: 8px 12px;
  background: var(--color-bg-dark);
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-btn.active {
  background: var(--color-secondary);
  color: white;
  border-color: var(--color-secondary-light);
}



.guest-queue-section h3,
.restaurant-map h3 {
  font-size: 1rem;
  color: var(--color-accent-yellow);
  margin-bottom: 12px;
}

.guest-queue-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guest-group-card {
  background: var(--color-bg-dark);
  border: 2px solid var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.guest-group-card.selected {
  border-color: var(--color-accent-yellow);
  background: rgba(255, 230, 109, 0.1);
}

.group-avatars {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 80px;
}

.guest-avatar {
  font-size: 1.5rem;
}

.group-info {
  flex: 1;
}

.group-size {
  font-weight: 700;
  font-size: 0.875rem;
}

.group-patience {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.group-patience.low {
  color: var(--color-primary);
}

.group-prefs {
  font-size: 0.625rem;
  color: var(--color-accent-yellow);
  margin-top: 4px;
}

.seat-btn {
  padding: 8px 16px;
  background: var(--color-accent-green);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
}

/* Restaurant Map */
.restaurant-map {
  background: var(--color-bg-dark);
  border-radius: var(--radius-xl);
  padding: 16px;
}

.map-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #3d2663 0%, #2d1b4e 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.table-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.table-marker.occupied {
  opacity: 0.5;
  pointer-events: none;
}

.table-marker.selected {
  filter: drop-shadow(0 0 10px var(--color-accent-yellow));
}

.table-icon {
  font-size: 1.75rem;
}

.table-label {
  font-size: 0.625rem;
  font-weight: 700;
  background: rgba(0,0,0,0.5);
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.table-status {
  font-size: 0.5rem;
  text-transform: uppercase;
}

.clean-warning {
  font-size: 0.5rem;
  color: var(--color-primary);
  background: rgba(255, 107, 53, 0.2);
  padding: 2px 4px;
  border-radius: 4px;
}

.entrance-marker,
.hostess-marker,
.pass-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 0.625rem;
  font-weight: 700;
  background: rgba(0,0,0,0.7);
  padding: 4px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* POS System */
.pos-system {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pos-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.pos-category h4 {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.pos-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pos-item-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--color-bg-card);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pos-item-btn:active {
  transform: scale(0.98);
  border-color: var(--color-secondary);
}

.pos-item-btn .item-icon {
  font-size: 1.25rem;
}

.pos-item-btn .item-name {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 600;
}

.pos-item-btn .item-price {
  font-size: 0.75rem;
  color: var(--color-accent-green);
  font-weight: 700;
}

.order-summary {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-top: auto;
}

.order-summary h4 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--color-text);
}

.order-list {
  max-height: 150px;
  overflow-y: auto;
}

.order-line-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-bg-dark);
  font-size: 0.875rem;
}

.order-total {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-accent-green);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 2px solid var(--color-bg-dark);
}

.submit-order-btn,
.special-request-btn {
  width: 100%;
  padding: 14px;
  margin-top: 12px;
  border: none;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.submit-order-btn {
  background: var(--color-accent-green);
  color: white;
}

.special-request-btn {
  background: var(--color-bg-dark);
  color: var(--color-text-muted);
  margin-top: 8px;
}

/* Pass View */
.pass-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plates-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plate-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plate-items {
  font-size: 1.5rem;
}

.plate-table {
  font-weight: 700;
  color: var(--color-text);
}

.plate-time {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.pickup-btn {
  padding: 10px 20px;
  background: var(--color-accent-green);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-weight: 700;
  cursor: pointer;
}

/* Small phone adjustments */
@media (max-height: 700px) {
  .location-bar {
    padding: 8px 12px;
  }
  
  .nav-btn {
    padding: 6px 10px;
    font-size: 0.625rem;
  }
  
  .pos-categories {
    grid-template-columns: 1fr;
  }
}

/* Large phone / small tablet */
@media (min-height: 800px) {
  .pos-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ═══════════════════════════════════════════════════════════════
   POS (Point of Sale) Overlay
   ═══════════════════════════════════════════════════════════════ */

.pos-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
}

.pos-container {
  background: linear-gradient(180deg, #2d1b4e 0%, #1a0f2e 100%);
  border-radius: 0;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: none;
}

/* POS Header - Ultra Compact Single Line */
.pos-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  background: var(--color-bg-card);
  border-bottom: 2px solid var(--color-secondary);
  min-height: 36px;
  gap: 12px;
}

.pos-header-location {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.pos-header .customer-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pos-header .customer-nav-btn {
  width: 24px;
  height: 24px;
  padding: 0;
  font-size: 0.625rem;
  border-radius: 4px;
  border: 1px solid var(--color-secondary);
  background: var(--color-bg-dark);
  color: var(--color-text);
  cursor: pointer;
}

.pos-header .customer-nav-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pos-header .customer-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  min-width: 40px;
  text-align: center;
}

.pos-header .pos-total {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent-green);
  white-space: nowrap;
}

.pos-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
}

.pos-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--color-bg-dark);
  color: var(--color-text);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.pos-close-btn:hover {
  background: var(--color-primary);
}

/* Customer Section (Top 1/4) */
.pos-customer-section {
  padding: 10px 16px;
  background: var(--color-bg-dark);
  border-bottom: 1px solid var(--color-bg-card);
  flex-shrink: 0;
}

.pos-customer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.pos-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-secondary);
  background: var(--color-bg-card);
  color: var(--color-text);
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pos-nav-btn:hover:not(:disabled) {
  background: var(--color-secondary);
}

.pos-nav-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: var(--color-text-muted);
}

.pos-customer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.pos-customer-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
}

.pos-customer-total {
  font-size: 1rem;
  color: var(--color-accent-green);
  font-weight: 700;
}

/* POS Menu - 60% of screen */
.pos-menu {
  flex: 0 0 60%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  min-height: 0;
  position: relative;
}

/* Order Panel Layout - 40% of screen */
.pos-order-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 40%;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 16px;
  background: var(--color-bg-dark);
  border-bottom: 2px solid var(--color-bg-card);
}

/* Desired Order Display - Tag Bubbles */
.pos-desired-order {
  padding: 12px 0;
  flex-shrink: 0;
}

.desired-bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.desired-bubble {
  font-size: 1rem;
  background: rgba(78, 205, 196, 0.15);
  border: 1px solid var(--color-accent-teal);
  padding: 6px 14px;
  border-radius: 14px;
  color: var(--color-text);
  white-space: nowrap;
}

/* Order Summary - fills available space with max-height 100% */
.pos-order-summary {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: 100%;
}

.pos-order-summary h4 {
  flex-shrink: 0;
  margin: 0 0 8px 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.pos-order-summary .order-items-list {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  max-height: 100%;
}

/* Order Item Details - Single line with horizontal scroll for modifications */
.order-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-bg-card);
  font-size: 0.875rem;
  flex-wrap: nowrap;
  min-height: 44px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.order-item::-webkit-scrollbar {
  display: none;
}

.order-item .item-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.order-item .item-name {
  font-weight: 600;
  color: var(--color-text);
  flex-shrink: 0;
}

.order-item .item-details {
  display: flex;
  gap: 4px;
  margin-left: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  min-width: 0;
}

.order-item .item-details::-webkit-scrollbar {
  display: none;
}

.order-item .item-temp {
  font-size: 0.75rem;
  color: var(--color-accent-yellow);
  background: rgba(255, 193, 7, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}

.order-item .item-addition {
  font-size: 0.75rem;
  color: var(--color-accent-green);
  background: rgba(76, 175, 80, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}

.order-item .item-removal {
  font-size: 0.75rem;
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}

.order-item .item-price {
  margin-left: auto;
  font-weight: 700;
  color: var(--color-accent-green);
  flex-shrink: 0;
  padding-left: 8px;
}

.order-item .remove-item-btn {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0 4px;
  flex-shrink: 0;
}

.order-item .remove-item-btn:hover {
  color: #ff6b6b;
}

.pos-order-summary .no-items {
  display: none;
}

/* POS Content layout for SharedPOS */
.pos-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

.pos-desired-label {
  font-size: 0.75rem;
  color: var(--color-accent-teal);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}

.pos-desired-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pos-desired-item {
  font-size: 0.8125rem;
  background: rgba(78, 205, 196, 0.2);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: normal;
  line-height: 1.3;
  max-width: 100%;
}

.pos-desired-item small {
  font-size: 0.6875rem;
  opacity: 0.8;
}

/* Current Order */
.pos-current-order {
  background: rgba(255, 230, 109, 0.1);
  border: 1px solid var(--color-accent-yellow);
  border-radius: var(--radius-md);
  padding: 12px;
}

.pos-current-label {
  font-size: 0.75rem;
  color: var(--color-accent-yellow);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}

.pos-current-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pos-current-item {
  font-size: 0.875rem;
  background: rgba(255, 230, 109, 0.2);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pos-remove-item {
  margin-left: 4px;
  cursor: pointer;
  color: var(--color-primary);
  font-weight: 700;
}

.pos-remove-item:hover {
  color: #ff4444;
}

/* Item modification indicators */
.pos-item-mods {
  font-size: 0.625rem;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 700;
  margin-left: 4px;
}

.pos-item-mods.add {
  background: rgba(76, 175, 80, 0.3);
  color: var(--color-accent-green);
}

.pos-item-mods.remove {
  background: rgba(244, 67, 54, 0.3);
  color: #f44336;
}

/* Category Tabs */
.pos-category-tabs {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding: 12px 16px;
  background: var(--color-bg-card);
  border-bottom: 1px solid var(--color-bg-dark);
  flex-shrink: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  touch-action: pan-x;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.pos-category-tabs::-webkit-scrollbar {
  display: none;
}

.pos-tab {
  flex-shrink: 0;
  padding: 10px 16px;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  background: var(--color-bg-dark);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  scroll-snap-align: start;
  min-width: fit-content;
}

.pos-tab.active {
  background: var(--color-secondary);
  color: white;
  border-color: var(--color-secondary-light);
}

/* Menu Grid */
.pos-menu-grid {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-content: start;
}

.pos-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  background: var(--color-bg-card);
  border: 2px solid transparent;
  border-radius: 10px;
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-fast);
  aspect-ratio: 1/1;
  min-height: unset;
  height: auto;
}

.pos-menu-item:hover {
  border-color: var(--color-secondary);
  transform: translateY(-2px);
}

.pos-menu-item:active {
  transform: scale(0.98);
}

.pos-item-icon {
  font-size: 1.75rem;
}

.pos-item-name {
  font-size: 0.6875rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.pos-item-price {
  font-size: 0.75rem;
  color: var(--color-accent-green);
  font-weight: 700;
}

/* Steak Item - Temperature Selection */
.pos-menu-item.steak-item {
  cursor: default;
  padding: 8px 4px 4px;
  gap: 2px;
}

.pos-menu-item.steak-item:hover {
  border-color: transparent;
  transform: none;
}

.steak-temps {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  width: 100%;
}

.steak-temp-btn {
  padding: 10px 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  border: 2px solid var(--color-secondary);
  border-radius: var(--radius-lg);
  background: var(--color-bg-dark);
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  min-height: 40px;
  width: 100%;
}

.steak-temp-btn:hover {
  background: var(--color-secondary);
  color: white;
}

.steak-temp-btn:active {
  transform: scale(0.95);
}

/* Steak Selection Mode */
.pos-menu-item.steak-item.selecting-temp {
  background: var(--color-bg-card);
  border: 2px solid var(--color-secondary);
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.steak-selection-header {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  padding: 8px;
  border-bottom: 1px solid var(--color-bg-dark);
}

.steak-cancel-btn {
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 2px solid var(--color-accent-pink);
  border-radius: var(--radius-lg);
  background: transparent;
  color: var(--color-accent-pink);
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 40px;
  margin-top: 4px;
}

.steak-cancel-btn:hover {
  background: var(--color-accent-pink);
  color: white;
}

/* Footer */
.pos-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--color-bg-card);
  border-top: 2px solid var(--color-secondary);
  flex-shrink: 0;
}

.pos-order-total {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-accent-green);
}

.pos-send-btn {
  padding: 14px 24px;
  background: var(--color-accent-green);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pos-send-btn:hover:not(:disabled) {
  background: #45d163;
  transform: scale(1.05);
}

.pos-send-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════════
   POS CATEGORY GRID - New grid-based category selection
   ═══════════════════════════════════════════════════════════════ */

.pos-category-grid {
  padding: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pos-category-grid .grid-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 16px 0;
  text-align: center;
}

.category-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  flex: 1;
  overflow-y: auto;
  align-content: start;
}

.category-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  background: var(--color-bg-card);
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
  aspect-ratio: 1/1;
  min-height: unset;
  height: auto;
}

.category-tile:hover {
  border-color: var(--color-secondary);
  transform: translateY(-2px);
}

.category-tile:active {
  transform: scale(0.98);
}

.category-tile .category-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.category-tile .category-name {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  line-height: 1.2;
}

/* Menu header with back navigation - Single level back */
.pos-menu-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pos-menu-header .category-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Single back button - used for all navigation levels */
.pos-back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.pos-back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.pos-back-btn::before {
  content: "←";
  font-size: 1rem;
}

/* Legacy button styles for backwards compatibility */
.pos-back-to-items,
.pos-back-to-cat,
[data-action="back-to-categories"] {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.pos-back-to-items:hover,
.pos-back-to-cat:hover,
[data-action="back-to-categories"]:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Compact icon-only back button for minimal headers */
.pos-back-to-cat {
  width: 36px;
  height: 36px;
  padding: 0;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════
   PASS WINDOW - Food Delivery System
   ═══════════════════════════════════════════════════════════════ */

.pass-view {
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(180deg, #1a0f2e 0%, #0d0514 100%);
}

.tray-status {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 20px;
}

.tray-status h3 {
  margin: 0 0 12px 0;
  font-size: 1.25rem;
  text-align: center;
  background: linear-gradient(135deg, #4ECDC4 0%, #FF6B9D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tray-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.tray-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.tray-slots {
  display: flex;
  gap: 8px;
}

.tray-slot {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.2s ease;
}

.tray-slot.empty {
  background: rgba(255, 255, 255, 0.1);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.3);
}

.tray-slot.filled {
  background: linear-gradient(135deg, #4ECDC4 0%, #2d9b91 100%);
  border: 2px solid #4ECDC4;
  cursor: pointer;
  animation: pulse-glow 2s infinite;
}

.tray-slot.filled:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(78, 205, 196, 0.4);
}

.tray-slot .slot-table {
  font-size: 0.625rem;
  font-weight: 700;
  margin-top: 2px;
}

.tray-count {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent-teal);
  margin-left: 8px;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(78, 205, 196, 0.4); }
  50% { box-shadow: 0 0 10px 3px rgba(78, 205, 196, 0.2); }
}

.no-plates-message {
  text-align: center;
  padding: 60px 20px;
  color: var(--color-text-muted);
  font-size: 1.125rem;
}

.pass-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex: 1;
  min-height: 0;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.plate-card-large {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 24px;
  padding: 24px;
  width: 100%;
  max-width: 320px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.plate-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plate-number {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.plate-table {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-accent-teal);
}

.plate-food-display {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  min-height: 120px;
}

.food-item-large {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  animation: slideIn 0.3s ease-out forwards;
  opacity: 0;
  transform: translateX(-20px);
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.food-icon {
  font-size: 2rem;
}

.food-name {
  font-size: 1rem;
  font-weight: 600;
  color: white;
}

.plate-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.plate-actions {
  display: flex;
  gap: 12px;
}

.load-tray-btn {
  flex: 1;
  padding: 16px 24px;
  border-radius: 16px;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.load-tray-btn.primary {
  background: linear-gradient(135deg, #4ECDC4 0%, #2d9b91 100%);
  box-shadow: 0 4px 16px rgba(78, 205, 196, 0.3);
}

.load-tray-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.load-tray-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
}

.carousel-dots .dot.active {
  background: var(--color-accent-teal);
  width: 24px;
  border-radius: 4px;
}

.pass-instructions {
  text-align: center;
  padding: 16px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}

/* Deliver Button */
.action-btn.deliver-btn {
  background: linear-gradient(135deg, #4ECDC4 0%, #FF6B9D 100%);
  font-size: 1.125rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* Notification Styles */
.notification {
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateX(-50%) translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  to {
    transform: translateX(-50%) translateY(100px);
  }
}

/* Compact Pass View - Redesigned */
.pass-view-compact {
  background: var(--color-bg-card);
  border-radius: 16px;
  padding: 12px;
  max-width: 320px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.pass-header-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-bg-dark);
}

.pass-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.pass-count {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  background: var(--color-bg-dark);
  padding: 4px 8px;
  border-radius: 12px;
}

.pass-guest-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.pass-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--color-bg-dark);
  color: var(--color-text);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pass-nav-btn:hover:not(:disabled) {
  background: var(--color-secondary);
}

.pass-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pass-guest-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-secondary);
  min-width: 80px;
  text-align: center;
}

.pass-plate-card-mini {
  background: var(--color-bg-dark);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.pass-plate-table {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-accent-teal);
  text-align: center;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-bg-card);
}

.pass-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  flex: 1;
  overflow-y: auto;
  min-height: 200px;
}

.pass-item-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--color-bg-card);
  font-size: 0.8125rem;
}

.pass-item-row.loaded {
  background: rgba(78, 205, 196, 0.15);
  border: 1px solid rgba(78, 205, 196, 0.3);
}

.pass-item-row.not-loaded {
  background: rgba(255, 107, 157, 0.1);
  border: 1px solid rgba(255, 107, 157, 0.2);
}

.pass-item-icon {
  font-size: 1.125rem;
}

.pass-item-name {
  flex: 1;
  color: var(--color-text);
}

.pass-item-status {
  font-size: 1rem;
  font-weight: 700;
}

.pass-item-row.loaded .pass-item-status {
  color: var(--color-accent-teal);
}

.pass-item-row.not-loaded .pass-item-status {
  color: var(--color-accent-pink);
  opacity: 0.5;
}

.pass-load-actions {
  display: flex;
  justify-content: center;
}

.pass-load-btn {
  padding: 16px 24px;
  border-radius: 12px;
  border: none;
  background: var(--color-bg-card);
  color: var(--color-text-muted);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  min-height: 56px;
}

.pass-load-btn:hover:not(:disabled) {
  background: var(--color-secondary);
  color: white;
}

.pass-load-btn.primary {
  background: linear-gradient(135deg, var(--color-accent-teal) 0%, var(--color-secondary) 100%);
  color: white;
}

.pass-load-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(78, 205, 196, 0.4);
}

.pass-load-btn.loaded {
  background: rgba(78, 205, 196, 0.2);
  color: var(--color-accent-teal);
  cursor: default;
}

.pass-load-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pass-dots-mini {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.pass-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-bg-dark);
  transition: all 0.2s ease;
}

.pass-dot.active {
  background: var(--color-secondary);
  width: 18px;
  border-radius: 3px;
}

.no-plates-mini {
  text-align: center;
  padding: 24px;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* Tray Status Bar - Persistent */
.tray-status-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(90deg, rgba(78, 205, 196, 0.2) 0%, rgba(255, 107, 157, 0.2) 100%);
  border-bottom: 2px solid var(--color-secondary);
}

.tray-bar-icon {
  font-size: 1.25rem;
}

.tray-bar-text {
  font-size: 0.875rem;
  color: var(--color-text);
  font-weight: 600;
}

/* Pass View Wrapper with Tray - Full screen */
.pass-view-wrapper {
  background: var(--color-bg-card);
  border-radius: 0;
  padding: 16px;
  width: 100vw;
  height: 100vh;
  margin: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Tray Header */
.tray-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-bg-dark);
}

.tray-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.tray-count {
  font-size: 0.875rem;
  color: var(--color-secondary);
  font-weight: 600;
}

/* Tray Contents */
.tray-contents {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 0;
}

.tray-empty {
  text-align: center;
  padding: 16px;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  background: var(--color-bg-dark);
  border-radius: 8px;
}

.tray-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--color-bg-dark);
  border-radius: 10px;
  border: 2px solid rgba(78, 205, 196, 0.3);
  width: 100%;
  min-height: 56px;
}

.tray-item-icon {
  font-size: 1.25rem;
}

.tray-item-info {
  flex: 1;
  font-size: 0.875rem;
  color: var(--color-text);
  font-weight: 600;
}

.tray-remove-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 107, 157, 0.3);
  color: var(--color-accent-pink);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tray-remove-btn:hover {
  background: var(--color-accent-pink);
  color: white;
}

/* Pass Divider */
.pass-divider {
  height: 2px;
  background: var(--color-bg-dark);
  margin: 16px 0;
}

/* Option Indicator for items with options */
.pos-option-indicator {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 0.75rem;
  opacity: 0.7;
}

.pos-menu-item {
  position: relative;
}

/* ═══════════════════════════════════════════════════════════════
   OPTIONS MODAL - Temperature, Additions, Removals
   ═══════════════════════════════════════════════════════════════ */

.options-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.options-modal-container {
  background: linear-gradient(180deg, #2d1b4e 0%, #1a0f2e 100%);
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--color-secondary);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modal Header */
.options-modal-header {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--color-bg-card);
  border-bottom: 2px solid var(--color-secondary);
  position: relative;
}

.options-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 4px;
}

.options-modal-subtitle {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-align: center;
}

.options-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--color-bg-dark);
  color: var(--color-text);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.options-modal-close:hover {
  background: var(--color-primary);
}

/* Progress Indicator */
.options-modal-progress {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--color-bg-dark);
  border-bottom: 1px solid var(--color-bg-card);
}

.progress-step {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--color-bg-card);
  color: var(--color-text-muted);
  transition: all 0.2s ease;
}

.progress-step.active {
  background: var(--color-secondary);
  color: white;
  box-shadow: 0 4px 12px rgba(155, 89, 182, 0.4);
}

.progress-step.completed {
  background: var(--color-accent-green);
  color: white;
}

/* Options Grid */
.options-modal-grid {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-content: start;
}

.option-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  background: var(--color-bg-card);
  border: 2px solid transparent;
  border-radius: 10px;
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-fast);
  aspect-ratio: 1/1;
  min-height: unset;
  height: auto;
}

.option-btn:hover {
  border-color: var(--color-secondary);
  transform: translateY(-2px);
}

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

.option-btn.selected {
  background: rgba(155, 89, 182, 0.3);
  border-color: var(--color-secondary);
  box-shadow: 0 4px 16px rgba(155, 89, 182, 0.3);
}

.option-btn.removal-selected {
  background: rgba(231, 76, 60, 0.25);
  border-color: #e74c3c;
  box-shadow: 0 4px 16px rgba(231, 76, 60, 0.3);
}

.option-btn.removal-selected .option-name {
  color: #ff9999;
}

.option-btn.skip-btn {
  background: var(--color-bg-dark);
  border: 2px dashed var(--color-text-muted);
}

.option-btn.skip-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-text);
}

.option-icon {
  font-size: 1.75rem;
}

.option-name {
  font-size: 0.6875rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  text-align: center;
  line-height: 1.2;
}

.option-price {
  font-size: 0.75rem;
  color: var(--color-accent-green);
  font-weight: 700;
}

/* Selected Summary */
.options-modal-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  background: var(--color-bg-dark);
  border-top: 1px solid var(--color-bg-card);
  border-bottom: 1px solid var(--color-bg-card);
  min-height: 60px;
}

.summary-tag {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.summary-tag.temp {
  background: rgba(255, 193, 7, 0.2);
  border: 1px solid var(--color-accent-yellow);
  color: var(--color-accent-yellow);
}

.summary-tag.add {
  background: rgba(76, 175, 80, 0.2);
  border: 1px solid var(--color-accent-green);
  color: var(--color-accent-green);
}

.summary-tag.remove {
  background: rgba(244, 67, 54, 0.2);
  border: 1px solid #f44336;
  color: #f44336;
}

/* Modal Footer */
.options-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--color-bg-card);
  gap: 12px;
}

.options-back-btn {
  padding: 14px 24px;
  border: 2px solid var(--color-text-muted);
  border-radius: 12px;
  background: transparent;
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.options-back-btn:hover {
  background: var(--color-bg-dark);
  border-color: var(--color-text);
}

.options-confirm-btn {
  flex: 1;
  padding: 16px 24px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-accent-green) 0%, #45d163 100%);
  color: white;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(76, 175, 80, 0.3);
}

.options-confirm-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.options-confirm-btn:active {
  transform: scale(0.98);
}

/* Delivery Section in Table View */
.delivery-section {
  background: linear-gradient(135deg, rgba(78, 205, 196, 0.15) 0%, rgba(255, 107, 157, 0.15) 100%);
  border: 2px solid var(--color-secondary);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  text-align: center;
}

.tray-status-mini {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.tray-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.deliver-btn {
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-accent-teal) 0%, var(--color-secondary) 100%);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

.deliver-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(78, 205, 196, 0.4);
}

/* ═══════════════════════════════════════════════════════════════
   FEEDBACK MODAL - Order Accuracy Issues
   ═══════════════════════════════════════════════════════════════ */

.feedback-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  animation: fadeIn 0.2s ease-out;
}

.feedback-modal-container {
  background: linear-gradient(180deg, #2d1b4e 0%, #1a0f2e 100%);
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 2px solid #ff6b35;
  animation: slideUp 0.3s ease-out;
}

.feedback-modal-header {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: rgba(255, 107, 53, 0.2);
  border-bottom: 2px solid #ff6b35;
  position: relative;
}

.feedback-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ff6b35;
  text-align: center;
  margin-bottom: 4px;
}

.feedback-modal-subtitle {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-align: center;
}

.feedback-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--color-bg-dark);
  color: var(--color-text);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.feedback-modal-close:hover {
  background: #ff6b35;
}

.feedback-modal-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.feedback-guest-section {
  margin-bottom: 16px;
  padding: 12px;
  background: var(--color-bg-card);
  border-radius: 12px;
  border: 1px solid rgba(255, 107, 53, 0.3);
}

.feedback-guest-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-bg-dark);
}

.feedback-issues-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feedback-issue {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(244, 67, 54, 0.1);
  border-radius: 8px;
  border-left: 3px solid #f44336;
}

.feedback-issue.missing {
  background: rgba(244, 67, 54, 0.15);
  border-left-color: #f44336;
}

.feedback-issue.wrong {
  background: rgba(255, 152, 0, 0.15);
  border-left-color: #ff9800;
}

.feedback-issue.wrong_temp {
  background: rgba(255, 193, 7, 0.15);
  border-left-color: #ffc107;
}

.feedback-issue.missing_additions,
.feedback-issue.missing_removals {
  background: rgba(33, 150, 243, 0.15);
  border-left-color: #2196f3;
}

.feedback-issue-icon {
  font-size: 1.25rem;
}

.feedback-issue-text {
  font-size: 0.875rem;
  color: var(--color-text);
}

.feedback-fix-section {
  margin-top: 20px;
  padding: 16px;
  background: rgba(76, 175, 80, 0.1);
  border-radius: 12px;
  border: 2px dashed rgba(76, 175, 80, 0.4);
}

.feedback-delivered-section {
  background: rgba(76, 175, 80, 0.15);
  border: 2px solid var(--color-accent-green);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 0 20px;
  margin-top: 16px;
}

.feedback-delivered-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-accent-green);
  margin-bottom: 8px;
}

.feedback-delivered-guests {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feedback-delivered-guest {
  padding: 6px 12px;
  background: rgba(76, 175, 80, 0.3);
  border-radius: 20px;
  font-size: 0.8125rem;
  color: var(--color-accent-green);
  font-weight: 600;
}

.feedback-guest-section.already-served {
  opacity: 0.6;
  background: rgba(255, 255, 255, 0.05);
}

.eating-badge {
  font-size: 0.6875rem;
  padding: 4px 10px;
  background: rgba(76, 175, 80, 0.3);
  border-radius: 20px;
  color: var(--color-accent-green);
  font-weight: 700;
  margin-left: 8px;
}

.feedback-fix-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent-green);
  margin-bottom: 12px;
  text-align: center;
}

.feedback-fix-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feedback-fix-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--color-bg-dark);
  border: 2px solid var(--color-accent-green);
  border-radius: 12px;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.feedback-fix-btn:hover {
  background: rgba(76, 175, 80, 0.2);
  transform: translateX(4px);
}

.feedback-fix-btn .fix-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-accent-green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
}

.feedback-fix-btn .fix-text {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 600;
}

.feedback-fix-btn .fix-temp {
  padding: 4px 10px;
  background: rgba(255, 193, 7, 0.2);
  border: 1px solid #ffc107;
  border-radius: 20px;
  font-size: 0.75rem;
  color: #ffc107;
  font-weight: 700;
}

.feedback-modal-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: var(--color-bg-card);
  border-top: 2px solid var(--color-bg-dark);
}

.feedback-cancel-btn {
  padding: 14px 24px;
  border: 2px solid var(--color-text-muted);
  border-radius: 12px;
  background: transparent;
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.feedback-cancel-btn:hover {
  background: var(--color-bg-dark);
  border-color: var(--color-text);
}

.feedback-force-btn {
  flex: 1;
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff6b35 0%, #f44336 100%);
  color: white;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(244, 67, 54, 0.3);
}

.feedback-force-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 67, 54, 0.4);
}

.feedback-fix-order-btn {
  flex: 1;
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-accent-green) 0%, #45d163 100%);
  color: white;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(76, 175, 80, 0.3);
}

.feedback-fix-order-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* ═══════════════════════════════════════════════════════════════
   BAR DELIVERIES SECTION
   ═══════════════════════════════════════════════════════════════ */

.bar-deliveries-section {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.15) 0%, rgba(78, 205, 196, 0.15) 100%);
  border: 2px solid var(--color-accent-purple);
  border-radius: 12px;
  padding: 12px;
  margin-top: 12px;
}

.bar-deliveries-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.bar-deliveries-title {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-accent-purple);
}

.bar-deliveries-count {
  background: var(--color-accent-purple);
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

.bar-deliveries-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bar-delivery-card {
  background: var(--color-bg-card);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.bar-delivery-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.bar-delivery-seat {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-text);
}

.bar-delivery-items {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bar-delivery-btn {
  padding: 8px 16px;
  background: var(--color-accent-purple);
  color: white;
  border: none;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.bar-delivery-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(155, 89, 182, 0.4);
}

.bar-delivery-btn:active {
  transform: scale(0.98);
}

/* POS Actions Bar - Back button + Submit */
.pos-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--color-bg-card);
  border-top: 2px solid var(--color-secondary);
  flex-shrink: 0;
  gap: 12px;
}

.pos-back-bottom-btn {
  padding: 12px 16px;
  background: var(--color-bg-dark);
  border: 2px solid var(--color-text-muted);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pos-back-bottom-btn:hover {
  background: var(--color-bg-card);
  border-color: var(--color-text);
}

.pos-clear-btn {
  padding: 12px 20px;
  background: transparent;
  border: 2px solid var(--color-text-muted);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pos-clear-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.pos-submit-btn {
  flex: 1;
  padding: 14px 24px;
  background: var(--color-accent-green);
  border: none;
  border-radius: var(--radius-md);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pos-submit-btn:hover:not(.disabled) {
  background: #45d163;
  transform: translateY(-1px);
}

.pos-submit-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════════
   SHARED POS INTEGRATION
   ═══════════════════════════════════════════════════════════════ */

.pos-container-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  pointer-events: none; /* Allow clicks to pass through when empty */
}

.pos-container-wrapper .pos-overlay {
  pointer-events: auto; /* POS content captures clicks when present */
}

/* ═══════════════════════════════════════════════════════════════
   FEEDBACK MODAL (Waitress-specific extension)
   ═══════════════════════════════════════════════════════════════ */

.feedback-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 300;
}

.feedback-modal-content {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 400px;
  max-height: 80%;
  overflow-y: auto;
}

.feedback-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--color-bg-dark);
  border-bottom: 2px solid var(--color-border);
}

.feedback-header h3 {
  margin: 0;
  font-size: 1.25rem;
}

.feedback-close {
  padding: 8px 16px;
  background: var(--color-accent-red);
  border: none;
  border-radius: var(--radius-md);
  color: white;
  font-size: 1.125rem;
  cursor: pointer;
}

.feedback-body {
  padding: 16px;
}

.feedback-actions {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-top: 2px solid var(--color-border);
}