@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 {
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --hawker-orange: #f97316;
  --hawker-orange-dark: #ea580c;
  --hawker-red: #ef4444;
  --hawker-dark: #0f172a;
}

html, body {
  font-family: var(--font-main);
  background-color: #0b0f19;
  color: #f1f5f9;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: border-box;
}

img, svg, video, canvas {
  max-width: 100%;
}

/* Header Brand Logo Flexible Sizing (Controlled dynamically by Superadmin) */
#site-brand-logo-link {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  z-index: 20;
}

#site-brand-logo-img {
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  display: block !important;
  transition: height 0.2s ease;
}

@media (max-width: 640px) {
  #site-brand-logo-link {
    max-width: 48vw !important;
  }
}

/* Hide scrollbar for horizontal mobile quick-nav */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #f97316;
}

/* Gradient text */
.text-gradient-orange {
  background: linear-gradient(135deg, #fb923c 0%, #f97316 50%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism */
.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-panel-glow {
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(249, 115, 22, 0.25);
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.12);
}

.glass-nav {
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* 5 Banner Slideshow styling */
.banner-slide {
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  pointer-events: none;
  position: absolute;
  inset: 0;
  transform: scale(0.97);
}

.banner-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  transform: scale(1);
}

/* Thermal Receipt Ticket Styling */
.thermal-receipt {
  background-color: #fafaf9;
  color: #1c1917;
  font-family: var(--font-mono);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  border-radius: 4px;
}

.thermal-receipt::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: radial-gradient(circle, transparent, transparent 50%, #fafaf9 50%, #fafaf9 100%);
  background-size: 14px 14px;
}

/* Pulsing Badge */
@keyframes pulse-subtle {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
}
.pulse-badge {
  animation: pulse-subtle 3s infinite ease-in-out;
}

/* Floating animation */
@keyframes float-slow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
.animate-float {
  animation: float-slow 4s infinite ease-in-out;
}

/* PayNow SGQR Styling */
.paynow-badge {
  background: #7c0032;
  color: white;
  border-radius: 6px;
}

/* Input glow effect */
.form-input-focus:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
  outline: none;
}

/* Modal styling */
.modal-backdrop {
  background-color: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
}

/* Progress bar */
.progress-step.active {
  background-color: #f97316;
  color: white;
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.5);
}
.progress-step.completed {
  background-color: #10b981;
  color: white;
}
