/* RunBuddies Official Athletic Platform Design System */

:root {
  --rb-primary: #2563eb;
  --rb-primary-hover: #1d4ed8;
  --rb-primary-light: #eff6ff;
  --rb-coral: #ff472e;
  --rb-coral-hover: #e0361f;
  --rb-emerald: #10b981;
  --rb-amber: #f59e0b;
  --rb-purple: #8b5cf6;
  
  --rb-dark: #090d16;
  --rb-slate-900: #0f172a;
  --rb-slate-800: #1e293b;
  --rb-slate-700: #334155;
  --rb-slate-600: #475569;
  --rb-slate-500: #64748b;
  --rb-slate-300: #cbd5e1;
  --rb-slate-200: #e2e8f0;
  --rb-slate-100: #f1f5f9;
  --rb-slate-50: #f8fafc;
  
  --rb-cream-bg: #fdfbf7;
  --rb-cream-input: #fbf5eb;
  
  --rb-radius-sm: 8px;
  --rb-radius-md: 14px;
  --rb-radius-lg: 20px;
  --rb-radius-xl: 28px;
  --rb-radius-pill: 9999px;
  
  --rb-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --rb-shadow-md: 0 10px 25px rgba(15, 23, 42, 0.06);
  --rb-shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.1);
  --rb-shadow-glow: 0 10px 30px rgba(255, 71, 46, 0.25);
  
  --rb-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--rb-slate-900);
  background-color: #f8fafc;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Brand Gradient Text */
.text-gradient-coral {
  background: linear-gradient(135deg, #ff472e 0%, #ff8a00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-blue {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Modern Floating Glassmorphism Navbar */
.floating-navbar-wrapper {
  position: sticky;
  top: 14px;
  z-index: 1040;
  width: 88%;
  max-width: 1700px;
  margin: 0 auto 0.5rem auto;
  padding: 0;
}

.navbar-floating-glass {
  background: rgba(255, 255, 255, 0.58) !important;
  backdrop-filter: blur(24px) saturate(200%) brightness(104%);
  -webkit-backdrop-filter: blur(24px) saturate(200%) brightness(104%);
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  border-radius: var(--rb-radius-pill);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.09), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: var(--rb-transition);
}

/* Top-Center Floating Toast Notifications */
.toast-top-center-container {
  position: fixed;
  top: calc(78px + 2rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1080;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  width: 90%;
  max-width: 480px;
}

.toast-glass-notification {
  pointer-events: auto;
  width: 100%;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14), 0 2px 6px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  position: relative;
  animation: toastSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.3s ease;
}

.toast-glass-notification.toast-hiding {
  opacity: 0;
  transform: translateY(-20px) scale(0.96);
  pointer-events: none;
}

@keyframes toastSlideDown {
  from {
    opacity: 0;
    transform: translateY(-25px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.toast-content-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
}

.toast-icon {
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-message {
  flex-grow: 1;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--rb-slate-900);
  line-height: 1.4;
}

.toast-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.95rem;
  padding: 4px 6px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--rb-transition);
  flex-shrink: 0;
}

.toast-close-btn:hover {
  color: var(--rb-dark);
  background: #f1f5f9;
}

.toast-progress-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--rb-primary), var(--rb-coral));
  width: 100%;
  animation: toastProgress 4.2s linear forwards;
}

.toast-danger .toast-progress-bar {
  background: #ef4444;
}

.toast-warning .toast-progress-bar {
  background: #f59e0b;
}

.toast-success .toast-progress-bar {
  background: #10b981;
}

@keyframes toastProgress {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

.brand-runbuddies {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--rb-dark);
  text-decoration: none;
  letter-spacing: -0.6px;
  line-height: 1;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand-runbuddies:hover .brand-logo-img {
  transform: scale(1.03);
}

.brand-runbuddies .brand-logo-icon {
  background: linear-gradient(135deg, var(--rb-primary) 0%, var(--rb-coral) 100%);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.nav-link-custom {
  color: var(--rb-slate-700) !important;
  padding: 8px 16px !important;
  border-radius: var(--rb-radius-pill);
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  transition: var(--rb-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.nav-link-custom:hover {
  color: var(--rb-primary) !important;
  background: rgba(37, 99, 235, 0.06);
}

.nav-link-custom.active {
  color: var(--rb-primary) !important;
  background: #eff6ff !important;
  font-weight: 700 !important;
}

.btn-glass-user {
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  transition: var(--rb-transition);
}

.btn-glass-user:hover {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(255, 255, 255, 1) !important;
  box-shadow: var(--rb-shadow-sm);
}

.dropdown-menu {
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

@media (max-width: 991.98px) {
  .floating-navbar-wrapper {
    top: 8px;
    padding: 0 0.5rem;
  }
  .navbar-floating-glass {
    border-radius: 22px;
  }
  .nav-link-custom {
    padding: 10px 14px !important;
    border-radius: 12px;
  }
}

/* Redesigned High-Impact Live Filter Hub */
.filter-hub-card {
  background: #ffffff;
  border: 1px solid var(--rb-slate-200);
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: var(--rb-transition);
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-input-wrapper .search-icon {
  position: absolute;
  left: 14px;
  font-size: 1rem;
  pointer-events: none;
}

.filter-search-input {
  width: 100%;
  padding: 10px 38px 10px 40px;
  border-radius: var(--rb-radius-pill);
  border: 1px solid var(--rb-slate-200);
  background: #f8fafc;
  font-size: 0.92rem;
  outline: none;
  transition: var(--rb-transition);
}

.filter-search-input:focus {
  background: #ffffff;
  border-color: var(--rb-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--rb-slate-400);
  padding: 0;
  display: none;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.search-clear-btn:hover {
  color: var(--rb-slate-700);
}

.filter-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.filter-select-wrapper .select-icon {
  position: absolute;
  left: 14px;
  font-size: 0.95rem;
  pointer-events: none;
  z-index: 2;
}

.filter-custom-select {
  padding-left: 36px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  border-radius: var(--rb-radius-pill) !important;
  border: 1px solid var(--rb-slate-200) !important;
  background-color: #f8fafc !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: var(--rb-slate-800) !important;
  cursor: pointer;
  transition: var(--rb-transition);
}

.filter-custom-select:focus {
  background-color: #ffffff !important;
  border-color: var(--rb-primary) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14) !important;
}

/* Active Filter Chips Strip */
.active-filters-strip {
  display: flex;
  align-items: center;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--rb-primary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--rb-radius-pill);
  animation: cardFadeIn 0.2s ease forwards;
}

.btn-close-chip {
  background: transparent;
  border: none;
  color: var(--rb-primary);
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  margin-left: 2px;
  font-size: 1.1rem;
  line-height: 1;
}

.btn-close-chip:hover {
  color: #1e40af;
}

button.category-item {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Event Card Item Transition */
.event-card-item {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.event-card-item.fade-in-card {
  animation: cardFadeIn 0.3s ease forwards;
}

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


.btn-rb-primary {
  background-color: var(--rb-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--rb-radius-pill);
  padding: 8px 20px;
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--rb-transition);
}

.btn-rb-primary:hover {
  background-color: var(--rb-primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}

.btn-rb-coral {
  background: linear-gradient(135deg, var(--rb-coral) 0%, #ea580c 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--rb-radius-pill);
  padding: 10px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--rb-transition);
  box-shadow: 0 4px 14px rgba(255, 71, 46, 0.25);
}

.btn-rb-coral:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--rb-shadow-glow);
}

/* High-Impact CTA Buttons */
.btn-cta-coral {
  background: linear-gradient(135deg, #ff472e 0%, #ea580c 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--rb-radius-pill) !important;
  padding: 12px 28px !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(255, 71, 46, 0.35) !important;
  transition: var(--rb-transition) !important;
  letter-spacing: 0.2px;
}

.btn-cta-coral:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 71, 46, 0.5) !important;
  color: #ffffff !important;
}

.btn-cta-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--rb-radius-pill) !important;
  padding: 12px 28px !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35) !important;
  transition: var(--rb-transition) !important;
  letter-spacing: 0.2px;
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5) !important;
  color: #ffffff !important;
}

.btn-cta-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--rb-radius-pill) !important;
  padding: 14px 32px !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.38) !important;
  transition: var(--rb-transition) !important;
}

.btn-cta-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.52) !important;
  color: #ffffff !important;
}

.btn-cta-success:disabled,
.btn-cta-success[disabled],
.btn-cta-coral:disabled,
.btn-cta-coral[disabled],
.btn-cta-primary:disabled,
.btn-cta-primary[disabled],
.btn-rb-primary:disabled,
.btn-rb-primary[disabled] {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
  pointer-events: auto !important;
  filter: grayscale(20%);
}

/* Full Wizard Stepper Pill Styles */
.wizard-step-pill {
  border: 1.5px solid var(--rb-slate-200);
  background: #ffffff;
  border-radius: 16px;
  transition: var(--rb-transition);
}

.wizard-step-pill:hover {
  border-color: var(--rb-slate-300);
  background: #f8fafc;
}

.wizard-step-pill.active {
  border-color: var(--rb-primary) !important;
  background: #eff6ff !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
}

.wizard-step-pill.active .stepper-circle {
  background: var(--rb-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.wizard-step-pill.completed {
  border-color: #86efac !important;
  background: #f0fdf4 !important;
}

.wizard-step-pill.completed .stepper-circle {
  background: #10b981 !important;
  color: #ffffff !important;
}

/* Soothing Date & Time Wizard Section */
.schedule-section-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 1.5rem;
  transition: all 0.25s ease;
}

.schedule-section-card:focus-within {
  border-color: #cbd5e1;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.schedule-section-card.accent-amber {
  background: #fffdf5;
  border-color: #fde68a;
}

.schedule-section-card.accent-amber:focus-within {
  border-color: #fcd34d;
  background: #ffffff;
}

.segmented-toggle-wrap {
  display: inline-flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 9999px;
  gap: 4px;
  border: 1px solid #e2e8f0;
}

.segmented-toggle-btn {
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 9999px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.segmented-toggle-btn.active {
  background: #ffffff;
  color: var(--rb-dark);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.preset-chip-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 9999px;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.preset-chip-btn:hover {
  background: #eff6ff;
  border-color: var(--rb-primary);
  color: var(--rb-primary);
}

.preset-chip-btn.active {
  background: var(--rb-primary);
  border-color: var(--rb-primary);
  color: #ffffff;
}

.timeline-live-summary {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1.5px solid #a7f3d0;
  border-radius: 1rem;
  padding: 1.1rem 1.4rem;
}

/* Category Icons */
.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--rb-slate-800);
  transition: var(--rb-transition);
  cursor: pointer;
}

.category-icon-circle {
  width: 78px;
  height: 78px;
  border-radius: 22px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  color: var(--rb-slate-800);
  transition: var(--rb-transition);
  border: 1px solid var(--rb-slate-200);
  box-shadow: var(--rb-shadow-sm);
}

.category-item:hover .category-icon-circle,
.category-item.active .category-icon-circle {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: var(--rb-primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.16);
  border-color: #93c5fd;
}

.category-label {
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

/* Hero Carousel */
.hero-carousel-custom {
  position: relative;
  border-radius: var(--rb-radius-xl);
}

.hero-carousel-card {
  position: relative;
  width: 100%;
  background: #ffffff;
}

.hero-banner-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7.5;
  max-height: 480px;
  min-height: 240px;
  overflow: hidden;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(24px) brightness(0.35);
  transform: scale(1.15);
  pointer-events: none;
}

.hero-banner-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  z-index: 2;
  transition: transform 0.4s ease;
}

.hero-banner-image-wrap:hover .hero-banner-img {
  transform: scale(1.015);
}

.hero-banner-info-bar {
  background: #ffffff;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.hero-banner-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.hero-banner-title a {
  transition: color 0.2s ease;
}

.hero-banner-title a:hover {
  color: var(--rb-primary) !important;
}

/* Hero Carousel Bottom Photo Switcher (Placed below banner + event details) */
.hero-carousel-custom .carousel-indicators,
#heroEventsCarousel .carousel-indicators {
  position: relative;
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
  transform: none;
  margin: 1.25rem auto 0 auto;
  padding: 0;
  gap: 8px;
  z-index: 5 !important;
  pointer-events: auto !important;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-carousel-custom .carousel-indicators [data-bs-target],
#heroEventsCarousel .carousel-indicators [data-bs-target] {
  box-sizing: content-box !important;
  width: 24px;
  height: 4px;
  padding: 6px 2px;
  background-clip: content-box;
  border-radius: 9999px;
  background-color: #cbd5e1;
  border: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.8;
  cursor: pointer !important;
  pointer-events: auto !important;
  margin: 0;
}

.hero-carousel-custom .carousel-indicators [data-bs-target]:hover,
#heroEventsCarousel .carousel-indicators [data-bs-target]:hover {
  background-color: #94a3b8;
  opacity: 1;
}

.hero-carousel-custom .carousel-indicators .active,
#heroEventsCarousel .carousel-indicators .active {
  width: 44px;
  background-color: var(--rb-primary);
  opacity: 1;
}

@media (max-width: 767.98px) {
  .hero-banner-image-wrap {
    aspect-ratio: 16 / 8.5;
  }
  .hero-carousel-custom .carousel-indicators,
  #heroEventsCarousel .carousel-indicators {
    margin-top: 1rem;
    gap: 6px;
  }
  .hero-carousel-custom .carousel-indicators [data-bs-target],
  #heroEventsCarousel .carousel-indicators [data-bs-target] {
    width: 16px;
    height: 3px;
  }
  .hero-carousel-custom .carousel-indicators .active,
  #heroEventsCarousel .carousel-indicators .active {
    width: 28px;
  }
  .hero-banner-title {
    font-size: 1.05rem;
  }
}

/* Hover Lift Utility */
.hover-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08) !important;
}

/* Event Cards */
.event-card {
  border: 1px solid var(--rb-slate-200);
  border-radius: var(--rb-radius-lg);
  overflow: hidden;
  background: #ffffff;
  transition: var(--rb-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--rb-shadow-sm);
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--rb-shadow-md);
  border-color: var(--rb-slate-300);
  color: inherit !important;
  text-decoration: none !important;
}

.event-card:hover .event-card-title {
  color: var(--rb-primary) !important;
}

.event-card:hover .btn-event-action {
  background: var(--rb-primary-hover);
  color: #ffffff;
}

.event-card-img-wrap {
  position: relative;
  height: 210px;
  background-size: cover;
  background-position: center;
  background-color: var(--rb-slate-900);
}

.event-badge-category {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  padding: 4px 14px;
  border-radius: var(--rb-radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
}

.event-badge-date {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 6px 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.event-badge-date .month {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--rb-coral);
  display: block;
}

.event-badge-date .day {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--rb-dark);
  line-height: 1;
}

.event-card-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-tag-pill {
  display: inline-block;
  background: #f1f5f9;
  color: var(--rb-slate-700);
  padding: 3px 10px;
  border-radius: var(--rb-radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 4px;
  margin-bottom: 4px;
}

.btn-event-action {
  background: var(--rb-primary);
  color: #ffffff;
  border-radius: 14px;
  padding: 11px 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: var(--rb-transition);
}

.btn-event-action:hover {
  background: var(--rb-primary-hover);
  color: #ffffff;
}

/* Split Screen Auth Cards */
.auth-split-card {
  border-radius: var(--rb-radius-xl);
  overflow: hidden;
  border: 1px solid var(--rb-slate-200);
  box-shadow: var(--rb-shadow-lg);
  background: #ffffff;
}

.auth-left-panel {
  background: linear-gradient(145deg, #090d16 0%, #1e293b 100%);
  color: #ffffff;
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.auth-left-panel::after {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 71, 46, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -120px;
  right: -120px;
}

.auth-right-panel {
  padding: 3.5rem 3rem;
  background: #ffffff;
}

/* Auth Role Toggle Pill */
.auth-role-pill-wrap {
  display: flex;
  background: #f1f5f9;
  padding: 5px;
  border-radius: var(--rb-radius-pill);
  border: 1px solid var(--rb-slate-200);
  gap: 4px;
}

.auth-role-pill-btn {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--rb-slate-600);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--rb-radius-pill);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.auth-role-pill-btn:hover {
  color: var(--rb-slate-900);
}

.auth-role-pill-btn.active {
  background: #ffffff;
  color: var(--rb-primary);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.auth-role-pill-btn.active.host-active {
  color: var(--rb-coral);
}

.input-clean,
.input-cream,
.form-control,
.form-select {
  background-color: #ffffff !important;
  border: 1px solid var(--rb-slate-200) !important;
  border-radius: 12px !important;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--rb-dark);
  transition: var(--rb-transition);
}

.input-clean:focus,
.input-cream:focus,
.form-control:focus,
.form-select:focus {
  background-color: #ffffff !important;
  border-color: var(--rb-primary) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14) !important;
  outline: none;
}

.input-clean::placeholder,
.input-cream::placeholder,
.form-control::placeholder {
  color: #94a3b8;
  opacity: 1;
}

/* Prevent yellow autofill color in webkit browsers */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 50px #ffffff inset !important;
  -webkit-text-fill-color: var(--rb-dark) !important;
  caret-color: var(--rb-dark) !important;
}

/* Icon-Integrated Input Fields (No overlapping!) */
.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-icon-wrapper .input-icon-left {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.15rem;
  pointer-events: none;
  z-index: 4;
}

.input-icon-wrapper .input-icon-right-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  background: transparent;
  border: none;
  padding: 6px 10px;
  font-size: 1.15rem;
  z-index: 4;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--rb-transition);
}

.input-icon-wrapper .input-icon-right-btn:hover {
  color: var(--rb-dark);
  background: #f1f5f9;
}

.input-icon-wrapper input.form-control,
.input-icon-wrapper input.input-clean,
.input-icon-wrapper input.input-cream {
  padding-left: 46px !important;
  padding-right: 16px !important;
  width: 100%;
}

.input-icon-wrapper.has-right-btn input.form-control,
.input-icon-wrapper.has-right-btn input.input-clean,
.input-icon-wrapper.has-right-btn input.input-cream {
  padding-right: 48px !important;
}

/* Multi-Step Checkout Modal */
.checkout-stepper-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  padding: 14px 22px;
  border-radius: var(--rb-radius-md);
  margin-bottom: 24px;
  border: 1px solid var(--rb-slate-200);
}

.stepper-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--rb-slate-400);
}

.stepper-step.active {
  color: var(--rb-primary);
}

.stepper-step.completed {
  color: var(--rb-emerald);
}

.stepper-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--rb-slate-200);
  color: var(--rb-slate-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.stepper-step.active .stepper-circle {
  background: var(--rb-primary);
  color: #ffffff;
}

.stepper-step.completed .stepper-circle {
  background: var(--rb-emerald);
  color: #ffffff;
}

.tier-select-card {
  border: 1.5px solid var(--rb-slate-200);
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: var(--rb-transition);
  background: #ffffff;
}

.tier-select-card:hover {
  border-color: #93c5fd;
  background: #f8fafc;
}

.tier-select-card.selected {
  border-color: var(--rb-primary);
  background: #eff6ff;
}

/* Digital Race Pass & Ticket Styling */
.digital-pass-wrapper {
  max-width: 960px;
  margin: 0 auto;
}

.pass-ticket-main {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(226, 232, 240, 0.8);
  overflow: hidden;
  position: relative;
}

.pass-ticket-header {
  background: linear-gradient(135deg, #090e1a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 2rem 2.2rem 1.8rem;
  position: relative;
}

.pass-ticket-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6 0%, #10b981 50%, #f59e0b 100%);
}

.pass-bib-hero {
  background: radial-gradient(circle at top right, #1e293b 0%, #0f172a 100%);
  border: 2px dashed rgba(245, 158, 11, 0.4);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.pass-bib-number {
  font-family: 'Courier New', Courier, monospace;
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 4px;
  color: #fbbf24;
  line-height: 1;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.pass-perforation {
  position: relative;
  height: 32px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px dashed #cbd5e1;
  border-bottom: 1px dashed #cbd5e1;
}

.pass-perforation::before,
.pass-perforation::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-color: #f1f5f9;
  border-radius: 50%;
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.1);
}

.pass-perforation::before {
  left: -12px;
}

.pass-perforation::after {
  right: -12px;
}

.pass-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1.25rem;
  padding: 1.75rem 2.2rem;
  background: #ffffff;
}

.pass-info-item {
  display: flex;
  flex-direction: column;
}

.pass-info-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.pass-info-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.pass-expo-advisory {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 1rem 1.25rem;
}

.pass-sidebar-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.8);
  padding: 1.75rem;
}

.btn-social-whatsapp {
  background-color: #25D366;
  color: #ffffff;
  border: none;
  transition: all 0.2s ease;
}
.btn-social-whatsapp:hover {
  background-color: #20ba59;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.35);
}

.btn-social-x {
  background-color: #0f1419;
  color: #ffffff;
  border: none;
  transition: all 0.2s ease;
}
.btn-social-x:hover {
  background-color: #000000;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(15, 20, 25, 0.35);
}

.btn-social-linkedin {
  background-color: #0a66c2;
  color: #ffffff;
  border: none;
  transition: all 0.2s ease;
}
.btn-social-linkedin:hover {
  background-color: #084e96;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(10, 102, 194, 0.35);
}

.btn-social-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #ffffff;
  border: none;
  transition: all 0.2s ease;
}
.btn-social-instagram:hover {
  filter: brightness(1.08);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(214, 36, 159, 0.4);
}

/* Guest Lookup Search Card & Input Box */
.lookup-search-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.8);
  padding: 2rem;
}

.lookup-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 9999px;
  padding: 5px 6px 5px 18px;
  transition: all 0.2s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03);
}

.lookup-input-wrapper:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.lookup-input-field {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  width: 100%;
  padding: 6px 12px 6px 10px;
}

.lookup-input-field::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

/* Organizer Dashboard */
.stat-kpi-card {
  background: #ffffff;
  border-radius: var(--rb-radius-lg);
  border: 1px solid var(--rb-slate-200);
  padding: 1.5rem;
  transition: var(--rb-transition);
  box-shadow: var(--rb-shadow-sm);
}

.stat-kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--rb-shadow-md);
}

.stat-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.dashboard-table-container {
  background: #ffffff;
  border-radius: var(--rb-radius-lg);
  border: 1px solid var(--rb-slate-200);
  overflow: hidden;
  box-shadow: var(--rb-shadow-sm);
}

.status-badge-confirmed {
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--rb-radius-pill);
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.status-badge-checked_in {
  background: #dbeafe;
  color: var(--rb-primary);
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--rb-radius-pill);
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}


/* RunBuddies Footer */
.footer-runbuddies {
  background-color: var(--rb-dark);
  color: #94a3b8;
  margin-top: auto;
  padding: 4.5rem 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 8px;
  transition: var(--rb-transition);
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* ==========================================================================
   ULTRA-RICH ANIMATION & PREMIUM INTERACTION SUITE
   ========================================================================== */

/* Floating Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--rb-slate-800);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16), 0 2px 6px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.85);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
  background: var(--rb-primary);
  color: #ffffff;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.38);
  border-color: var(--rb-primary);
}

/* Infinite Live Athletics Marquee Ribbon */
.marquee-ribbon-wrapper {
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
  border-radius: 20px;
  padding: 13px 0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  margin-bottom: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-ribbon-wrapper::before,
.marquee-ribbon-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  z-index: 3;
  pointer-events: none;
}

.marquee-ribbon-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #090d16, transparent);
}

.marquee-ribbon-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #1e293b, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 34s linear infinite;
}

.marquee-ribbon-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  color: #f1f5f9;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.marquee-pill-tag {
  background: rgba(255, 71, 46, 0.22);
  color: #ff7865;
  border: 1px solid rgba(255, 71, 46, 0.4);
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.marquee-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--rb-amber);
  display: inline-block;
  opacity: 0.8;
}

/* Hero Floating Metric Badges */
.hero-floating-pill {
  position: absolute;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  padding: 8px 18px;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 10;
  animation: floatSlow 4s ease-in-out infinite;
}

.hero-floating-pill.top-right {
  top: 24px;
  right: 24px;
  animation-delay: 0s;
}

.hero-floating-pill.bottom-left-sub {
  bottom: 24px;
  right: 24px;
  animation-delay: 2s;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* Ambient Glowing Mesh Background Orbs */
.ambient-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(75px);
  pointer-events: none;
  opacity: 0.3;
  animation: orbFloat 9s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(35px, -25px) scale(1.18); }
}

/* Scroll Reveal Utilities (Pure Fade - Zero Layout Shift) */
.reveal-on-scroll {
  opacity: 0;
  transition: opacity 0.5s ease-out;
  will-change: opacity;
}

.reveal-on-scroll.revealed {
  opacity: 1;
}

/* Holographic Shimmer Effect for Pass / Bib */
.hologram-card {
  position: relative;
  overflow: hidden;
}

.hologram-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 70%
  );
  transform: rotate(30deg);
  animation: holoRotate 6s linear infinite;
  pointer-events: none;
}

@keyframes holoRotate {
  0% { transform: translateY(-100%) rotate(30deg); }
  100% { transform: translateY(100%) rotate(30deg); }
}

/* ==========================================================================
   EVENT DASHBOARD HIGHLIGHTED NAVIGATION & CARDS
   ========================================================================== */

.event-dashboard-nav-wrapper {
  background: #ffffff;
  border-radius: var(--rb-radius-pill);
  border: 1px solid var(--rb-slate-200);
  box-shadow: var(--rb-shadow-sm);
  padding: 6px 8px;
}

.event-nav-pill {
  color: #475569;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--rb-radius-pill);
  transition: all 0.2s ease-in-out;
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

.event-nav-pill:hover {
  color: var(--rb-dark);
  background-color: var(--rb-slate-100);
}

.event-nav-pill.active {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
  border-color: #1d4ed8;
}

.event-hub-card-clickable {
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  background: #ffffff;
  border: 1px solid var(--rb-slate-200);
  border-radius: 18px;
}

.event-hub-card-clickable:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12) !important;
  border-color: rgba(255, 71, 46, 0.3) !important;
}

.event-hub-card-clickable:hover .event-card-img-zoom {
  transform: scale(1.05);
}

.event-card-img-zoom {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Redesigned Search & Filter Toolbar */
.search-input-pill-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid var(--rb-slate-200);
  border-radius: var(--rb-radius-pill);
  padding: 4px 16px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
  min-width: 260px;
}

.search-input-pill-wrapper:focus-within {
  border-color: var(--rb-coral);
  box-shadow: 0 0 0 3px rgba(255, 71, 46, 0.12), 0 2px 6px rgba(15, 23, 42, 0.06);
}

.search-pill-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--rb-dark);
  padding: 6px 8px;
  width: 100%;
}

.search-pill-input::placeholder {
  color: #94a3b8;
  font-size: 0.85rem;
}

.custom-select-pill-wrapper {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid var(--rb-slate-200);
  border-radius: var(--rb-radius-pill);
  padding: 4px 14px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.custom-select-pill-wrapper:focus-within {
  border-color: var(--rb-coral);
  box-shadow: 0 0 0 3px rgba(255, 71, 46, 0.12);
}

.filter-pill-select {
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rb-dark);
  padding: 6px 4px;
  cursor: pointer;
}

.btn-host-event-cta {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: var(--rb-radius-pill);
  border: none;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-host-event-cta:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

/* High-Contrast Blue Card CTA Button */
.btn-card-manage {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff !important;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--rb-radius-pill);
  border: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  width: 100%;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-card-manage i {
  transition: transform 0.2s ease;
}

.event-hub-card-clickable:hover .btn-card-manage {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.42);
}

.event-hub-card-clickable:hover .btn-card-manage i {
  transform: translateX(4px);
}

.badge-banner-pill {
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.74rem;
  padding: 4px 10px;
  border-radius: var(--rb-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.2px;
}

.badge-category-glass {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #0f172a;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.3px;
  padding: 4px 10px;
  border-radius: var(--rb-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Vibrant Royal Blue Buttons & High-Contrast CTAs */
.btn-primary-blue {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: var(--rb-radius-pill) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.32) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-primary-blue:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.45) !important;
}

.btn-primary-blue:active {
  transform: translateY(0);
}

/* Coupon UI Cards & Elements */
.coupon-item-card {
  background: #ffffff;
  border: 1px solid var(--rb-slate-200);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.coupon-item-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.coupon-item-card.inactive {
  background: #f8fafc;
  opacity: 0.85;
}

.coupon-code-badge {
  background: #f0fdf4;
  color: #15803d;
  border: 1.5px dashed #22c55e;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 1.2px;
  padding: 5px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.coupon-code-badge:hover {
  background: #dcfce7;
  border-color: #16a34a;
  transform: translateY(-1px);
}

.coupon-code-badge.inactive {
  background: #f1f5f9;
  color: #64748b;
  border-color: #cbd5e1;
}

/* Clean De-Cluttered Coupons Layout */
.coupons-summary-bar {
  background: #ffffff;
  border: 1px solid var(--rb-slate-200);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.coupons-table-card {
  background: #ffffff;
  border: 1px solid var(--rb-slate-200);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.coupons-table {
  margin-bottom: 0;
  vertical-align: middle;
}

.coupons-table th {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  color: var(--rb-slate-500);
  background: #f8fafc;
  padding: 13px 18px;
  border-bottom: 1px solid var(--rb-slate-200);
}

.coupons-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--rb-slate-100);
  font-size: 0.88rem;
}

.coupons-table tbody tr:last-child td {
  border-bottom: none;
}

.coupons-table tbody tr:hover td {
  background-color: #fafcff;
}

.coupons-table tr.coupon-row-inactive td {
  background-color: #fbfcfd;
}

.coupons-table tr.coupon-row-inactive td:not(.actions-cell) {
  opacity: 0.7;
}

.coupon-type-radio-card {
  border: 1.5px solid var(--rb-slate-200);
  border-radius: 14px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #f8fafc;
}

.coupon-type-radio-card:hover {
  border-color: #93c5fd;
  background: #ffffff;
}

.coupon-type-radio-card.active {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 0 0 1px #2563eb;
}

/* Rounded Icon Containers with Soft Backgrounds */
.avatar-circle-sm {
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.avatar-circle-md {
  width: 48px;
  height: 48px;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.avatar-circle-lg {
  width: 60px;
  height: 60px;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.7rem;
  flex-shrink: 0;
}

.bg-primary-subtle {
  background-color: rgba(37, 99, 235, 0.12) !important;
  color: #1d4ed8 !important;
}

.bg-success-subtle {
  background-color: rgba(16, 185, 129, 0.12) !important;
  color: #047857 !important;
}

.bg-info-subtle {
  background-color: rgba(14, 165, 233, 0.12) !important;
  color: #0369a1 !important;
}

.bg-warning-subtle {
  background-color: rgba(245, 158, 11, 0.14) !important;
  color: #b45309 !important;
}

.bg-danger-subtle {
  background-color: rgba(239, 68, 68, 0.12) !important;
  color: #b91c1c !important;
}

.coupon-section-toggle-card {
  border: 1px solid #bfdbfe;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08), 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.input-clean-cream {
  border: 1.5px solid var(--rb-slate-200);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  background: #ffffff;
}

.input-clean-cream:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  outline: none;
}

/* ==========================================================================
   DRAG & DROP BANNER UPLOAD & LIVE PLACEMENT PREVIEW
   ========================================================================== */
.upload-dropzone {
  border: 2px dashed #93c5fd;
  background: #f8fafc;
  border-radius: 20px;
  padding: 2.25rem 1.5rem;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.upload-dropzone:hover {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.06);
}

.upload-dropzone.drag-active {
  border-color: #2563eb;
  background: #dbeafe;
  transform: scale(1.01);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.16);
}

.upload-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin-bottom: 0.75rem;
  transition: transform 0.2s ease;
}

.upload-dropzone:hover .upload-icon-circle {
  transform: translateY(-3px) scale(1.06);
  background: #dbeafe;
}

.resolution-badge {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.resolution-badge-secondary {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.banner-placement-preview-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #0f172a;
  transition: all 0.3s ease;
}

.banner-placement-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.secondary-placement-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.banner-preview-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.88) 85%);
  padding: 1.5rem 1.25rem 1rem 1.25rem;
  color: #ffffff;
  pointer-events: none;
}

.banner-preview-toolbar {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.banner-preview-btn {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: all 0.2s ease;
  cursor: pointer;
}

.banner-preview-btn:hover {
  background: #ffffff;
  transform: translateY(-1px);
  color: #2563eb;
}

.banner-preview-btn-danger:hover {
  color: #dc2626;
}

/* ==========================================================================
   DESCRIPTION FORMATTING TOOLBAR & RICH MARKDOWN STYLES
   ========================================================================== */
.desc-toolbar {
  background: #f8fafc;
  border: 1px solid var(--rb-slate-200);
  border-radius: 14px 14px 0 0;
  padding: 8px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  border-bottom: none;
}

.desc-format-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
  cursor: pointer;
}

.desc-format-btn:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #2563eb;
  transform: translateY(-1px);
}

.desc-format-btn:active {
  transform: translateY(0);
}

.desc-toolbar-divider {
  width: 1px;
  height: 22px;
  background: #cbd5e1;
  margin: 0 3px;
}

.desc-preset-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.desc-preset-chip:hover {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1d4ed8;
}

.desc-textarea-wrap textarea {
  border-radius: 0 0 14px 14px !important;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.6;
}

.desc-preview-pane {
  background: #ffffff;
  border: 1px solid var(--rb-slate-200);
  border-radius: 0 0 14px 14px;
  padding: 1.5rem;
  min-height: 220px;
  max-height: 480px;
  overflow-y: auto;
}

/* Event Rich Description Typography & Embedded Images */
.event-rich-description {
  font-size: 1rem;
  line-height: 1.75;
  color: #1e293b;
}

.event-rich-description h2, .desc-preview-pane h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1.5px solid #f1f5f9;
}

.event-rich-description h3, .desc-preview-pane h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.event-rich-description ul, .desc-preview-pane ul,
.event-rich-description ol, .desc-preview-pane ol {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.event-rich-description li, .desc-preview-pane li {
  margin-bottom: 0.4rem;
}

.event-rich-description img, .desc-preview-pane img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 1.25rem 0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.event-rich-description blockquote, .desc-preview-pane blockquote {
  border-left: 4px solid #2563eb;
  background: #f8fafc;
  padding: 12px 18px;
  border-radius: 0 12px 12px 0;
  margin: 1.25rem 0;
  font-style: italic;
  color: #475569;
}

.event-rich-description hr, .desc-preview-pane hr {
  border: 0;
  height: 1px;
  background: #e2e8f0;
  margin: 1.5rem 0;
}

#couponCodeInput::placeholder {
  text-transform: none !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  color: #94a3b8 !important;
  font-size: 0.9rem;
}

@media (min-width: 992px) {
  .border-start-lg {
    border-left: 1px solid #e2e8f0 !important;
  }
}

/* Modern Announcement Dispatch Studio */
.audience-pill-btn {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  color: #475569;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--rb-radius-pill);
  transition: all 0.2s ease;
  cursor: pointer;
}

.audience-pill-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: var(--rb-dark);
}

.audience-pill-btn.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.tag-insert-chip {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #3b82f6;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--rb-radius-pill);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.tag-insert-chip:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
  transform: translateY(-1px);
}

.preview-browser-header {
  background: #0f172a;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.preview-window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.preview-dot.red { background: #ef4444; }
.preview-dot.yellow { background: #f59e0b; }
.preview-dot.green { background: #10b981; }

.preview-device-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.15s ease;
  cursor: pointer;
}

.preview-device-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.preview-device-btn.active {
  background: #2563eb;
  border-color: #3b82f6;
  color: #ffffff;
}

/* Category Dropdown styled as an inline filter pill */
.audience-category-select {
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  color: #334155;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 32px 8px 14px;
  border-radius: var(--rb-radius-pill);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 11px 11px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.audience-category-select:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
  color: var(--rb-dark);
}

.audience-category-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  background-color: #ffffff;
}

/* Integrated Custom Input with Centered Icon */
.custom-input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.custom-input-leading-icon {
  position: absolute;
  left: 14px;
  color: #2563eb;
  font-size: 1.05rem;
  pointer-events: none;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-input-with-icon {
  padding-left: 42px !important;
  padding-right: 14px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 12px !important;
  border: 1.5px solid #e2e8f0 !important;
  font-weight: 600;
  font-size: 0.92rem;
  color: #0f172a;
  background-color: #ffffff;
  transition: all 0.2s ease;
  width: 100%;
}

.custom-input-with-icon:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.12) !important;
  outline: none;
}

/* Live Email Body Typography & List Reset */
.announcement-live-body {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.65;
}

.announcement-live-body p {
  margin: 0 0 12px 0;
}

.announcement-live-body p:last-child {
  margin-bottom: 0;
}

.announcement-live-body ul, .announcement-live-body ol {
  margin: 0 0 14px 0 !important;
  padding-left: 22px !important;
  list-style-type: disc !important;
}

.announcement-live-body ol {
  list-style-type: decimal !important;
}

.announcement-live-body li {
  margin-bottom: 5px !important;
  line-height: 1.55 !important;
}

.announcement-live-body blockquote {
  border-left: 3px solid #2563eb;
  background-color: #f8fafc;
  padding: 8px 14px;
  margin: 12px 0;
  border-radius: 0 8px 8px 0;
  color: #475569;
  font-style: italic;
}

/* ==========================================================================
   ATHLETIC RUNNING GUY REQUEST LOADER (1.5s Universal Interaction)
   ========================================================================== */
.running-guy-loader-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease-out;
}

.running-guy-loader-backdrop.active {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: all !important;
  transition: none !important;
}

.running-guy-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px;
  padding: 32px 36px 28px 36px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(226, 232, 240, 0.6);
  max-width: 320px;
  width: 90%;
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.running-guy-loader-backdrop.active .running-guy-card {
  transform: scale(1) translateY(0);
}

.running-guy-stage {
  position: relative;
  width: 130px;
  height: 120px;
  margin: 0 auto 12px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.runner-glow-halo {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 82, 82, 0.18) 0%, rgba(255, 122, 0, 0.05) 60%, transparent 75%);
  animation: runnerHaloPulse 1.2s ease-in-out infinite alternate;
}

.running-guy-svg {
  position: relative;
  z-index: 2;
  overflow: visible;
}

/* Athlete Limb Rig Origins & Rotations */
.runner-body-group {
  transform-box: view-box;
  transform-origin: 66px 76px;
  animation: runnerBodySprint 0.44s ease-in-out infinite alternate;
}

.arm-front {
  transform-box: view-box;
  transform-origin: 60px 52px;
  animation: limbFrontArm 0.44s ease-in-out infinite alternate;
}

.arm-back {
  transform-box: view-box;
  transform-origin: 64px 52px;
  animation: limbBackArm 0.44s ease-in-out infinite alternate;
}

.leg-front {
  transform-box: view-box;
  transform-origin: 66px 74px;
  animation: limbFrontLeg 0.44s ease-in-out infinite alternate;
}

.leg-back {
  transform-box: view-box;
  transform-origin: 66px 74px;
  animation: limbBackLeg 0.44s ease-in-out infinite alternate;
}

.headband-tail-1, .headband-tail-2 {
  transform-box: view-box;
  transform-origin: 56px 28px;
  animation: headbandFlutter 0.22s ease-in-out infinite alternate;
}

.runner-ground-shadow {
  transform-box: view-box;
  transform-origin: 68px 118px;
  animation: runnerShadowScale 0.44s ease-in-out infinite alternate;
}

.track-dash {
  animation: trackDashFlow 0.55s linear infinite;
}

.track-dash-1 { animation-delay: 0s; }
.track-dash-2 { animation-delay: -0.18s; }
.track-dash-3 { animation-delay: -0.36s; }

.wind-line {
  animation: windRush 0.45s linear infinite;
}
.wind-1 { animation-delay: 0s; }
.wind-2 { animation-delay: -0.15s; }
.wind-3 { animation-delay: -0.3s; }

/* Text & Progress Track */
.running-guy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #2563eb;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.running-guy-badge .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
  animation: pulseDot 1s infinite;
}

.running-guy-msg {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  min-height: 1.5rem;
}

.running-guy-meter-track {
  width: 100%;
  height: 6px;
  background: #f1f5f9;
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.running-guy-meter-fill {
  height: 100%;
  width: 0%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #ff4757 0%, #ff7f50 50%, #2563eb 100%);
  box-shadow: 0 0 10px rgba(255, 71, 87, 0.5);
}

.running-guy-meter-fill.continuous-pulse {
  width: 100% !important;
  animation: continuousMeterSweep 1.6s ease-in-out infinite !important;
}

.running-guy-close-hint {
  margin-top: 14px;
  font-size: 0.75rem;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.15s ease;
}

.running-guy-close-hint:hover {
  color: #2563eb;
}

@keyframes continuousMeterSweep {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0%); }
  100% { transform: translateX(100%); }
}

/* Keyframe Animations */
@keyframes runnerBodySprint {
  0% { transform: translateY(0px) rotate(4deg); }
  100% { transform: translateY(-7px) rotate(8deg); }
}

@keyframes limbFrontLeg {
  0% { transform: rotate(-38deg); }
  100% { transform: rotate(38deg); }
}

@keyframes limbBackLeg {
  0% { transform: rotate(38deg); }
  100% { transform: rotate(-38deg); }
}

@keyframes limbFrontArm {
  0% { transform: rotate(42deg); }
  100% { transform: rotate(-42deg); }
}

@keyframes limbBackArm {
  0% { transform: rotate(-42deg); }
  100% { transform: rotate(42deg); }
}

@keyframes headbandFlutter {
  0% { transform: rotate(0deg) skewY(0deg); }
  100% { transform: rotate(-12deg) skewY(-10deg); }
}

@keyframes runnerShadowScale {
  0% { transform: scaleX(1); opacity: 0.18; }
  100% { transform: scaleX(0.72); opacity: 0.08; }
}

@keyframes runnerHaloPulse {
  0% { transform: scale(0.9); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 0.9; }
}

@keyframes trackDashFlow {
  0% { transform: translateX(35px); opacity: 0.2; }
  50% { opacity: 0.8; }
  100% { transform: translateX(-35px); opacity: 0.2; }
}

@keyframes windRush {
  0% { transform: translateX(18px); opacity: 0; }
  50% { opacity: 0.9; }
  100% { transform: translateX(-28px); opacity: 0; }
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* Multi-Animation Theme Pill Switcher */
.runner-theme-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.runner-theme-pill {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.runner-theme-pill:hover {
  background: #eff6ff;
  color: #2563eb;
  border-color: #bfdbfe;
}

.runner-theme-pill.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* Theme 2: Turbo Running Shoe Animations */
.shoe-body {
  transform-box: view-box;
  transform-origin: 70px 75px;
  animation: shoeGallop 0.4s ease-in-out infinite alternate;
}

.shoe-lace-1, .shoe-lace-2 {
  transform-box: view-box;
  transform-origin: 72px 55px;
  animation: laceFlutter 0.2s ease-in-out infinite alternate;
}

.shoe-fire-blast {
  animation: fireBlastPulse 0.35s ease-out infinite;
}

.shoe-spark {
  animation: sparkDrift 0.4s linear infinite;
}

@keyframes shoeGallop {
  0% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-10px) rotate(8deg); }
  100% { transform: translateY(0) rotate(-4deg); }
}

@keyframes laceFlutter {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-18deg); }
}

@keyframes fireBlastPulse {
  0% { transform: scale(0.6) translateX(10px); opacity: 0.9; }
  100% { transform: scale(1.3) translateX(-25px); opacity: 0; }
}

@keyframes sparkDrift {
  0% { transform: translate(10px, 0); opacity: 1; }
  100% { transform: translate(-30px, -15px); opacity: 0; }
}

/* Theme 3: Trail & Mountain Ultra Runner */
.trail-runner-body {
  transform-box: view-box;
  transform-origin: 66px 76px;
  animation: trailCadence 0.46s ease-in-out infinite alternate;
}

.trail-mountain-bg {
  animation: trailScroll 3s linear infinite;
}

.trail-tree {
  animation: treeScroll 1.8s linear infinite;
}

@keyframes trailCadence {
  0% { transform: translateY(0) rotate(2deg); }
  100% { transform: translateY(-8px) rotate(6deg); }
}

@keyframes trailScroll {
  0% { transform: translateX(30px); }
  100% { transform: translateX(-30px); }
}

@keyframes treeScroll {
  0% { transform: translateX(50px); opacity: 0.3; }
  50% { opacity: 0.8; }
  100% { transform: translateX(-50px); opacity: 0.1; }
}

/* Theme 4: Fire Blaze Sprinter */
.fire-aura {
  animation: fireAuraFlicker 0.3s ease-in-out infinite alternate;
}

.fire-flame-tail {
  animation: flameTailWiggle 0.22s ease-in-out infinite alternate;
}

@keyframes fireAuraFlicker {
  0% { transform: scale(0.95); opacity: 0.6; filter: drop-shadow(0 0 4px #ff7f50); }
  100% { transform: scale(1.15); opacity: 0.95; filter: drop-shadow(0 0 12px #ff4757); }
}

@keyframes flameTailWiggle {
  0% { transform: rotate(0deg) scaleX(0.9); }
  100% { transform: rotate(-14deg) scaleX(1.2); }
}

/* Theme 5: 8-Bit Retro Pixel Runner */
.pixel-runner {
  animation: pixelJump 0.32s steps(2, start) infinite;
}

.pixel-floor {
  animation: pixelFloorScroll 0.4s linear infinite;
}

@keyframes pixelJump {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

@keyframes pixelFloorScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-20px); }
}

/* ==========================================
   FORM BUILDER & ATTENDEE QUESTION DESIGNER
   ========================================== */
.question-card-builder {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  transition: all 0.2s ease;
}

.question-card-builder:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.btn-trash-soft {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ef4444;
  background: #fef2f2;
  border: 1px solid #fee2e2;
  transition: all 0.15s ease;
}

.btn-trash-soft:hover {
  background: #fee2e2;
  color: #dc2626;
  transform: scale(1.06);
}

.option-chip-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.15s ease;
}

.option-chip-pill .btn-remove-chip {
  cursor: pointer;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1;
  transition: color 0.15s ease;
}

.option-chip-pill .btn-remove-chip:hover {
  color: #ef4444;
}

.size-chip-toggle {
  cursor: pointer;
  user-select: none;
}

.size-chip-toggle input[type="checkbox"] {
  display: none;
}

.size-chip-toggle .size-chip-inner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  transition: all 0.15s ease;
}

.size-chip-toggle:hover .size-chip-inner {
  border-color: #93c5fd;
  color: #1d4ed8;
}

.size-chip-toggle input[type="checkbox"]:checked + .size-chip-inner {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1d4ed8;
  box-shadow: 0 1px 3px rgba(59, 130, 246, 0.15);
}

.size-chip-toggle .btn-del-custom-size {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-left: 2px;
}

.size-chip-toggle .btn-del-custom-size:hover {
  color: #ef4444;
}








