/* TRP POS Custom Modern UI Styles - Develop By Techrahulpal */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --primary: #f59e0b;
  --primary-dark: #d97706;
  --secondary: #0f172a;
  --accent: #10b981;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-tap-highlight-color: transparent;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
}

/* Table Color Indicators */
.table-status-free {
  border-color: #10b981 !important;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.12), rgba(15, 23, 42, 0.8)) !important;
}

.table-status-occupied {
  border-color: #f97316 !important;
  background: linear-gradient(145deg, rgba(249, 115, 22, 0.15), rgba(15, 23, 42, 0.8)) !important;
}

.table-status-bill_requested {
  border-color: #3b82f6 !important;
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.15), rgba(15, 23, 42, 0.8)) !important;
}

.table-status-payment_pending {
  border-color: #ef4444 !important;
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.15), rgba(15, 23, 42, 0.8)) !important;
}

.table-status-reserved {
  border-color: #6b7280 !important;
  background: linear-gradient(145deg, rgba(107, 114, 128, 0.12), rgba(15, 23, 42, 0.8)) !important;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}
::-webkit-scrollbar-thumb {
  background: rgba(245, 158, 11, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 158, 11, 0.6);
}

/* Pulse Glow Animation */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 0.4; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.pulse-glow {
  animation: pulse-ring 2s infinite ease-in-out;
}

/* Thermal Receipt Print Styles (58mm & 80mm standard pos receipt) */
@media print {
  body * {
    visibility: hidden;
  }
  #thermal-receipt-area, #thermal-receipt-area * {
    visibility: visible;
  }
  #thermal-receipt-area {
    position: absolute;
    left: 0;
    top: 0;
    width: 80mm;
    margin: 0;
    padding: 2mm;
    color: #000 !important;
    background: #fff !important;
    font-family: 'Courier New', Courier, monospace !important;
    font-size: 12px !important;
  }
  .no-print {
    display: none !important;
  }
}
