/* ==========================================================================
   CSS DESIGN SYSTEM - DRINK ORDERING TOOL (PREMIUM GLASSMORPHIC DEEP DARK)
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #0b0a12;
  --bg-secondary: #13121f;
  --card-bg: rgba(22, 21, 38, 0.7);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-hover-border: rgba(255, 255, 255, 0.18);
  
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  /* Brand Accents */
  --primary: #f08a4b; /* Soft warm orange/amber */
  --primary-hover: #ff9d63;
  --primary-glow: rgba(240, 138, 75, 0.35);
  
  --accent: #20c997; /* Emerald Teal */
  --accent-hover: #26e6ad;
  --accent-glow: rgba(32, 201, 151, 0.25);
  
  --danger: #ff4757;
  --danger-hover: #ff6b81;
  --danger-glow: rgba(255, 71, 87, 0.25);

  --info: #00b0ff;
  --info-hover: #40c4ff;
  
  /* Layout */
  --header-height: 70px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', var(--font-sans);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   GLOW BACKGROUND & SHADOW EFFECTS
   ========================================================================== */

.glow-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.glow-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.4;
}

.circle-1 {
  top: -10%;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
}

.circle-2 {
  bottom: 10%;
  left: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
}

/* ==========================================================================
   LAYOUT CONTAINERS
   ========================================================================== */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.main-content {
  padding-top: 40px;
  padding-bottom: 100px;
}

/* ==========================================================================
   GLASSMORPHISM CARD STYLING
   ========================================================================== */

.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-md);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.glass-card:hover {
  border-color: var(--card-hover-border);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.app-header {
  height: var(--header-height);
  background: rgba(11, 10, 18, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--card-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 26px;
}

.logo h1 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.logo h1 span {
  color: var(--primary);
}

.app-nav {
  display: flex;
  gap: 8px;
}

.nav-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.nav-btn svg {
  transition: transform var(--transition-fast);
}

.nav-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-btn.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.nav-btn.active svg {
  color: var(--primary);
  transform: scale(1.05);
}

/* ==========================================================================
   VIEW TOGGLING (ORDER / ADMIN)
   ========================================================================== */

.view-section {
  display: none;
  animation: fadeIn var(--transition-normal) forwards;
}

.view-section.active {
  display: block;
}

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

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 6px;
}

.btn-primary {
  background: var(--primary);
  color: #000;
  font-weight: 700;
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-hover);
  box-shadow: 0 0 15px var(--primary-glow);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  background: var(--text-muted);
  color: var(--text-secondary);
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-accent {
  background: var(--accent);
  color: #000;
  font-weight: 700;
}

.btn-accent:hover:not(:disabled) {
  background: var(--accent-hover);
  box-shadow: 0 0 15px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-danger {
  background: var(--danger);
  color: var(--text-primary);
}

.btn-danger:hover:not(:disabled) {
  background: var(--danger-hover);
  box-shadow: 0 0 15px var(--danger-glow);
}

.btn-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.btn-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.btn-icon:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   INPUTS & FORM CONTROLS
   ========================================================================== */

.input-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.required {
  color: var(--danger);
}

.form-control {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  outline: none;
  transition: all var(--transition-fast);
  width: 100%;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background: rgba(0, 0, 0, 0.35);
}

.form-control::placeholder {
  color: var(--text-muted);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  padding-right: 40px;
}

select.form-control option {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  padding-right: 45px;
}

.password-wrapper button {
  position: absolute;
  right: 12px;
  color: var(--text-secondary);
}

.help-text {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.inline-form {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.inline-form input {
  flex: 1;
}

/* ==========================================================================
   VIEW 1: ORDER SECTION
   ========================================================================== */

.config-card {
  padding: 24px;
  margin-bottom: 24px;
}

.section-title-small {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
}

.config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

/* Menu Header (Search & Filter) */
.menu-header-bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box svg {
  position: absolute;
  left: 16px;
  color: var(--text-secondary);
}

.search-box input {
  padding-left: 48px;
  height: 50px;
  border-radius: 30px;
  font-size: 16px;
  background: var(--card-bg);
  border-color: var(--card-border);
  color: #ffffff;
  outline: none;
}

.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.category-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.category-chips::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome/Safari */
}

.chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
}

.chip.active {
  background: rgba(240, 138, 75, 0.15);
  border-color: var(--primary);
  color: var(--primary);
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  min-height: 200px;
}

.menu-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.menu-card-top {
  margin-bottom: 16px;
}

.item-category-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(32, 201, 151, 0.1);
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.item-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.item-options-preview {
  font-size: 12px;
  color: var(--text-muted);
}

.menu-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 12px;
}

.item-price {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.btn-add-item {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #000;
  border: none;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-add-item:hover {
  transform: scale(1.1);
  background: var(--primary-hover);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Placeholder card when empty */
.no-menu-placeholder {
  grid-column: 1 / -1;
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.placeholder-icon {
  font-size: 48px;
}

.no-menu-placeholder h3 {
  font-family: var(--font-display);
  font-size: 20px;
}

.no-menu-placeholder p {
  color: var(--text-secondary);
  max-width: 400px;
  font-size: 14px;
}

/* ==========================================================================
   ITEM CUSTOMIZATION MODAL (POPUP)
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  width: 100%;
  max-width: 500px;
  padding: 30px;
  margin: 16px;
  border-radius: var(--border-radius-lg);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-overlay:not(.hidden) .modal-content {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.modal-close-icon {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close-icon:hover {
  color: var(--text-primary);
}

.modal-price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

.custom-option-group {
  margin-bottom: 20px;
}

.option-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.option-buttons-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.option-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.option-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.option-btn.active {
  background: rgba(240, 138, 75, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

.quantity-selector-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  padding: 4px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-radius: 4px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.qty-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.qty-val {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  width: 24px;
  text-align: center;
}

.modal-footer {
  margin-top: 24px;
}

/* ==========================================================================
   FLOATING CART & CART DRAWER
   ========================================================================== */

.floating-cart {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  animation: popIn var(--transition-normal) forwards;
}

@keyframes popIn {
  from {
    transform: scale(0.8) translateY(20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.cart-trigger-btn {
  background: var(--primary);
  color: #000;
  border: none;
  padding: 14px 24px;
  border-radius: 40px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 10px 25px var(--primary-glow);
  transition: all var(--transition-fast);
}

.cart-trigger-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(240, 138, 75, 0.5);
}

.cart-count-badge {
  background: #000;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Drawer overlay */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.cart-drawer-overlay:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  border-radius: 0;
  border-left: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
}

.cart-drawer-overlay:not(.hidden) .cart-drawer {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-header h3 {
  font-family: var(--font-display);
  font-size: 20px;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.cart-item-info {
  flex: 1;
  padding-right: 12px;
}

.cart-item-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

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

.cart-item-note {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 4px;
}

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

.cart-item-price {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}

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

.cart-item-qty-adjust {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  width: 24px;
  height: 24px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.cart-item-qty {
  font-size: 14px;
  font-weight: 600;
  width: 16px;
  text-align: center;
}

.btn-remove-cart {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 12px;
  padding: 4px;
}

.btn-remove-cart:hover {
  text-decoration: underline;
}

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

.empty-icon {
  font-size: 40px;
}

.drawer-footer {
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.2);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

#cart-total-price {
  color: var(--primary);
}

/* ==========================================================================
   VIEW 2: ADMIN SECTION STYLING
   ========================================================================== */

.admin-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.admin-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.admin-card {
  overflow: hidden;
}

.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-header-icon {
  font-size: 18px;
  margin-right: 8px;
}

.card-header h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  flex: 1;
}

.card-body {
  padding: 20px;
}

/* Dynamic team manager list */
.admin-team-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 150px;
  overflow-y: auto;
  padding: 4px;
}

.admin-team-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-team-chip .delete-team-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.admin-team-chip .delete-team-btn:hover {
  color: var(--danger);
  background: rgba(255, 71, 87, 0.1);
}

/* OCR Drop Zone */
.drop-zone {
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-md);
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.15);
  transition: all var(--transition-fast);
  margin-bottom: 16px;
}

.drop-zone:hover, .drop-zone.dragover {
  border-color: var(--primary);
  background: rgba(240, 138, 75, 0.05);
}

.file-input-hidden {
  display: none;
}

.drop-icon {
  font-size: 32px;
  margin-bottom: 10px;
  display: block;
}

.drop-text-primary {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

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

/* Multi-Image Gallery Previews */
.ocr-previews-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
  max-height: 200px;
  overflow-y: auto;
  padding: 4px;
  border: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius-sm);
}

.ocr-gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
}

.ocr-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ocr-gallery-item .btn-remove-thumb {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  font-size: 11px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.5);
  transition: background var(--transition-fast);
}

.ocr-gallery-item .btn-remove-thumb:hover {
  background: var(--danger);
}

/* Spinner helper */
.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hidden {
  display: none !important;
}

/* Status message */
.status-msg {
  padding: 10px 14px;
  border-radius: var(--border-radius-sm);
  font-size: 13px;
  margin-top: 12px;
}

.status-msg.success {
  background: rgba(32, 201, 151, 0.1);
  color: var(--accent);
  border: 1px solid rgba(32, 201, 151, 0.2);
}

.status-msg.error {
  background: rgba(255, 71, 87, 0.1);
  color: var(--danger);
  border: 1px solid rgba(255, 71, 87, 0.2);
}

.status-msg.info {
  background: rgba(0, 176, 255, 0.1);
  color: var(--info);
  border: 1px solid rgba(0, 176, 255, 0.2);
}

/* Form Grid */
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.form-grid .input-group {
  margin-bottom: 0;
}

/* Compact Menu List */
.menu-list-compact-container h4 {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-menu-list-compact {
  list-style: none;
  max-height: 250px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-menu-list-compact li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  font-size: 13px;
}

.admin-menu-list-compact li span.price {
  color: var(--text-secondary);
  font-weight: 500;
  margin-left: auto;
  margin-right: 12px;
}

.admin-menu-list-compact li button.delete-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.admin-menu-list-compact li button.delete-btn:hover {
  color: var(--danger);
}

.empty-list-item {
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
  padding: 20px !important;
  background: none !important;
  border: none !important;
}

/* Highlighted summary card */
.highlighted-card {
  border-color: rgba(240, 138, 75, 0.2);
}

.summary-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  padding: 16px;
  margin-bottom: 16px;
}

.summary-text {
  width: 100%;
  height: 200px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: monospace;
  font-size: 13px;
  line-height: 1.5;
  resize: none;
  outline: none;
}

.summary-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}

.stat-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-sm);
  padding: 12px 6px;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

/* Orders List */
.team-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 16px;
}

.team-tab-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 4px;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.team-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.team-tab-btn.active {
  color: #000;
  background: var(--text-primary);
}

.orders-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.team-order-group {
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.15);
}

.team-group-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 16px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.team-group-body {
  padding: 8px 16px;
}

.individual-order {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.individual-order:last-child {
  border-bottom: none;
}

.order-person-info {
  flex: 1;
}

.order-person-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}

.order-items-list {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.order-item-detail {
  margin-bottom: 4px;
}

.order-item-detail:last-child {
  margin-bottom: 0;
}

.order-meta-label {
  color: var(--text-muted);
}

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

.no-orders-placeholder {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  padding: 40px;
}

/* ==========================================================================
   TOAST SYSTEM
   ========================================================================== */

.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
}

.toast {
  background: var(--bg-secondary);
  border-left: 4px solid var(--primary);
  color: var(--text-primary);
  padding: 12px 20px;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  animation: slideIn var(--transition-fast) forwards;
}

.toast.success {
  border-left-color: var(--accent);
}

.toast.error {
  border-left-color: var(--danger);
}

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

.toast.fade-out {
  animation: slideOut var(--transition-fast) forwards;
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* ==========================================================================
   RESPONSIVENESS & MEDIA QUERIES
   ========================================================================== */

@media (max-width: 992px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding-top: 20px;
  }
  .config-grid {
    grid-template-columns: 1fr;
  }
  .search-box input {
    font-size: 14px;
  }
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .floating-cart {
    bottom: 16px;
    right: 16px;
  }
  .cart-trigger-btn {
    padding: 10px 18px;
    font-size: 14px;
  }
  .modal-content {
    padding: 20px;
  }
}

/* Edit Order Modal Items */
.edit-items-list {
  border: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--border-radius-sm);
  padding: 12px;
}

.edit-item-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.edit-item-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.edit-item-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.edit-item-row-bottom {
  display: grid;
  grid-template-columns: 80px 100px 100px 1fr;
  gap: 8px;
  align-items: center;
}

.edit-item-row-bottom .form-control {
  padding: 6px 10px;
  font-size: 13px;
  height: 34px;
}

.edit-item-row-bottom select.form-control {
  background-position: right 8px center;
  background-size: 12px;
  padding-right: 24px;
}

.edit-item-row-qty {
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--card-border);
  border-radius: 4px;
  height: 34px;
  padding: 2px;
}

.edit-item-row-qty button {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: #fff;
  border-radius: 2px;
  cursor: pointer;
}

.edit-item-row-qty span {
  width: 26px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}

/* ==========================================================================
   SHOP LIST MANAGEMENT STYLES
   ========================================================================== */
.admin-shops-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 4px;
  margin-top: 10px;
}

.admin-shop-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.admin-shop-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
}

.admin-shop-item.active {
  background: rgba(32, 201, 151, 0.15);
  border-color: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

.shop-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-shop-item.active .shop-item-name {
  color: var(--text-primary);
}

.shop-status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--text-muted);
  border-radius: 50%;
  display: inline-block;
}

.admin-shop-item.active .shop-status-dot {
  background-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.delete-shop-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.delete-shop-btn:hover {
  color: var(--danger);
  background: rgba(255, 71, 87, 0.1);
}

.rename-shop-btn:hover {
  color: var(--primary);
  background: rgba(240, 138, 75, 0.15);
}

