:root {
  --primary: #f59e0b;
  --primary-glow: rgba(245, 158, 11, 0.4);
  --bg-dark: #0a0b0e;
  --panel-bg: rgba(18, 18, 24, 0.76);
  --panel-border: rgba(255, 255, 255, 0.16);
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-sub: rgba(255, 255, 255, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
}

body, html {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: var(--bg-dark);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
}

#app-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scene-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.barbershop-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  filter: brightness(0.96) contrast(1.05);
}

/* Warm Room Ambient Pulse Layer */
.ambient-glow-layer {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 48%, rgba(245, 158, 11, 0.18) 0%, rgba(180, 83, 9, 0.08) 45%, transparent 75%);
  pointer-events: none;
  transition: opacity 0.15s ease-out;
  opacity: 0.6;
}

/* Particles Canvas */
#dust-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

/* Sunbeam Light Rays Overlay */
.sunbeams-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(254, 240, 138, 0.08) 0%, rgba(251, 191, 36, 0.04) 35%, transparent 65%);
  z-index: 9;
  mix-blend-mode: screen;
}

/* Animated Rotating Barber Pole Overlay - aligned right over the wall pole cylinder */
.barber-pole-anchor {
  position: absolute;
  right: 0.8%;
  top: 17.5%;
  width: 5.5%;
  height: 27.5%;
  pointer-events: none;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
}

.barber-pole-cylinder {
  position: relative;
  width: 68%;
  height: 84%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 
    inset 0 0 16px rgba(0, 0, 0, 0.85),
    0 0 25px rgba(245, 158, 11, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #111;
}

.barber-pole-cylinder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    rgba(0, 0, 0, 0.75) 0%, 
    rgba(255, 255, 255, 0.45) 28%, 
    rgba(255, 255, 255, 0) 55%, 
    rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
  z-index: 2;
}

.barber-pole-stripes {
  position: absolute;
  top: -120%;
  left: 0;
  width: 100%;
  height: 340%;
  background: repeating-linear-gradient(
    -48deg,
    #dc2626 0px,
    #dc2626 15px,
    #f8fafc 15px,
    #f8fafc 30px,
    #2563eb 30px,
    #2563eb 45px,
    #f8fafc 45px,
    #f8fafc 60px
  );
  animation: rotatePole 2.5s linear infinite;
}

@keyframes rotatePole {
  0% { transform: translateY(0); }
  100% { transform: translateY(60px); }
}

/* Hot Towel Steam Animation */
.steam-container {
  position: absolute;
  left: 50.5%;
  top: 59%;
  width: 60px;
  height: 80px;
  pointer-events: none;
  z-index: 11;
}

.steam-wisp {
  position: absolute;
  bottom: 0;
  width: 18px;
  height: 18px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(5px);
  animation: steamRise 3.5s infinite ease-out;
}

.steam-wisp:nth-child(2) {
  left: 12px;
  animation-delay: 1.2s;
  animation-duration: 4s;
}

.steam-wisp:nth-child(3) {
  left: 24px;
  animation-delay: 2.2s;
  animation-duration: 3.8s;
}

@keyframes steamRise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  30% { opacity: 0.5; }
  100% { transform: translateY(-70px) scale(2.8); opacity: 0; }
}

/* TOP HEADER */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 60;
  pointer-events: auto;
}

.header-pill {
  background: rgba(16, 17, 24, 0.65);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: #f1f5f9;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.clock-text {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
}

.listeners-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

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

.header-link-item {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(16, 17, 24, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.header-link-item:hover {
  background: rgba(245, 158, 11, 0.25);
  color: #fff;
  border-color: rgba(245, 158, 11, 0.5);
  transform: translateY(-1px);
}

/* FLOATING FROSTED GLASS PLAYER PILL */
.player-pill-wrapper {
  position: fixed;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: min(940px, 94vw);
  z-index: 60;
  pointer-events: auto;
}

/* Autoplay Floating Glass Prompt */
.autoplay-prompt {
  position: fixed;
  bottom: 148px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 65;
  cursor: pointer;
  animation: promptFloat 2.4s ease-in-out infinite alternate;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.autoplay-prompt.fade-out {
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
  pointer-events: none;
}

.autoplay-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: rgba(14, 16, 22, 0.82);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 9999px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65), 0 0 24px rgba(245, 158, 11, 0.22);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.autoplay-pill:hover {
  background: rgba(22, 26, 36, 0.92);
  border-color: rgba(245, 158, 11, 0.85);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75), 0 0 30px rgba(245, 158, 11, 0.4);
  transform: scale(1.03);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
  animation: dotPulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes dotPulse {
  0% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 4px #f59e0b; }
  50% { transform: scale(1.35); opacity: 1; box-shadow: 0 0 14px #f59e0b; }
  100% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 4px #f59e0b; }
}

@keyframes promptFloat {
  0% { transform: translateX(-50%) translateY(0); }
  100% { transform: translateX(-50%) translateY(5px); }
}

.player-pill {
  position: relative;
  width: 100%;
  height: 98px;
  background: var(--panel-bg);
  backdrop-filter: blur(36px) saturate(200%);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  border: 1px solid var(--panel-border);
  border-radius: 49px;
  box-shadow: 
    0 24px 64px rgba(0, 0, 0, 0.65),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 20px;
}

/* Vinyl Disc Album Art */
.disc-wrapper {
  position: relative;
  width: 66px;
  height: 66px;
  flex-shrink: 0;
}

.vinyl-disc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at center, 
    #111827 0%, 
    #1f2937 18%, 
    #0f172a 20%, 
    #1e293b 40%, 
    #020617 42%, 
    #334155 70%, 
    #090d16 100%);
  border: 2px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spinVinyl 6s linear infinite;
  animation-play-state: paused;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.vinyl-disc:hover {
  transform: scale(1.04);
}

.vinyl-disc.playing {
  animation-play-state: running;
}

@keyframes spinVinyl {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.disc-center-label {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d97706, #b45309);
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 4px rgba(0,0,0,0.8);
}

.disc-spindle {
  width: 6px;
  height: 6px;
  background: #000;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
}

/* Track Center Info & Scrubber */
.track-center-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}

.track-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.song-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.artist-name {
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.genre-tag {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(245, 158, 11, 0.4);
  flex-shrink: 0;
  white-space: nowrap;
}

/* Scrubber Line */
.scrubber-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.time-stamp {
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: var(--text-sub);
  min-width: 32px;
}

.time-stamp.current {
  text-align: right;
  color: var(--text-muted);
}

.progress-track {
  position: relative;
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  cursor: pointer;
  overflow: visible;
  transition: height 0.15s ease;
}

.progress-track:hover {
  height: 8px;
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: 9999px;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
  pointer-events: none;
}

.progress-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.progress-track:hover .progress-thumb {
  opacity: 1;
}

/* Controls Area */
.controls-area {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-ctrl {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-ctrl:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.08);
}

.btn-play {
  width: 48px;
  height: 48px;
  background: #ffffff;
  color: #0f172a;
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.4);
}

.btn-play:hover {
  background: #f8fafc;
  color: #000;
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.55);
}

/* Extra Tools Area */
.extra-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 16px;
}

.btn-tool {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-tool:hover, .btn-tool.active {
  background: rgba(245, 158, 11, 0.25);
  color: #fff;
  border-color: rgba(245, 158, 11, 0.5);
}

.volume-slider-container {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vol-slider {
  width: 58px;
  height: 4px;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  outline: none;
}

.vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

/* Audio Equalizer dancing bars */
.mini-eq {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 13px;
  width: 16px;
}

.eq-bar {
  width: 2.5px;
  background: var(--primary);
  border-radius: 1px;
  height: 3px;
  transition: height 0.1s ease;
}

.playing .eq-bar:nth-child(1) { animation: eqJump 0.6s infinite ease-in-out alternate; }
.playing .eq-bar:nth-child(2) { animation: eqJump 0.8s infinite ease-in-out alternate 0.15s; }
.playing .eq-bar:nth-child(3) { animation: eqJump 0.5s infinite ease-in-out alternate 0.3s; }

@keyframes eqJump {
  0% { height: 3px; }
  100% { height: 13px; }
}

/* SLIDE-OUT PLAYLIST DRAWER */
.playlist-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 440px;
  max-width: 88vw;
  height: 100vh;
  background: rgba(14, 15, 22, 0.9);
  backdrop-filter: blur(36px) saturate(200%);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.75);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.playlist-drawer.open {
  transform: translateX(0);
}

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

.drawer-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-close-drawer {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-close-drawer:hover {
  background: rgba(255, 255, 255, 0.2);
}

.drawer-tracks-list {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-tracks-list::-webkit-scrollbar {
  width: 6px;
}

.drawer-tracks-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.playlist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.playlist-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(-2px);
}

.playlist-item.active {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.45);
}

.item-index {
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--text-sub);
  width: 22px;
}

.playlist-item.active .item-index {
  color: #fbbf24;
  font-weight: 700;
}

.item-info {
  flex: 1;
  min-width: 0;
}

.item-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-artist-genre {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-duration {
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  color: var(--text-sub);
}

/* Toast notification */
.toast-msg {
  position: fixed;
  top: 86px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(18, 19, 26, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fef08a;
  padding: 8px 22px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.toast-msg.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Cinemagraph subtle slow camera drift */
.barbershop-bg {
  animation: cinemagraphDrift 24s ease-in-out infinite alternate;
}

@keyframes cinemagraphDrift {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.028) translate(-6px, -4px);
  }
  100% {
    transform: scale(1) translate(0, 0);
  }
}

/* Interior Ceiling Fan Animation */
.ceiling-fan-anchor {
  position: absolute;
  left: 70.8%;
  top: 36.5%;
  width: 48px;
  height: 48px;
  pointer-events: none;
  z-index: 11;
  opacity: 0.38;
}

.ceiling-fan {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(65deg);
  animation: spinFan 0.7s linear infinite;
}

.fan-blade {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 6px;
  background: rgba(40, 25, 15, 0.75);
  border-radius: 3px;
  transform-origin: 0% 50%;
}

.fan-blade:nth-child(1) { transform: rotate(0deg); }
.fan-blade:nth-child(2) { transform: rotate(90deg); }
.fan-blade:nth-child(3) { transform: rotate(180deg); }
.fan-blade:nth-child(4) { transform: rotate(270deg); }

@keyframes spinFan {
  from { transform: rotateX(65deg) rotate(0deg); }
  to { transform: rotateX(65deg) rotate(360deg); }
}

/* Top Right Booking Button */
.header-btn-book {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.35), rgba(217, 119, 6, 0.55));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 158, 11, 0.65);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 9999px;
  padding: 9px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-btn-book:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.5), rgba(217, 119, 6, 0.75));
  border-color: #fbbf24;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

/* APPOINTMENT BOOKING BLUEPRINT OVERLAY */
.booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.booking-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.booking-modal {
  position: relative;
  width: min(420px, 92vw);
  max-height: 88vh;
  background: rgba(14, 16, 22, 0.72);
  backdrop-filter: blur(40px) saturate(210%);
  -webkit-backdrop-filter: blur(40px) saturate(210%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-overlay.open .booking-modal {
  transform: scale(1);
}

/* Modal Header - Minimal */
.booking-header {
  padding: 16px 20px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.booking-brand-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.booking-icon {
  font-size: 14px;
}

.btn-close-booking {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.18s ease;
}

.btn-close-booking:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Stepper - Compact Minimal */
.booking-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.015);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.step-node {
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0.38;
  cursor: pointer;
  transition: opacity 0.18s ease;
}

.step-node.active {
  opacity: 1;
}

.step-node.completed {
  opacity: 0.85;
}

.step-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

.step-node.active .step-num {
  background: #f59e0b;
  color: #000;
  border-color: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.step-node.completed .step-num {
  background: #22c55e;
  border-color: #22c55e;
  color: #fff;
}

.step-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.step-node.active .step-label {
  color: #fff;
}

.step-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0 8px;
}

/* Body & Step Panes */
.booking-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 20px;
}

.booking-body::-webkit-scrollbar {
  width: 4px;
}

.booking-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
}

.step-pane {
  display: none;
  animation: fadeInPane 0.2s ease-out;
}

.step-pane.active {
  display: block;
}

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

/* STEP 1: Minimal Services */
.service-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.service-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(245, 158, 11, 0.35);
}

.service-card.active {
  background: rgba(245, 158, 11, 0.12);
  border-color: #f59e0b;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.15);
}

.service-info {
  display: flex;
  flex-direction: column;
}

.service-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
}

.service-meta {
  font-size: 11px;
  color: var(--text-sub);
  margin-top: 2px;
}

.service-price {
  font-size: 14px;
  font-weight: 700;
  color: #fbbf24;
}

/* STEP 2: Minimal Barbers */
.barber-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.barber-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.barber-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(245, 158, 11, 0.35);
}

.barber-card.active {
  background: rgba(245, 158, 11, 0.12);
  border-color: #f59e0b;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.15);
}

.barber-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.barber-card.active .barber-avatar {
  background: rgba(245, 158, 11, 0.2);
  border-color: #fbbf24;
}

.barber-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.barber-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
}

.barber-tag {
  font-size: 11px;
  color: var(--text-sub);
  margin-top: 1px;
}

.barber-check {
  font-size: 13px;
  color: var(--text-sub);
}

.barber-card.active .barber-check {
  color: #fbbf24;
  font-weight: 700;
}

/* STEP 3: Minimal Date & Time */
.date-chips-row {
  display: flex;
  gap: 5px;
  margin-bottom: 12px;
}

.date-chip {
  flex: 1;
  padding: 8px 4px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s ease;
}

.date-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 158, 11, 0.3);
}

.date-chip.active {
  background: rgba(245, 158, 11, 0.18);
  border-color: #fbbf24;
  color: #fbbf24;
}

.time-chips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.time-chip {
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #fff;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
}

.time-chip:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(245, 158, 11, 0.3);
}

.time-chip.active {
  background: #f59e0b;
  color: #000;
  font-weight: 700;
  border-color: #f59e0b;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.35);
}

/* STEP 4: Minimal Confirm & Blueprint */
.booking-inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.booking-inputs-row input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  padding: 8px 12px;
  font-size: 12px;
  color: #fff;
  outline: none;
  transition: all 0.18s ease;
}

.booking-inputs-row input:focus {
  border-color: #fbbf24;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.25);
}

.blueprint-receipt {
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  border-radius: 12px;
  padding: 12px 14px;
}

.receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.receipt-brand {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fbbf24;
}

.receipt-code {
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  color: #fef08a;
  background: rgba(245, 158, 11, 0.15);
  padding: 2px 6px;
  border-radius: 5px;
  font-weight: 700;
}

.receipt-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
}

.receipt-key {
  color: var(--text-sub);
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 10.5px;
}

.receipt-val {
  color: #fff;
  font-weight: 600;
  text-align: right;
}

.receipt-row.total {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
  margin-top: 2px;
}

.receipt-val.total-price {
  font-size: 15px;
  color: #fbbf24;
  font-weight: 800;
}

/* Success Box */
.booking-success-box {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  animation: fadeInPane 0.2s ease;
}

.success-icon {
  font-size: 26px;
  margin-bottom: 6px;
}

.success-title {
  font-size: 16px;
  color: #86efac;
  font-weight: 700;
}

.success-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  margin: 4px 0 14px;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.btn-success-cal, .btn-success-done {
  padding: 7px 14px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-success-cal {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}

.btn-success-cal:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-success-done {
  background: #22c55e;
  border: 1px solid #22c55e;
  color: #000;
}

.btn-success-done:hover {
  background: #4ade80;
}

/* Modal Footer */
.booking-footer {
  padding: 10px 20px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-step-nav {
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-back {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.btn-back:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-next {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: 1px solid #f59e0b;
  color: #000;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
  margin-left: auto;
}

.btn-next:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45);
}
