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

:root {
  --primary: #FF6B6B;
  --primary-color: #FF6B6B;
  --secondary: #4ECDC4;
  --secondary-color: #4ECDC4;
  --accent: #FFD93D;
  --accent-color: #FFD93D;
  --dark: #1A1A2E;
  --darker: #16213E;
  --light: #F7F7F7;
  --success: #06D6A0;
  --danger: #EF476F;
  --warning: #FFD166;
  --glass: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(26, 26, 46, 0.85);
  --card-bg: rgba(26, 26, 46, 0.75);
  --glass-border: rgba(255, 255, 255, 0.18);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --radius: 16px;
}

body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #0F0F23 0%, #1A1A2E 100%);
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header Styles */
.main-header {
  background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 15px 30px;
  position: relative;
  z-index: 100;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.logo-icon {
  font-size: 2.5rem;
  color: var(--accent);
  background: linear-gradient(45deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.shop-name h1 {
  font-family: 'Audiowide', cursive;
  font-size: 1.8rem;
  background: linear-gradient(45deg, #FFD93D, #FF6B6B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}

.shop-tagline {
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 300;
}

.header-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-btn {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-btn:hover {
  background: rgba(255, 107, 107, 0.2);
  transform: translateY(-2px);
}

.nav-btn.active {
  background: linear-gradient(45deg, var(--primary), #FF8B8B);
  border-color: transparent;
}

html.auth-pending body {
  visibility: hidden;
}

.auth-user-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(78, 205, 196, 0.14);
  border: 1px solid rgba(78, 205, 196, 0.35);
  color: #e2e8f0;
  padding: 8px 14px;
  border-radius: 25px;
  font-size: 0.84rem;
  max-width: 220px;
}

.auth-user-pill i {
  color: var(--secondary);
  flex-shrink: 0;
}

.auth-user-pill span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-logout-btn {
  background: rgba(239, 71, 111, 0.16);
  border-color: rgba(239, 71, 111, 0.38);
  color: #fecdd3;
}

.nav-logout-btn:hover {
  background: rgba(239, 71, 111, 0.32);
  color: white;
}

.user-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
}

.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(78, 205, 196, 0.14);
  border: 1px solid rgba(78, 205, 196, 0.35);
  color: var(--secondary);
  padding: 8px 14px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 500;
  max-width: 210px;
}

.user-pill span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logout-btn {
  background: rgba(239, 71, 111, 0.16);
  border-color: rgba(239, 71, 111, 0.4);
  color: #fecdd3;
}

.logout-btn:hover {
  background: rgba(239, 71, 111, 0.32);
  color: white;
}

.auth-guard-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #0F0F23 0%, #1A1A2E 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 5000;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.auth-guard-overlay i {
  font-size: 2.4rem;
  color: var(--primary);
}

.header-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

/* Main Container */
.main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 25px;
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 25px;
  min-height: calc(100vh - 100px);
  align-items: start;
}

/* Cart Section */
.cart-section {
  background: rgba(26, 26, 46, 0.75);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 20px;
  overflow: hidden;
}

.cart-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
}

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

.cart-title i {
  font-size: 1.8rem;
  color: var(--primary);
}

.cart-title h2 {
  font-size: 1.4rem;
  font-weight: 600;
}

.invoice-number {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 4px;
}

.cart-time {
  color: #94a3b8;
  font-size: 0.85rem;
  text-align: right;
}

/* Customer Section */
.customer-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-group i {
  position: absolute;
  left: 12px;
  color: #94a3b8;
  font-size: 0.9rem;
  z-index: 1;
}

.input-group input {
  width: 100%;
  padding: 11px 12px 11px 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: white;
  font-size: 0.88rem;
  transition: all 0.3s;
}

.input-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.input-group input::placeholder {
  color: #64748b;
}

/* Cart Items Section */
.cart-items-section {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 12px;
  border: 1px solid var(--glass-border);
}

.cart-items-header {
  display: grid;
  grid-template-columns: 2.1fr 1.25fr 1.1fr 1.2fr 0.55fr;
  padding: 12px 12px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-items: center;
}

.cart-items-header span:nth-child(2),
.cart-items-header span:nth-child(3),
.cart-items-header span:nth-child(4) {
  text-align: center;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 6px 10px;
  max-height: 250px;
  min-height: 130px;
}

.cart-item {
  display: grid;
  grid-template-columns: 2.1fr 1.25fr 1.1fr 1.2fr 0.55fr;
  align-items: center;
  padding: 8px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 50px;
  gap: 4px;
}

.cart-item:last-child {
  border-bottom: none;
}

.item-name {
  font-weight: 400;
  font-size: 0.86rem;
  color: white;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.item-qty {
  display: flex;
  align-items: center;
  gap: 3px;
  justify-content: center;
}

.qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.07);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.qty-btn:hover {
  background: rgba(255, 107, 107, 0.25);
  border-color: var(--primary);
}

.qty-input {
  width: 38px;
  height: 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: white;
  border-radius: 6px;
  font-size: 0.85rem;
  -moz-appearance: textfield;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-input:focus {
  outline: none;
  border-color: var(--primary);
}

.item-price,
.item-total {
  text-align: center;
  font-weight: 500;
  color: var(--accent);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-delete {
  display: flex;
  align-items: center;
  justify-content: center;
}

.delete-btn {
  background: rgba(239, 71, 111, 0.12);
  border: 1px solid rgba(239, 71, 111, 0.25);
  color: var(--danger);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 0.8rem;
}

.delete-btn:hover {
  background: rgba(239, 71, 111, 0.28);
  transform: scale(1.08);
}

.empty-cart {
  text-align: center;
  padding: 35px 20px;
  color: #64748b;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.empty-cart i {
  font-size: 2.5rem;
  margin-bottom: 10px;
  opacity: 0.35;
}

.empty-cart p {
  color: #94a3b8;
  font-size: 1rem;
  margin-bottom: 4px;
}

.empty-cart small {
  font-size: 0.85rem;
  color: #64748b;
}

/* Cart Summary */
.cart-summary {
  background: rgba(0, 0, 0, 0.22);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--glass-border);
}

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

.summary-row span:first-child {
  color: #94a3b8;
  font-size: 1rem;
}

.summary-row span:last-child {
  color: white;
  font-weight: 500;
  font-size: 1rem;
}

.discount-row {
  align-items: center;
}

.discount-inputs {
  display: flex;
  gap: 8px;
  align-items: center;
}

.discount-input-group {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 8px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  width: 88px;
}

.discount-input-group input {
  background: transparent;
  border: none;
  color: #10b981;
  width: 100%;
  text-align: right;
  font-size: 14px;
  font-weight: 500;
  outline: none;
}

.discount-input-group span {
  color: #10b981;
  font-weight: bold;
  font-size: 12px;
}

.discount-input-group input::placeholder {
  color: rgba(16, 185, 129, 0.5);
}

.total-row {
  padding-top: 12px;
  margin-bottom: 0;
  border-top: 2px solid var(--glass-border);
  font-size: 1.3rem;
  font-weight: 600;
}

.total-row span:first-child {
  color: white;
}

.total-row span:last-child {
  color: var(--accent);
  font-size: 1.35rem;
}

/* Payment Section */
.payment-section {
  background: rgba(0, 0, 0, 0.22);
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid var(--glass-border);
}

.payment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.payment-row:last-child {
  margin-bottom: 0;
}

.payment-row span:first-child {
  color: #94a3b8;
  font-size: 0.92rem;
}

.payment-row span:last-child {
  color: white;
  font-weight: 500;
  font-size: 0.98rem;
}

.payment-type {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 4px 14px;
  border-radius: 15px;
  font-size: 0.82rem;
  font-weight: 500;
}

/* Action Buttons */
.action-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.btn {
  padding: 13px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.btn-cash {
  background: linear-gradient(45deg, var(--primary), #FF8B8B);
  color: white;
}

.btn-card {
  background: linear-gradient(45deg, var(--secondary), #3DC8C0);
  color: white;
}

.btn-clear {
  background: rgba(239, 71, 111, 0.18);
  border: 1px solid var(--danger);
  color: var(--danger);
}

.btn-print {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  color: white;
}

/* Menu Section */
.menu-section {
  background: rgba(26, 26, 46, 0.75);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 25px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 150px);
}

.menu-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--glass-border);
}

.menu-header h3 {
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-header h3 i {
  color: var(--secondary);
}

.menu-header-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

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

.menu-search i {
  position: absolute;
  left: 13px;
  color: #94a3b8;
  font-size: 0.9rem;
}

.menu-search input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 9px 16px 9px 36px;
  color: white;
  font-size: 0.9rem;
  width: 230px;
  transition: all 0.25s;
}

.menu-search input:focus {
  outline: none;
  border-color: var(--secondary);
  background: rgba(255, 255, 255, 0.1);
  width: 260px;
}

.menu-stats {
  color: #94a3b8;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
}

/* Category Filter Bar */
.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.category-tab {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  color: #cbd5e1;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.category-tab:hover {
  background: rgba(78, 205, 196, 0.18);
  color: white;
  border-color: var(--secondary);
}

.category-tab.active {
  background: linear-gradient(45deg, var(--secondary), #3DC8C0);
  color: #0f172a;
  font-weight: 600;
  border-color: transparent;
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 18px;
  overflow-y: auto;
  padding-right: 5px;
  align-content: start;
}

.menu-item {
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 15px 12px;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 215px;
  position: relative;
}

.menu-item:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  background: rgba(255, 107, 107, 0.07);
}

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

.menu-category-badge {
  font-size: 0.7rem;
  color: #94a3b8;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.menu-img {
  width: 108px;
  height: 108px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
  border: 2px solid rgba(255, 217, 61, 0.35);
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.35s;
}

.menu-item:hover .menu-img {
  transform: scale(1.07);
  border-color: var(--accent);
}

.menu-item h4 {
  font-size: 0.95rem;
  font-weight: 500;
  margin: 6px 0 8px;
  color: white;
  line-height: 1.25;
  min-height: 2.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.menu-price {
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  width: 100%;
}

.empty-menu {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #94a3b8;
}

.empty-menu i {
  font-size: 3rem;
  margin-bottom: 12px;
  opacity: 0.4;
}

/* Paypad Sidebar */
.paypad-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  background: rgba(22, 33, 62, 0.97);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--glass-border);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.paypad-sidebar.active {
  transform: translateX(0);
}

.paypad-container {
  padding: 24px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.paypad-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--glass-border);
}

.paypad-header h4 {
  font-size: 1.2rem;
  font-weight: 500;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}

.close-paypad {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.close-paypad:hover {
  background: rgba(239, 71, 111, 0.3);
  transform: rotate(90deg);
}

.paypad-display {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  text-align: center;
}

.display-label {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 6px;
}

.display-amount {
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 1px;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.display-due {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-top: 6px;
}

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

.quick-pay-btn {
  padding: 9px 6px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: rgba(78, 205, 196, 0.14);
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
}

.quick-pay-btn:hover {
  background: rgba(78, 205, 196, 0.28);
  color: white;
}

.paypad-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.paypad-btn {
  height: 62px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font-size: 1.65rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.paypad-btn:hover {
  background: rgba(255, 107, 107, 0.22);
  transform: translateY(-2px);
}

.btn-back,
.btn-clear {
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.1);
}

.btn-complete {
  grid-column: span 3;
  background: linear-gradient(45deg, var(--success), #05C493);
  color: #06281e;
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 64px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-complete:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 214, 160, 0.35);
}

.paypad-footer {
  text-align: center;
  color: #94a3b8;
  font-size: 0.85rem;
  padding-top: 10px;
  border-top: 1px solid var(--glass-border);
  margin-top: auto;
}

.paypad-footer p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Page Overlay for Paypad */
.paypad-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  pointer-events: none;
}

.paypad-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Toast Notification */
.pos-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(22, 33, 62, 0.96);
  color: white;
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--success);
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  font-size: 0.95rem;
  animation: toastSlideIn 0.25s ease;
}

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

.pos-toast.warning {
  border-left-color: var(--warning);
}

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

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, var(--secondary), var(--primary));
}

.cart-items::-webkit-scrollbar {
  width: 6px;
}

/* Responsive */
@media (max-width: 1200px) {
  .main-container {
    grid-template-columns: 390px 1fr;
    gap: 20px;
    padding: 20px;
  }
}

@media (max-width: 1024px) {
  .main-container {
    grid-template-columns: 1fr;
  }

  .cart-section {
    position: static;
  }

  .paypad-sidebar {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .main-container {
    padding: 15px;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .customer-section {
    grid-template-columns: 1fr;
  }

  .menu-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
  }

  .paypad-sidebar {
    width: 100%;
    max-width: none;
  }
}
