/* SS Turf Arena CSS StyleSheet
   Design: Premium, Dark, Glassmorphism, Neon Green Accent
*/

/* CSS Variables & Theme Setup */
:root {
  --bg-primary: #0F172A;
  --bg-secondary: #1E293B;
  --primary: #22C55E;
  --primary-glow: rgba(34, 197, 94, 0.25);
  --accent: #10B981;
  --accent-glow: rgba(16, 185, 129, 0.2);
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --glass-card: rgba(255, 255, 255, 0.06);
  --glass-card-hover: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-focus: rgba(34, 197, 94, 0.4);
  --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.3);
  --shadow-glow: 0 0 20px 2px rgba(34, 197, 94, 0.3);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Running Multicolor Border Animation for UTR Input Box */
@keyframes runningMulticolorBorder {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.utr-animated-wrapper {
  position: relative;
  border-radius: 10px;
  padding: 2.5px;
  background: linear-gradient(90deg, #ff007f, #7f00ff, #00f0ff, #22c55e, #eab308, #ff007f);
  background-size: 300% 300%;
  animation: runningMulticolorBorder 3s linear infinite;
  margin-top: 0.25rem;
}

/* VIP Monthly Pass Theme Glow Animations */
@keyframes vipGoldGlowPulse {
  0% {
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3), 0 10px 40px -5px rgba(0, 0, 0, 0.9);
    border-color: rgba(251, 191, 36, 0.5);
  }
  50% {
    box-shadow: 0 0 45px rgba(251, 191, 36, 0.6), 0 10px 40px -5px rgba(0, 0, 0, 0.95);
    border-color: rgba(251, 191, 36, 0.85);
  }
  100% {
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3), 0 10px 40px -5px rgba(0, 0, 0, 0.9);
    border-color: rgba(251, 191, 36, 0.5);
  }
}

.vip-monthly-pass-active {
  background: radial-gradient(circle at center, rgba(234, 179, 8, 0.32) 0%, rgba(10, 15, 29, 0.97) 80%) !important;
  backdrop-filter: blur(14px) !important;
  transition: all 0.4s ease-in-out !important;
}

.vip-monthly-pass-card {
  animation: vipGoldGlowPulse 3s infinite ease-in-out !important;
  background: linear-gradient(165deg, #131b2e 0%, #060913 100%) !important;
}

.utr-animated-input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 7.5px;
  border: none;
  background-color: #0f172a !important;
  color: #ffffff !important;
  outline: none;
  box-shadow: none !important;
}

.utr-animated-input::placeholder {
  color: #ffffff !important;
  opacity: 0.85 !important;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.utr-animated-input:focus {
  background-color: #0f172a !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* Global Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.5;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  position: relative;
  top: 0;
  left: 0;
}

body {
  display: flex;
  flex-direction: column;
}

/* Utility Helpers */
.hidden {
  display: none !important;
}

.w-full { width: 100%; }
.font-semibold { font-weight: 600; }
.margin-top { margin-top: 1.5rem; }
.text-red { color: #EF4444 !important; }
.text-accent { color: var(--accent) !important; }
.bg-red { background-color: rgba(239, 68, 68, 0.2) !important; border-color: rgba(239, 68, 68, 0.4) !important; }
.bg-red:hover { background-color: rgba(239, 68, 68, 0.3) !important; }
.bg-green { background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.05)); color: var(--primary); }
.bg-blue { background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(96, 165, 250, 0.05)); color: #3b82f6; }
.bg-purple { background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(192, 132, 252, 0.05)); color: #a855f7; }

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity var(--transition-normal);
}

.spinner-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.preloader-spinner-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glow-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3.5px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--primary);
  border-right-color: rgba(34, 197, 94, 0.45);
  animation: spin 1.2s infinite linear;
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.35);
  pointer-events: none;
}

.turf-ball {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

/* Cricket Equipment Logo Image - Centered Within Circle */
.cricket-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(34, 197, 94, 0.45));
  transition: transform 0.3s ease;
}

.cricket-logo-img-animated {
  /* Keep logo completely static & upright, border handles circular motion */
  transform: none !important;
}

.cricket-logo-img-spin {
  animation: cricketLogoPulse 3s ease-in-out infinite alternate;
}

@keyframes cricketLogoFloat {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) scale(1.05) rotate(-2deg);
  }
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

@keyframes cricketLogoPulse {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 2px 8px rgba(34, 197, 94, 0.3));
  }
  100% {
    transform: scale(1.06);
    filter: drop-shadow(0 4px 14px rgba(34, 197, 94, 0.6));
  }
}

.logo-circle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
}

.auth-brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  width: 110px;
  height: 110px;
  text-align: center;
}

.auth-brand-logo img {
  width: 110px;
  height: 110px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.55));
}

.loading-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: linear-gradient(to right, var(--text-primary), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Panel styles */
.glass-panel {
  background: var(--glass-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: background var(--transition-fast), border var(--transition-fast);
}

.glass-panel:hover {
  background: var(--glass-card-hover);
}

/* UI Shell Layout */
.app-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  position: relative;
}

.app-header {
  padding: 1rem 0.9rem;
  background-color: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 0.75rem;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  font-size: 1.5rem;
  animation: pulse 2s infinite ease-in-out;
}

.logo-text h1 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.location {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.location svg {
  width: 10px;
  height: 10px;
  stroke: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.role-badge {
  background: rgba(34, 197, 94, 0.15);
  color: var(--primary);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Dynamic view containers */
.main-content {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0.9rem 6rem 0.9rem;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.app-view {
  animation: fadeIn 0.35s ease-out;
}

/* Forms & Input Fields */
.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  width: 100%;
}

.input-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.phone-input-wrapper {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast);
  width: 100%;
}

.phone-input-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary-glow);
}

.phone-input-wrapper input {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.country-code {
  padding: 0.75rem 0.5rem 0.75rem 1rem;
  color: var(--text-secondary);
  font-weight: 600;
  border-right: 1px solid var(--glass-border);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-input-wrapper .country-code svg,
.phone-input-wrapper .country-code i[data-lucide],
.phone-input-wrapper .country-code svg[data-lucide] {
  color: #ffffff !important;
  stroke: #ffffff !important;
  fill: none !important;
}

/* Password Reveal & Hide Icons - Pure White */
.password-toggle-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0.35rem;
  cursor: pointer;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: opacity 0.2s ease, transform 0.2s ease;
  opacity: 0.85;
}

.password-toggle-btn:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}

.password-toggle-btn svg,
.password-toggle-btn i[data-lucide],
.password-toggle-btn svg[data-lucide] {
  color: #ffffff !important;
  stroke: #ffffff !important;
  fill: none !important;
  width: 18px;
  height: 18px;
}

/* Suppress native browser password reveal & clear buttons */
input::-ms-reveal,
input::-ms-clear,
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear,
input::-webkit-contacts-auto-fill-button,
input::-webkit-credentials-auto-fill-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

/* UPI Pay Via Channel Logos & 2-Column Genuine App Buttons */
.upi-pay-via-container {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  padding: 0.75rem;
  margin-bottom: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.btn-upi-app {
  font-family: var(--font-family);
  user-select: none;
}

.btn-upi-app:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.btn-upi-app:active {
  transform: translateY(1px);
}

input[type="text"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 0.95rem;
  width: 100%;
  transition: all var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary-glow);
}

/* Webkit autofill overrides for premium dark theme */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #0F172A inset !important;
  -webkit-text-fill-color: var(--text-primary) !important;
  transition: background-color 5000s ease-in-out 0s;
}

.hidden-date-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(100%);
  cursor: pointer;
}

/* Interactive Buttons */
button {
  font-family: var(--font-family);
  cursor: pointer;
  border: none;
  background: none;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: var(--border-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  width: auto;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
  opacity: 0.95;
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-secondary {
  background: var(--glass-card);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: var(--border-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background: var(--glass-card-hover);
  border-color: var(--text-muted);
}

#btn-pay-upi.active {
  background: var(--primary-glow) !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  box-shadow: 0 0 12px var(--primary-glow) !important;
}

#btn-pay-counter.active {
  background: rgba(34, 197, 94, 0.12) !important;
  border-color: #22c55e !important;
  color: #22c55e !important;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.2) !important;
}

#btn-pay-phonepe.active {
  background: rgba(147, 51, 234, 0.25) !important;
  border-color: #a855f7 !important;
  color: #c084fc !important;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.4) !important;
}

.btn-icon {
  background: var(--glass-card);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  background: var(--glass-card-hover);
  transform: scale(1.05);
}

.btn-icon svg {
  width: 20px;
  height: 20px;
}

.btn-link {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
}

.btn-link:hover {
  color: var(--accent);
}

.w-full {
  width: 100%;
}

/* Authentication Screen Specifics */
.auth-card {
  padding: 2.25rem 1.5rem;
  margin-top: 2rem;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.auth-header p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.recaptcha-wrapper {
  margin: 1.25rem 0;
  display: flex;
  justify-content: center;
}

.otp-resend-text {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.link-btn {
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
}

.link-btn:hover {
  text-decoration: underline;
}

.auth-action-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.auth-action-buttons button {
  flex: 1;
}

/* Sections */
.section-container {
  margin-bottom: 2rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Date Picker styling */
.date-picker-input-wrapper {
  position: relative;
}

#btn-calendar svg {
  stroke: #ffffff !important;
  color: #ffffff !important;
}

.btn-sm {
  padding: 0.45rem 0.75rem;
  font-size: 0.875rem;
  border-radius: var(--border-radius-sm);
}

.btn-sm svg {
  width: 16px;
  height: 16px;
}

.horizontal-date-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.25rem 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.horizontal-date-strip::-webkit-scrollbar {
  display: none;
}

.date-pill {
  flex: 0 0 65px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 0.5rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--glass-border);
  background: var(--glass-card);
  transition: all var(--transition-fast);
}

.date-pill:hover {
  border-color: var(--text-muted);
}

.date-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.date-pill .day-num {
  font-size: 1.25rem;
  font-weight: 700;
}

.date-pill .day-name {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  opacity: 0.8;
}

.date-pill.active .day-name {
  opacity: 1;
}

/* Announcement Banner */
.announcement-banner {
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(16, 185, 129, 0.04));
  border-color: rgba(34, 197, 94, 0.2);
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.banner-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--primary);
  color: #fff;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

#announcement-text {
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-block;
  margin: 0;
}

#announcement-text.marquee-active {
  padding-left: 100%;
  animation: marquee-scroll 45s linear infinite;
  white-space: nowrap;
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
  display: flex;
  align-items: center;
}

@keyframes marquee-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* Legend items */
.legend {
  display: flex;
  gap: 0.75rem;
}

.legend-item {
  font-size: 0.7rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 500;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot.available { background-color: var(--primary); box-shadow: 0 0 4px var(--primary); }
.dot.booked { background-color: var(--text-muted); }
.dot.blocked { background-color: #EF4444; box-shadow: 0 0 4px #EF4444; }

/* Booking Slots Grid */
.slots-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.55rem !important;
}

.slot-card {
  padding: 0.85rem 0.5rem !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  overflow: visible;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--glass-border);
  background: var(--glass-card);
  transition: all var(--transition-fast);
}

.slot-card .slot-time {
  font-size: 0.81rem;
  font-weight: 600;
  white-space: nowrap;
}

.slot-card .slot-price {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.slot-card .slot-status {
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-bottom: 0.25rem;
}

/* Available state */
.slot-card.available {
  border-color: rgba(34, 197, 94, 0.2);
}
.slot-card.available:hover {
  background: rgba(34, 197, 94, 0.08);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
}
.slot-card.available .slot-status {
  background: rgba(34, 197, 94, 0.15);
  color: var(--primary);
}

/* Booked state */
.slot-card.booked {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}
.slot-card.booked .slot-status {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

/* Blocked state */
.slot-card.blocked {
  border-color: rgba(239, 68, 68, 0.2);
  cursor: not-allowed;
  pointer-events: none;
}
.slot-card.blocked .slot-status {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
}

/* Selected state (for UI feedback during tap) */
.slot-card.selected {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff !important;
  box-shadow: var(--shadow-glow);
}
.slot-card.selected .slot-price, 
.slot-card.selected .slot-status {
  color: #ffffff !important;
  opacity: 0.8;
}
.slot-card.selected .slot-status {
  background: rgba(0, 0, 0, 0.1);
}

/* Skeleton Loading styles */
.skeleton-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
  gap: 0.55rem !important;
  width: 100%;
}

.skeleton-card {
  height: 75px !important;
  background: linear-gradient(90deg, var(--glass-card) 25%, rgba(255,255,255,0.02) 50%, var(--glass-card) 75%);
  background-size: 200% 100%;
  animation: loadingSkeleton 1.5s infinite;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--glass-border);
}

.skeleton-pulse {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  animation: loadingSkeleton 1.5s ease-in-out infinite;
  border: 1px solid var(--glass-border);
}


/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background-color: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 100;
  max-width: 600px;
  margin: 0 auto;
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex: 1;
  height: 100%;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.nav-item svg {
  width: 20px;
  height: 20px;
}

.nav-item span {
  font-size: 0.7rem;
}

.nav-item:hover {
  color: var(--text-primary);
}

.nav-item.active {
  color: var(--primary);
  position: relative;
}

.nav-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  width: 24px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 10px var(--primary);
}

/* Bookings list (Player My Bookings) */
.bookings-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.booking-card {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.booking-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.booking-card-header h4 {
  font-size: 1rem;
  font-weight: 700;
}

.booking-status {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.booking-status.booked { background: rgba(34, 197, 94, 0.15); color: var(--primary); }
.booking-status.cancelled { background: rgba(239, 68, 68, 0.15); color: #EF4444; }

.booking-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.booking-details-grid div {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.booking-details-grid div svg {
  width: 14px;
  height: 14px;
  stroke: var(--primary);
}

.booking-actions {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--glass-border);
  padding-top: 0.75rem;
}

.no-data {
  text-align: center;
  padding: 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
}

.no-data svg {
  width: 48px;
  height: 48px;
}

/* Profile screen styles */
.profile-card {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar {
  font-size: 2.25rem;
  width: 60px;
  height: 60px;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.profile-meta h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.profile-meta p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.profile-role-badge {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--glass-card-hover);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.profile-stats {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid var(--glass-border);
  padding-top: 1rem;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.profile-actions-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.action-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  width: 100%;
}

.action-item:hover {
  transform: translateX(4px);
}

.action-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.action-item svg {
  width: 18px;
  height: 18px;
}

.action-item > svg:last-child {
  color: var(--text-muted);
}

/* Modals Overlay & Modals UI */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center; /* Centered vertically & horizontally on all screens */
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

.modal-card {
  width: 92%; /* 4% margin on left/right for safe close buttons on mobile */
  max-width: 500px;
  border-radius: var(--border-radius-md) !important;
  padding: 1.5rem;
  position: relative !important;
  overflow: visible !important;
  max-height: 90vh; /* Fits within viewport */
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid var(--glass-border);
}

/* Global modal scrollable body style */
.modal-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto !important;
  max-height: 65vh !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 0.25rem;
}
.modal-body::-webkit-scrollbar {
  width: 6px;
}
.modal-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
}
.modal-body::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 10px;
}

/* Enable Vertical Scroll for Confirm Ground Booking Popup Body */
#booking-modal .modal-card {
  position: relative !important;
  overflow: visible !important;
}

#booking-modal .modal-body {
  max-height: 72vh !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 0.25rem;
}

#booking-modal .modal-body::-webkit-scrollbar {
  width: 6px;
}

#booking-modal .modal-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
}

#booking-modal .modal-body::-webkit-scrollbar-thumb {
  background: rgba(34, 197, 94, 0.5);
  border-radius: 10px;
}

.btn-close-modal,
.btn-close-modal-topright,
.btn-close-popup {
  position: absolute !important;
  top: -14px !important;
  right: -14px !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  border: 2.5px solid #ffffff !important;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.7), 0 0 14px rgba(255, 255, 255, 0.5) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 999999 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-close-modal:hover,
.btn-close-modal-topright:hover,
.btn-close-popup:hover {
  transform: scale(1.15) !important;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.9), 0 0 18px rgba(255, 255, 255, 0.7) !important;
}

.btn-close-modal svg,
.btn-close-modal-topright svg,
.btn-close-popup svg {
  width: 18px !important;
  height: 18px !important;
  stroke: #ffffff !important;
  stroke-width: 3px !important;
  pointer-events: none !important;
}

.modal-header {
  margin-bottom: 1.5rem;
}

.modal-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

.modal-header p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.booking-receipt {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

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

.receipt-row .label {
  color: var(--text-secondary);
}

.receipt-row .value {
  font-weight: 500;
}

.divider {
  border: none;
  border-top: 1px solid var(--glass-border);
}

.total-row {
  font-size: 1.1rem;
  font-weight: 700;
}

.total-row .price {
  color: var(--primary);
}

.disclaimer {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.modal-footer {
  margin-top: 1.5rem;
}

/* Admin Dashboard Specific styles */
.admin-metrics-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.5rem !important;
  margin-bottom: 1.5rem;
}

/* Removed span 2 override to maintain 2x2 grid */

.metric-card {
  padding: 0.65rem 0.45rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  border: 2px solid #22c55e !important;
  animation: border-rainbow 6s linear infinite !important;
  white-space: nowrap !important;
  overflow: hidden;
}

.metric-icon {
  width: 32px !important;
  height: 32px !important;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-icon svg {
  width: 15px !important;
  height: 15px !important;
}

.metric-details {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.metric-label {
  font-size: 0.62rem !important;
  color: var(--text-secondary);
  font-weight: 700 !important;
  text-transform: uppercase;
  white-space: nowrap !important;
}

.metric-details h3 {
  font-size: 1.05rem !important;
  font-weight: 800;
  white-space: nowrap !important;
}

.admin-tabs {
  display: flex;
  background: var(--glass-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  margin-bottom: 1.25rem;
  overflow-x: auto !important;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: auto;
}

.admin-tabs::-webkit-scrollbar {
  height: 5px;
  display: block !important;
}

.admin-tabs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

.admin-tabs::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 9999px;
}

.admin-tab-btn {
  flex: 0 0 auto;
  padding: 0.75rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-secondary);
  border-right: 1px solid var(--glass-border);
  white-space: nowrap;
}

.admin-tab-btn:last-child {
  border-right: none;
}

.admin-tab-btn.active {
  background: var(--primary-glow);
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.admin-tab-content {
  display: none;
  animation: fadeIn 0.25s ease-out;
}

.admin-tab-content.active {
  display: block;
}

.sub-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.sub-header-container h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.sub-header-container input[type="date"] {
  width: auto;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
}

.admin-bookings-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-booking-item {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.admin-bk-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.admin-bk-meta h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.admin-bk-meta p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.admin-bk-meta .time {
  font-weight: 600;
  color: var(--primary);
}

.admin-action-card {
  padding: 1.5rem;
}

.admin-action-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.slots-selector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  margin-top: 0.5rem;
}

.slots-selector-header label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.admin-slots-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0.45rem !important;
  max-height: 320px;
  overflow-y: auto;
  padding: 0.55rem;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  margin-bottom: 1.25rem;
}

.admin-slot-checkbox-card {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.55rem 0.15rem !important;
  border-radius: var(--border-radius-sm);
  background: var(--glass-card);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  min-height: 44px !important;
  transition: all var(--transition-fast);
}

.admin-slot-checkbox-card.selected {
  background: rgba(239, 68, 68, 0.18) !important;
  border-color: #EF4444 !important;
  color: #EF4444 !important;
}

.admin-buttons-row {
  display: flex;
  gap: 0.75rem;
}

.admin-buttons-row button {
  flex: 1;
}

.admin-list {
  list-style: none;
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.85rem;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
}

.pricing-inputs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pricing-inputs-grid .input-group {
  margin-bottom: 0;
}

.admin-user-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 300px;
  overflow-y: auto;
  margin-top: 0.75rem;
}

.admin-user-card {
  padding: 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  border-bottom: 1px solid var(--glass-border);
}

.admin-user-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
  gap: 0.25rem !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  max-width: 100% !important;
  padding-bottom: 0.2rem !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
}

.admin-user-actions::-webkit-scrollbar {
  display: none !important;
}

.admin-user-actions .btn-primary,
.admin-user-actions .btn-secondary,
.admin-user-actions button,
.admin-user-actions a {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  font-size: 0.7rem !important;
  padding: 0.25rem 0.4rem !important;
  height: 26px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.2rem !important;
  border-radius: 4px !important;
}

.admin-user-card:last-child {
  border-bottom: none;
}

.admin-user-info h5 {
  font-size: 0.9rem;
  font-weight: 700;
}

.admin-user-info p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.admin-user-stats {
  font-size: 0.75rem;
  text-align: right;
}

.admin-user-stats span {
  display: block;
  font-weight: 700;
  color: var(--primary);
}

.search-box {
  margin-bottom: 0.5rem;
}

/* Toast Notifications Container */
.toast-container {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 90%;
  max-width: 380px;
  pointer-events: none;
}

.toast {
  padding: 0.85rem 1.25rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: slideDownToast 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.toast.success {
  background: rgba(34, 197, 94, 0.95);
  border: 1px solid var(--primary);
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
}

.toast.error {
  background: rgba(220, 38, 38, 0.95);
  border: 1px solid #EF4444;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
}

.toast.info {
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid var(--glass-border);
}

/* Keyframes Animations */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

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

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

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

@keyframes loadingSkeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Custom Themed Calendar picker modal */
.calendar-day {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-primary);
  background: transparent;
  border-radius: var(--border-radius-sm);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 38px;
}

.calendar-day:hover:not(.disabled):not(.empty) {
  background: var(--glass-card-hover);
  border-color: var(--glass-border);
  color: var(--primary);
  cursor: pointer;
}

.calendar-day.active {
  background: var(--primary) !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 0 10px var(--primary-glow);
}

.calendar-day.today {
  border-color: var(--primary);
}

.calendar-day.disabled {
  color: var(--text-muted) !important;
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.calendar-day.empty {
  pointer-events: none;
}

.policy-tab-btn {
  background: transparent;
  color: var(--text-secondary);
}

.policy-tab-btn.active {
  background: var(--primary) !important;
  color: #ffffff !important;
  box-shadow: 0 0 10px var(--primary-glow);
}

#btn-close-calendar-modal,
#btn-close-timepicker-modal,
#btn-close-durationpicker-modal,
#btn-close-report-filter-modal,
#btn-close-report-month-modal,
#btn-close-report-year-modal {
  position: absolute !important;
  top: -14px !important;
  right: -14px !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  border: 2.5px solid #ffffff !important;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.7), 0 0 14px rgba(255, 255, 255, 0.5) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 999999 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.calendar-day.weekend-day:not(.active):not(.disabled) {
  color: #fbbf24 !important;
}

.calendar-day.holiday-day:not(.active):not(.disabled) {
  color: #f87171 !important;
}

#btn-admin-block-date-cal,
#btn-admin-block-full-date-cal,
#btn-admin-holiday-date-cal,
#btn-counter-booking-date-cal,
#btn-counter-booking-slot-picker {
  height: 44px !important;
  padding: 0 1rem !important;
  box-sizing: border-box !important;
}

/* Happy Hour Slot Card Highlights */
.slot-card.happy-hour {
  border-color: #fbbf24;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.12);
}
.slot-card.happy-hour:hover {
  border-color: #fbbf24;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.25);
}
.happy-hour-badge {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  white-space: nowrap;
  font-size: 0.48rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fbbf24;
  background: #1e1b4b; /* solid dark blue/indigo backdrop for high readability */
  border: 1px solid #fbbf24;
  padding: 0.08rem 0.35rem;
  border-radius: 9999px; /* pill style */
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
.happy-hour-badge i,
.happy-hour-badge svg {
  width: 10px !important;
  height: 10px !important;
  stroke-width: 2.5;
}

/* Glowing Standalone Counter Booking Button styling */
.btn-glowing-counter {
  background: linear-gradient(135deg, #22c55e, #10b981) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  padding: 0.55rem 1.35rem !important;
  border-radius: 9999px !important;
  border: 2px solid #22c55e !important;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: border-rainbow 6s linear infinite;
}

.btn-glowing-counter:hover {
  transform: translateY(-2px) scale(1.03);
}

.btn-glowing-counter:active {
  transform: translateY(1px) scale(0.98);
}

@keyframes border-rainbow {
  0% {
    border-color: #22c55e !important;
    box-shadow: 
      0 0 12px rgba(34, 197, 94, 0.6),
      0 0 25px rgba(34, 197, 94, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  }
  25% {
    border-color: #3b82f6 !important;
    box-shadow: 
      0 0 12px rgba(59, 130, 246, 0.6),
      0 0 25px rgba(59, 130, 246, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  }
  50% {
    border-color: #a855f7 !important;
    box-shadow: 
      0 0 12px rgba(168, 85, 247, 0.6),
      0 0 25px rgba(168, 85, 247, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  }
  75% {
    border-color: #ec4899 !important;
    box-shadow: 
      0 0 12px rgba(236, 72, 153, 0.6),
      0 0 25px rgba(236, 72, 153, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  }
  100% {
    border-color: #22c55e !important;
    box-shadow: 
      0 0 12px rgba(34, 197, 94, 0.6),
      0 0 25px rgba(34, 197, 94, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  }
}

/* Autocomplete suggestion styles for walk-in counter booking */
.autocomplete-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #0f172a !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: var(--border-radius-md) !important;
  max-height: 160px;
  overflow-y: auto;
  z-index: 10000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
  margin-top: 0.25rem;
}

.autocomplete-suggestion-item {
  padding: 0.6rem 0.85rem !important;
  font-size: 0.8rem !important;
  color: var(--text-primary) !important;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease;
}

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

.autocomplete-suggestion-item:hover {
  background: var(--primary-glow) !important;
  color: var(--primary) !important;
}

.autocomplete-suggestion-item span.phone {
  color: var(--text-secondary) !important;
  font-size: 0.75rem !important;
}

/* 45-degree Available ribbon on available slot card */
.slot-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  overflow: hidden;
  pointer-events: none;
  z-index: 5;
  border-top-left-radius: 8px; /* matches .slot-card border-radius */
}

.slot-ribbon::before {
  content: "Available";
  position: absolute;
  top: 8px;
  left: -19px;
  width: 68px;
  background: var(--primary);
  color: #fff;
  font-size: 0.48rem;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  line-height: 13px;
  transform: rotate(-45deg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  letter-spacing: 0.03em;
}

/* Custom Overflowing Marquee Animation for Players Directory */
.player-info-scroller.needs-marquee {
  display: inline-block;
  animation: playerMarquee 9s linear infinite;
}

@keyframes playerMarquee {
  0% { transform: translateX(0); }
  10% { transform: translateX(0); }
  45% { transform: translateX(var(--scroll-dist, -50px)); }
  55% { transform: translateX(var(--scroll-dist, -50px)); }
  90% { transform: translateX(0); }
  100% { transform: translateX(0); }
}

/* Eye-catching glowing animated checkout confirmation button */
.btn-confirm-glowing {
  position: relative;
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 50%, #3b82f6 100%);
  background-size: 200% 200%;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  padding: 0.85rem 1.5rem !important;
  border: none !important;
  border-radius: var(--border-radius-md) !important;
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.4), 0 0 25px rgba(139, 92, 246, 0.2);
  transition: all 0.3s ease;
  overflow: hidden;
  animation: glowingBackground 3s linear infinite;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@keyframes glowingBackground {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn-confirm-glowing:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.6), 0 0 35px rgba(139, 92, 246, 0.4);
}

.btn-confirm-glowing:active:not(:disabled) {
  transform: translateY(1px);
}

.btn-confirm-glowing:disabled {
  background: #4b5563 !important;
  box-shadow: none !important;
  transform: none !important;
  animation: none !important;
  opacity: 0.6;
  cursor: not-allowed;
}

@keyframes businessPulse {
  0% {
    box-shadow: 0 4px 15px -3px rgba(236, 72, 153, 0.25);
    border-color: rgba(236, 72, 153, 0.5);
  }
  100% {
    box-shadow: 0 4px 22px 2px rgba(236, 72, 153, 0.55), 0 0 12px rgba(59, 130, 246, 0.35);
    border-color: rgba(59, 130, 246, 0.85);
  }
}

@keyframes adsPulse {
  0% {
    box-shadow: 0 4px 15px -3px rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.5);
  }
  100% {
    box-shadow: 0 4px 22px 2px rgba(99, 102, 241, 0.55), 0 0 12px rgba(139, 92, 246, 0.35);
    border-color: rgba(139, 92, 246, 0.85);
  }
}

