/* HomeSpaJKT Luxury Mobile Order App - Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --gold-primary: #d4af37;
  --gold-light: #f5e2a3;
  --gold-dark: #aa771c;
  --bg-onyx: #0a0d14;
  --bg-surface: #121622;
  --bg-card: #181e2b;
  --bg-card-hover: #202738;
  --border-gold: rgba(212, 175, 55, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-onyx);
  color: var(--text-main);
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

/* Glassmorphism Luxury Header */
.glass-header {
  background: rgba(10, 13, 20, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-gold);
}

/* Gold Gradient Text */
.gold-gradient-text {
  background: linear-gradient(135deg, #fff3c9 0%, #d4af37 45%, #f3d47d 80%, #aa7c19 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Luxury Gold Button */
.gold-btn {
  background: linear-gradient(135deg, #fce59f 0%, #d4af37 50%, #aa771c 100%);
  color: #0b0d13;
  font-weight: 800;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.gold-btn:hover {
  background: linear-gradient(135deg, #fff0bf 0%, #e5c04b 50%, #ba8623 100%);
  box-shadow: 0 10px 25px -4px rgba(212, 175, 55, 0.35);
  transform: translateY(-1px);
}

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

/* Live Pulse Indicator */
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Luxury Card Background */
.luxury-card {
  background: linear-gradient(145deg, #151a26 0%, #10141e 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 1rem;
}

/* Service Card Interactive Styles */
.svc-card {
  position: relative;
  background: linear-gradient(145deg, #161c28 0%, #111520 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  color: #f8fafc;
}

.svc-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 6px 20px -4px rgba(212, 175, 55, 0.18);
  transform: translateY(-1px);
}

.svc-card.selected {
  border: 2px solid #d4af37 !important;
  background: linear-gradient(145deg, #1c2232, #141926) !important;
  box-shadow: 0 8px 24px -4px rgba(212, 175, 55, 0.28) !important;
  transform: scale(1.005);
}

.svc-card.selected .check-circle {
  background-color: #d4af37 !important;
  color: #0b0d13 !important;
  border-color: #d4af37 !important;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.5);
}

/* Duration Buttons */
.dur-btn {
  background: #141824;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.dur-btn:hover {
  border-color: #d4af37;
  color: #f5e2a3;
}

.dur-btn.active, .dur-btn.selected {
  background: linear-gradient(135deg, #fce59f 0%, #d4af37 50%, #aa771c 100%) !important;
  border-color: #d4af37 !important;
  color: #0b0d13 !important;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

/* Safe Area Sticky Bottom Bar */
.sticky-bottom-bar {
  padding-bottom: calc(0.85rem + var(--safe-bottom));
  box-shadow: 0 -8px 30px -4px rgba(0, 0, 0, 0.6);
  background: rgba(14, 18, 28, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
}

/* Radar Pulse Animation for Live Therapist Search */
.radar-pulse {
  position: relative;
  width: 140px;
  height: 140px;
}

.radar-pulse::before,
.radar-pulse::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.25);
  animation: pulseAnim 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.radar-pulse::after {
  animation-delay: 1s;
}

@keyframes pulseAnim {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Hide scrollbar utility */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Custom Soft Scrollbar for lists */
.custom-scrollbar::-webkit-scrollbar {
  width: 5px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: #111520;
  border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #2a3348;
  border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
}

/* Live Tracking Map Styles */
#tracking-map {
  min-height: 220px;
  width: 100%;
}
#tracking-map .leaflet-pane {
  z-index: 10 !important;
}
#tracking-map .leaflet-top,
#tracking-map .leaflet-bottom {
  z-index: 20 !important;
}

/* Input Fields on Dark Theme */
.luxury-input {
  background-color: #141926;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  transition: all 0.2s ease;
}

.luxury-input:focus {
  border-color: #d4af37;
  outline: none;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25);
  background-color: #181e2e;
}

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