html{
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #e9e8e8;
  color: white;
  font-family: Arial, sans-serif;
}

h1 {
  color: #1c8ccc;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5px 40px;
  background-color:#e9e8e8;
  position: relative;
  z-index: 1000;
}

.logo {
  font-size: 40px;
  font-weight: bold;
  color: #000000;
}

/* Brand: Arenor (default) + 360 (blue) */
.brand-name {
  font-weight: inherit;
  color: inherit;
}
.brand-360 {
  color: #0ea5e9;
  font-weight: inherit;
}
.logo .brand-name {
  color: #000000;
}
.footer-brand.brand-name {
  color: #000000;
}
body.partner-dashboard-page .logo .brand-name,
body.owner-dashboard-page .logo .brand-name {
  color: #111827;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;

}

.nav-links li {
  cursor: pointer;
  font-weight: 500;
}
.hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: clamp(220px, 34vw, 520px) 40px 48px;
  color: rgb(10, 0, 95);
  background-color: #e9e8e8;
  background-image: url("images/hero-bg.png");
  background-size: min(100%, 1400px) auto;
  background-position: top center;
  background-repeat: no-repeat;
  position: relative;
  min-height: auto;
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 0;
  pointer-events: none;
}

.hero * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 12px;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 600px;
  margin-bottom: 25px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 420px;
}

.hero .hero-tagline {
  margin: 0;
  margin-top: 14px;
  padding: 0 16px;
  max-width: min(40rem, calc(100% - 24px));
  box-sizing: border-box;
  color: #6b7280;
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1.12;
  text-align: center;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  opacity: 1;
}

.btn {
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

.btn.primary {
  background: #38bdf8;
  color: #170202;
}

.btn.secondary {
  border: 2px solid #38bdf8;
  color: #38bdf8;
}

.btn.primary:hover {
  background-color: #0ea5e9;
}

.btn.secondary:hover {
  background: #38bdf8;
  color: #020617;
}
.section{
  padding: 50px 40px;
  color: white;
}

.section h2{
  font-size: 32px;
  margin-bottom: 10px;
}

.section p{
  opacity: 0.9;
  margin-bottom: 25px;
}

.cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.card{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 18px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.card:hover{
  transform: translateY(-6px);
  background: rgba(255,255,255,0.10);
}

.card h3{
  margin: 0 0 8px 0;
  font-size: 20px;
}

.btn.small{
  padding: 8px 12px;
  font-size: 14px;
}
.sport-card p{
  margin-bottom: 14px;
}
.section{
  padding: 60px 40px;
  color: white;
}

.section h2{
  font-size: 32px;
  margin-bottom: 10px;
}

.section p{
  opacity: 0.9;
  margin-bottom: 25px;
}

.venue-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.venue-card{
  background: rgb(255, 255, 255);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 18px;
}

.venue-card-img{
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
  display: block;
}

.venue-card-img-swipe{
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.venue-card-img-track{
  display: flex;
  height: 100%;
  width: 100%;
  will-change: transform;
}

.venue-card-img-track--animating{
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.venue-card-img-slide{
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  height: 100%;
}

.popular-city-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.popular-city-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  min-height: 30px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #374151;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.popular-city-chip:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #1f2937;
}

.venue-card-img-swipe .venue-card-img{
  margin-bottom: 0;
  width: 100%;
  height: 100%;
}

.venue-card-img-fallback{
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  color: #374151;
  font-size: 0.95rem;
}

.venue-card-img-dots{
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
  pointer-events: none;
}

.venue-card-img-dot{
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
}

.venue-card-img-dot.active{
  background: #ffffff;
}

.venue-card h3{
  margin: 0 0 10px 0;
  font-size: 20px;
}

.venue-card .meta{
  opacity: 0.85;
  margin-bottom: 14px;
}

.venue-card-rating{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.venue-card-rating-stars{
  display: inline-flex;
  gap: 2px;
  line-height: 1;
}

.venue-card-rating-stars .star{
  font-size: 14px;
  color: #d1d5db;
}

.venue-card-rating-stars .star.full{ color: #f59e0b; }
.venue-card-rating-stars .star.half{
  background: linear-gradient(90deg, #f59e0b 50%, #d1d5db 50%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.venue-card-rating-text{
  font-size: 0.86rem;
  color: #4b5563;
}

.view-more-venues {
  display: inline-block;
  margin-top: 1.25rem;
  text-decoration: none;
}

.filters{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}

.filters select{
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.25);
  color: white;
  outline: none;
  min-width: 180px;
}

.filters option{
  color: black;
}
.filters{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:20px 0 30px;
}

.filters select{
  padding:12px 14px;
  border-radius:8px;
  border:1px solid #2b4b68;
  background:#1c8ccc;
  color:white;
  min-width:200px;
}
.section{
  padding: 50px 40px;
  color: rgb(80, 80, 80);
}

.section h2{
  font-size: 34px;
  margin-bottom: 8px;
}

.section p{
  opacity: 0.9;
}

.venue-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.venue-card{
  background: rgb(255, 255, 255);
  border-radius: 14px;
  padding: 18px;
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.venue-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  border: 1px solid rgba(56,189,248,0.6);
}

.venue-card h3{
  margin: 0 0 8px;
  font-size: 20px;
}

.venue-card .meta{
  margin-top: 10px;
  opacity: 0.9;
}

.view-more-venues {
  display: inline-block;
  margin-top: 1.25rem;
  text-decoration: none;
}

.nav-links a{
  color: rgb(0, 0, 0);
  text-decoration: none;
  opacity: 0.9;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover{
  background: rgba(56,189,248,0.18);
  opacity: 1;
}

.nav-links .pwa-install-btn {
  background: none;
  border: none;
  font: inherit;
  font-weight: 500;
  color: rgb(0, 0, 0);
  opacity: 0.9;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}
.nav-links .pwa-install-btn:hover {
  background: rgba(56,189,248,0.18);
  opacity: 1;
}

body.pwa-standalone .pwa-install-nav-item {
  display: none !important;
}

.pwa-install-help {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.pwa-install-help.pwa-install-help--open {
  display: flex;
}
.pwa-install-help-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.pwa-install-help-panel {
  position: relative;
  max-width: 400px;
  width: 100%;
  background: #fff;
  color: #111827;
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  z-index: 1;
}
.pwa-install-help-title {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 800;
}
.pwa-install-help-body {
  font-size: 0.95rem;
  line-height: 1.45;
  margin-bottom: 14px;
}
.pwa-install-help-body p {
  margin: 0 0 10px;
}
.pwa-install-help-steps {
  margin: 0 0 10px;
  padding-left: 1.2rem;
}
.pwa-install-help-steps li {
  margin-bottom: 6px;
}
.pwa-install-help-note {
  font-size: 0.88rem;
  color: #6b7280;
  margin: 0 !important;
}
.pwa-install-help-close {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.btn{
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover{
  transform: translateY(-2px);
}
.modal{
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content{
  background: #170a02;
  padding: 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 360px;
  color: rgb(255,255, 255);
}

.modal-content input{
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: none;
}

.close-btn{
  float: right;
  font-size: 22px;
  cursor: pointer;
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
}

.modal.show {
  display: flex;
}

.modal-content {
  width: min(520px, 100%);
  background: #ccc6ff;
  border: 1px solid rgba(58, 42, 202, 0.336);
  border-radius: 14px;
  padding: 20px;
  color: #000000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.modal-close {
  float: right;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 25px;
  cursor: pointer;
  line-height: 1;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin: 0px 0;
}

.input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: #fff;
  outline: none;
}

.input::placeholder {
  color: rgba(255,255,255,0.6);
}

.msg {
  margin-top: 10px;
  opacity: 0.85;
  font-size: 14px;
}

.venues-loading-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #d1d5db;
  border-top-color: #2563eb;
  border-radius: 50%;
  display: inline-block;
  animation: arenaspin 0.8s linear infinite;
}

@keyframes arenaspin {
  to { transform: rotate(360deg); }
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
#bookingSlot{
  background: rgba(255,255,255,0.06);
  color: #fff;
}

#bookingSlot option{
  background: #0b3a5a;
  color: #fff;
}
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.time-slots{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin:14px 0;
}

.slot{
  border:none;
  border-radius:10px;
  padding:8px 10px;
  text-align:left;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  gap:6px;
  transition:0.2s;
}

.slot-time{
  font-weight:700;
  font-size:10px;
}

.slot-price{
  font-weight:700;
  font-size:13px;
  opacity:0.95;
}

/* GREEN (available) */
.slot.available{
  background:#1dbf73;
  color:#fff;
}
.slot.available:hover{
  transform:translateY(-1px);
}

/* RED (booked) */
.slot.booked{
  background:#e53935;
  color:#fff;
  cursor:not-allowed;
  opacity:0.85;
}

/* Selected (optional highlight) */
.slot.selected{
  outline:2px solid rgba(255,255,255,0.6);
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
}

.logo img{
  width:120px;
  height:120px;
  object-fit:contain;
}
/* SPORTS GRID */
.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.sports-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 12px;
}

.sports-filters > * {
  min-width: 0;
}

.sports-filters select {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  padding: 10px 12px;
}

/* SPORT CARD */
.sport-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.sport-card.sport-card--has-bg {
  position: relative;
  overflow: hidden;
  min-height: 200px;
  background-color: #0f172a;
  background-size: cover;
  background-position: center;
  border: none;
  padding: 0;
  color: #f8fafc;
}

.sport-card.sport-card--has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.88) 100%);
  pointer-events: none;
  z-index: 0;
}

.sport-card.sport-card--has-bg .sport-card__inner {
  position: relative;
  z-index: 1;
  padding: 20px;
}

.sport-card.sport-card--has-bg h3,
.sport-card.sport-card--has-bg p {
  color: #f8fafc;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.sport-card.sport-card--has-bg p {
  opacity: 0.95;
}

/* HOVER EFFECT */
.sport-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  border: 1px solid rgba(56,189,248,0.6);
}

.sport-card.sport-card--has-bg:hover {
  border: 1px solid rgba(56, 189, 248, 0.45);
}

/* TEXT */
.sport-card h3 {
  margin-bottom: 10px;
}

.sport-card p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 18px;
}

/* BOOK NOW BUTTON */
.book-btn {
  background: #0ea5e9;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  -o-transition: 0.2s ease;
  transition: 0.2s ease;
}

.book-btn:hover {
  background: #0284c7;
  transform: translateY(0px);
}
/* SPORTS SECTION - Book Now Button FIX */
.sport-book-now {
  background: #0ea5e9;   /* blue */
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s ease;
}

.sport-book-now:hover {
  background: #0284c7;
  transform: translateY(-2px);
}

.sport-book-now:active {
  transform: translateY(0);
}

/* SPORTS SECTION - Explore Now button matches Book Now style */
.sport-explore-now {
  background: #0ea5e9;
  color: #000000;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s ease;
}

.sport-explore-now:hover {
  background: #0284c7;
  transform: translateY(-2px);
}

.sport-explore-now:active {
  transform: translateY(0);
}
/* TOURNAMENTS SECTION (legacy cards still used by Find Your Mate) */
.tournaments-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:24px;
  margin-top:30px;
}

.tournament-card{
  background:#ffffff;
  border-radius:14px;
  padding:20px;
  text-align:center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.tournament-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.20);
  border: 1px solid rgba(14,165,233,0.5);
}

.tournament-card p{
  font-size:14px;
  opacity:0.8;
  margin-bottom:18px;
}

.tournament-btn{
  background:#0ea5e9;
  color:#fff;
  border:none;
  padding:10px 22px;
  border-radius:8px;
  cursor:pointer;
  font-weight:700;
  transition: all 0.2s ease;
}

.tournament-btn:hover{
  background:#0284c7;
  transform: translateY(-2px);
}

/* ===== Tournaments & Competitions redesign (tc-*) ===== */
.tc-section {
  color: #374151;
}

.tc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 28px;
}

.tc-filter {
  border: 1px solid #dbe3ea;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.tc-filter:hover {
  border-color: #7dd3fc;
  color: #0369a1;
  transform: translateY(-1px);
}

.tc-filter.is-active {
  background: #0ea5e9;
  border-color: #0ea5e9;
  color: #fff;
  box-shadow: 0 8px 18px rgba(14, 165, 233, 0.28);
}

.tc-upcoming-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.tc-upcoming-title {
  margin: 0;
  font-size: 22px;
  color: #111827;
  font-weight: 800;
}

.tc-link-btn {
  border: none;
  background: transparent;
  color: #0284c7;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  padding: 6px 4px;
}

.tc-link-btn:hover {
  color: #0369a1;
  text-decoration: underline;
}

.tc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.tc-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}

.tc-card.is-hidden {
  display: none;
}

.tc-card-cover {
  height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tc-cover-emoji {
  font-size: 48px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.18));
}

.tc-cover--football {
  background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
}
.tc-cover--cricket {
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
}
.tc-cover--badminton {
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
}
.tc-cover--tt {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}
.tc-cover--turf {
  background: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
}
.tc-cover--cricket-night {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
}

.tc-card-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.tc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.tc-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}

.tc-badge--sport {
  background: #e0f2fe;
  color: #0369a1;
}

.tc-badge--format {
  background: #f1f5f9;
  color: #475569;
}

.tc-card-date {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

.tc-card-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  color: #0f172a;
  font-weight: 800;
}

.tc-card-venue,
.tc-card-city {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.tc-card-venue {
  font-weight: 600;
  color: #475569;
}

.tc-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid #eef2f7;
}

.tc-meta-label {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 2px;
}

.tc-prize strong {
  color: #0f172a;
  font-size: 15px;
}

.tc-players {
  text-align: right;
}

.tc-avatars {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 4px;
}

.tc-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0ea5e9;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  margin-left: -8px;
}

.tc-avatar:first-child {
  margin-left: 0;
}

.tc-players-count {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.tc-cta {
  margin-top: 14px;
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  background: #0ea5e9;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.tc-cta:hover {
  background: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.28);
}

.tc-cta--solid {
  width: auto;
  white-space: nowrap;
}

.tc-empty {
  text-align: center;
  padding: 28px 12px;
  color: #64748b;
  font-weight: 600;
}

.tc-host-strip {
  margin-top: 28px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.tc-host-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex: 0 0 auto;
}

.tc-host-copy {
  flex: 1 1 220px;
}

.tc-host-title {
  margin: 0 0 4px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
}

.tc-host-sub {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.tc-why {
  margin-top: 34px;
}

.tc-why-title {
  margin: 0 0 16px;
  color: #0f172a;
  font-size: 22px;
  font-weight: 800;
}

.tc-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.tc-why-card {
  background: #fff;
  border-radius: 20px;
  padding: 18px 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tc-why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.tc-why-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 12px;
}

.tc-why-card h4 {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
}

.tc-why-card p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
  opacity: 1;
}

.tc-notify {
  margin-top: 28px;
  background: linear-gradient(135deg, #e0f2fe 0%, #ffffff 55%, #f0f9ff 100%);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 22px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.12);
}

.tc-notify-left {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1 1 280px;
}

.tc-notify-gift {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex: 0 0 auto;
}

.tc-notify-title {
  margin: 0 0 4px;
  color: #0f172a;
  font-size: 20px;
  font-weight: 800;
}

.tc-notify-sub {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.45;
  opacity: 1;
}

.tc-notify-form {
  display: flex;
  gap: 10px;
  flex: 1 1 280px;
  align-items: center;
}

.tc-notify-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  background: #fff;
  color: #0f172a;
}

.tc-notify-input:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

@media (max-width: 720px) {
  .tc-host-strip {
    align-items: flex-start;
  }

  .tc-host-strip .tc-cta--solid,
  .tc-notify-form .tc-cta--solid {
    width: 100%;
  }

  .tc-notify-form {
    flex-direction: column;
    align-items: stretch;
  }

  .tc-upcoming-title {
    font-size: 18px;
  }
}
/* Outdoor Tournament Modal buttons layout */
.outdoor-actions{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:14px;
}

.outdoor-actions .btn{
  width:100%;
  text-align:center;
  color:black;
}
.modal-close{
  cursor: pointer;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
}
.modal-content{
  position: relative;
}
/* ===== Booking Modal Inputs White ===== */
#bookingModal .input,
#bookingModal input[type="date"],
#bookingModal input[type="tel"],
#bookingModal input[type="password"]{
  background: #ffffff !important;   /* box white */
  color: #000000 !important;        /* text black */
  border: 1px solid #cbd5e1;
}

/* placeholder text */
#bookingModal .input::placeholder,
#bookingModal input::placeholder{
  color: #374151;   /* dark grey */
  opacity: 1;
}

/* focus (click karne par) */
#bookingModal .input:focus,
#bookingModal input:focus{
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 2px rgba(14,165,233,0.25);
}
#bookingModal .form-row{
  position: relative;
  left: 0;
}

/* ===== Booking modal: white card + compact spacing ===== */
#bookingModal .modal-content {
  background: #ffffff;
  color: #111827;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow:
    0 20px 50px rgba(15, 23, 42, 0.12),
    0 8px 20px rgba(15, 23, 42, 0.08);
  max-width: min(440px, calc(100vw - 32px));
  padding: 20px 20px 22px;
  max-height: 90vh;
  overflow-y: auto;
}
#bookingModal .form-row {
  gap: 12px;
  margin-bottom: 4px;
}
#bookingModal .form-row:last-of-type {
  margin-bottom: 0;
}
#bookingModal .input,
#bookingModal input[type="date"],
#bookingModal input[type="tel"],
#bookingModal input[type="text"],
#bookingModal input[type="password"],
#bookingModal select.input {
  margin-top: 4px;
  margin-bottom: 4px;
}
#bookingModal .form-row label {
  margin-bottom: 2px;
}

/* Booking modal: date field — label + hint + clear tap target (mobile) */
#bookingModal .booking-date-field {
  gap: 8px;
  margin-bottom: 8px;
}

#bookingModal .booking-date-label {
  display: block;
  font-weight: 500;
  color: #4b5563;
  font-size: 0.9375rem;
  margin: 0;
}

#bookingModal .booking-date-input-wrap {
  position: relative;
  width: 100%;
  display: block;
}

#bookingModal .booking-date-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 44px 12px 14px;
  border-radius: 10px;
  border: 1px solid #d1d5db !important;
  box-sizing: border-box;
  cursor: pointer;
  color-scheme: light;
  font-size: 16px;
}

#bookingModal .booking-date-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 1;
  padding: 4px;
  margin-left: 4px;
}

/* Helper line only on small screens — desktop uses native date text only */
#bookingModal .booking-date-hint {
  display: none;
}

#bookingModal .modal-close {
  color: #6b7280;
  font-size: 28px;
  line-height: 1;
  padding: 4px 8px;
}
#bookingModal .modal-close:hover {
  color: #111827;
}

#bookingModal h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  margin: 0 36px 6px 0;
}

#bookingModal #selectedVenuePrice,
#bookingModal .modal-content > .meta {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0 0 14px;
  line-height: 1.45;
}

#bookingModal .time-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 16px 0 8px;
}

#bookingModal .slot {
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid transparent;
}

#bookingModal .slot-time {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
}

#bookingModal .slot-price {
  font-size: 0.9375rem;
  font-weight: 700;
}

#bookingModal .slot.available {
  background: #ffffff;
  color: #111827;
  border-color: #e5e7eb;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

#bookingModal .slot.available .slot-price {
  color: #f97316;
}

#bookingModal .slot.available:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

#bookingModal .slot.selected {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

#bookingModal .slot.available.selected {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

#bookingModal .slot.selected .slot-time,
#bookingModal .slot.selected .slot-price,
#bookingModal .slot.available.selected .slot-time,
#bookingModal .slot.available.selected .slot-price {
  color: #ffffff !important;
}

#bookingModal .slot.booked {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-color: #ef4444;
  cursor: not-allowed;
  opacity: 0.92;
  transform: none;
  box-shadow: none;
}

#bookingModal .slot.booked .slot-price {
  color: #ffffff;
}

/* ===== Payment modal: match booking popup ===== */
#paymentModal .modal-content {
  background: #ffffff;
  color: #111827;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  max-width: min(400px, calc(100vw - 32px));
  padding: 20px 20px 22px;
  position: relative;
}

#paymentModal .modal-close {
  color: #6b7280;
  font-size: 28px;
  line-height: 1;
  padding: 4px 8px;
}

#paymentModal .modal-close:hover {
  color: #111827;
}

#paymentModal h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  margin: 0 36px 10px 0;
}

#paymentModal .payment-modal-desc {
  color: #6b7280;
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0 0 18px;
  opacity: 1;
}

#paymentModal .payment-modal-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  justify-content: center;
  margin-bottom: 4px;
}

#paymentModal .payment-modal-actions .btn {
  flex: 1 1 calc(50% - 6px);
  min-width: min(132px, 100%);
  text-align: center;
  box-sizing: border-box;
}

#paymentModal #payConfirmBtn {
  background: #3b82f6;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 600;
}

#paymentModal #payConfirmBtn:hover:not(:disabled) {
  background: #2563eb;
}

#paymentModal #payConfirmBtn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

#paymentModal #closePaymentBtn2 {
  background: #ffffff;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 600;
}

#paymentModal #closePaymentBtn2:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

#paymentModal #paymentMsg {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #6b7280;
  opacity: 1;
}

/* SPORTS MODAL TEXT COLOR FIX */
#sportsModal h2,
#sportsModal .meta {
  color: #000000;
}
/* FIND YOUR MATE MODAL TEXT COLOR FIX */
#findMateModal h2,
#findMateModal .meta {
  color: #000000;
}
/* FIND YOUR MATE – INPUTS & SELECT WHITE BOX */
#findMateModal .input,
#findMateModal input,
#findMateModal select {
  background: #ffffff;
  color: #000000;
  border: 1px solid #cbd5e1;
}

/* Placeholder text black/grey */
#findMateModal .input::placeholder,
#findMateModal input::placeholder {
  color: #555555;
}

/* Dropdown options */
#findMateModal select option {
  color: #000000;
  background: #ffffff;
}
/* Outdoor Tournament buttons – default WHITE */
#outdoorModal .outdoor-actions .btn {
  background: #ffffff;
  color: #000000;
  border: none;              /* border REMOVE */
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: all 0.2s ease;
}
/* Indoor Tournament modal heading text BLACK */
#indoorModal h2,
#indoorModal .meta,
#indoorModal p {
  color: #000000;
}
#outdoorModal .modal-content{
  background:#cbd5e1 !important;
  color:#000 !important;
}
#outdoorModal .modal-content h2,
#outdoorModal .modal-content p{
  color:#000 !important;
}
#outdoorModal .modal-close{
  color:#000 !important;
}
/* ===== FRIENDLY COMPETITION BUTTON FIX ===== */

/* default state (NO color, NO border) */
#friendlyModal .outdoor-actions .btn{
  background: #ffffff !important;
  color: #000 !important;
  border: none !important;
  box-shadow: none !important;
  transition: all 0.2s ease;
}

/* hover state */
#friendlyModal .outdoor-actions .btn:hover{
  background: #0ea5e9 !important;
  color: #fff !important;
}

/* active / selected state (click) */
#friendlyModal .outdoor-actions .btn:active,
#friendlyModal .outdoor-actions .btn.selected{
  background: #0ea5e9 !important;
  color: #fff !important;
}
/* ===== SPORTS EXPLORE MODAL (UNLOCKED UI) ===== */
#sportsExploreModal .modal-content {
  background: #ffffff !important;
  color: #111111 !important;
  border: 1px solid #e5e7eb;
  width: min(560px, 94vw);
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 16px;
  padding: clamp(16px, 3.5vw, 24px);
}

#sportsExploreModal h2,
#sportsExploreModal p {
  color: #111111 !important;
}

#sportsExploreModal .modal-close {
  color: #111111 !important;
}

#sportsExploreModal .sports-explore-actions {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

#sportsExploreModal .sports-explore-actions .btn {
  background: #ffffff !important;
  color: #111111 !important;
  border: 1px solid #d1d5db !important;
  border-radius: 12px;
  padding: 11px 14px;
  min-height: 46px;
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

#sportsExploreModal .sports-explore-actions .btn:hover,
#sportsExploreModal .sports-explore-actions .btn:focus-visible,
#sportsExploreModal .sports-explore-actions .btn:active {
  border-color: #2563eb !important;
  background: #eff6ff !important;
  color: #111111 !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

/* ===== GROUP REQUEST MODAL ===== */
#groupRequestModal .group-request-content {
  position: relative;
  background: #ffffff !important;
  color: #111111 !important;
  width: min(640px, 95vw);
  max-height: 92vh;
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: clamp(18px, 3.5vw, 28px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

#groupRequestModal .group-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  float: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #374151 !important;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

#groupRequestModal .group-modal-close:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

#groupRequestModal .group-form-header {
  padding-right: 44px;
  margin-bottom: 14px;
}

#groupRequestModal .group-form-eyebrow {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb !important;
}

#groupRequestModal .group-form-header h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 4vw, 1.65rem);
  line-height: 1.2;
  color: #111827 !important;
}

#groupRequestModal .group-form-subtitle {
  margin: 0;
  color: #6b7280 !important;
  font-size: 0.92rem;
  line-height: 1.45;
}

#groupRequestModal .group-form {
  display: grid;
  gap: 14px;
}

#groupRequestModal #clubFields,
#groupRequestModal #acadmyFields {
  display: grid;
  gap: 14px;
}

#groupRequestModal .group-form-section {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px;
  background: #fafafa;
}

#groupRequestModal .group-section-title {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
}

#groupRequestModal .group-field {
  margin-bottom: 12px;
}

#groupRequestModal .group-field:last-child {
  margin-bottom: 0;
}

#groupRequestModal .group-label {
  display: block;
  margin: 0 0 6px;
  color: #111827;
  font-size: 0.88rem;
  font-weight: 600;
}

#groupRequestModal .group-required {
  color: #dc2626;
}

#groupRequestModal .group-field-hint {
  margin: -4px 0 10px;
  font-size: 0.82rem;
  color: #6b7280;
}

#groupRequestModal .group-phone-hint {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #92400e;
}

#groupRequestModal .group-phone-hint.is-ready {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}

#groupRequestModal .group-input,
#groupRequestModal select.group-input,
#groupRequestModal textarea.group-input {
  width: 100%;
  background: #ffffff !important;
  color: #111827 !important;
  border: 1px solid #d1d5db !important;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 0.95rem;
  margin: 0;
  box-sizing: border-box;
}

#groupRequestModal .group-input::placeholder,
#groupRequestModal textarea.group-input::placeholder {
  color: #9ca3af !important;
  opacity: 1;
}

#groupRequestModal .group-input:focus,
#groupRequestModal select.group-input:focus,
#groupRequestModal textarea.group-input:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  outline: none;
}

#groupRequestModal .group-multi-select {
  min-height: 110px;
}

#groupRequestModal .group-sport-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

#groupRequestModal .group-add-btn {
  white-space: nowrap;
  min-height: 44px;
  border-radius: 10px !important;
}

#groupRequestModal .group-choice-grid {
  display: grid;
  gap: 8px;
  min-width: 0;
}

#groupRequestModal .group-choice-grid--type {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#groupRequestModal .group-choice-grid--trains {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#groupRequestModal .group-choice {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 10px 10px 10px 34px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

#groupRequestModal .group-choice input {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  flex-shrink: 0;
}

#groupRequestModal .group-choice-text {
  min-width: 0;
  font-size: 0.86rem;
  line-height: 1.25;
  text-align: center;
  color: #111827;
  word-break: break-word;
}

#groupRequestModal .group-choice:has(input:checked) {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

#groupRequestModal .group-file-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  padding: 10px 12px;
}

#groupRequestModal .group-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

#groupRequestModal .group-file-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #2563eb;
  pointer-events: none;
}

#groupRequestModal .group-file-hint {
  margin: 6px 0 0;
  font-size: 0.78rem;
  color: #6b7280;
}

#groupRequestModal .group-form-footer {
  padding-top: 4px;
}

#groupRequestModal .group-submit-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 12px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
}

#groupRequestModal .group-form-msg {
  margin: 10px 0 0;
  min-height: 1.2em;
  font-size: 0.88rem;
  text-align: center;
}

#groupRequestModal .group-success-popup {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(17, 24, 39, 0.45);
  backdrop-filter: blur(3px);
  z-index: 5;
  border-radius: 18px;
  animation: groupSuccessFadeIn 0.25s ease;
}

#groupRequestModal .group-success-popup[hidden] {
  display: none !important;
}

#groupRequestModal .group-success-card {
  width: min(320px, 100%);
  background: #ffffff;
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
  animation: groupSuccessPop 0.3s ease;
}

#groupRequestModal .group-success-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

#groupRequestModal .group-success-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: #111827 !important;
}

#groupRequestModal .group-success-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #4b5563 !important;
}

@keyframes groupSuccessFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes groupSuccessPop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@media (max-width: 640px) {
  #groupRequestModal .group-request-content {
    width: min(94vw, 640px);
    max-height: 88vh;
    border-radius: 14px;
    padding: 16px;
  }

  #groupRequestModal .group-sport-row {
    grid-template-columns: 1fr;
  }

  #groupRequestModal .group-choice-grid--type,
  #groupRequestModal .group-choice-grid--trains {
    grid-template-columns: 1fr;
  }

  #groupRequestModal .group-choice {
    justify-content: flex-start;
    padding: 12px 12px 12px 38px;
  }

  #groupRequestModal .group-choice-text {
    text-align: left;
  }

  #groupRequestModal .group-add-btn {
    width: 100%;
  }
}

/* ===== GYM REQUEST MODAL ===== */
#gymRequestModal .group-request-content {
  background: #ffffff !important;
  color: #111111 !important;
  width: min(640px, 94vw);
  max-height: min(90vh, calc(100dvh - 24px));
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: clamp(16px, 3.5vw, 24px);
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

#gymRequestModal .modal-close,
#gymRequestModal h2,
#gymRequestModal p,
#gymRequestModal .meta,
#gymRequestModal .group-label {
  color: #111111 !important;
}

#gymRequestModal .group-label {
  display: block;
  margin: 10px 0 6px;
  font-weight: 700;
}

#gymRequestModal .input,
#gymRequestModal select,
#gymRequestModal textarea {
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  background: #ffffff !important;
  color: #111111 !important;
  border: 1px solid #d1d5db !important;
  border-radius: 10px;
}

#gymRequestModal .input::placeholder {
  color: #6b7280 !important;
  opacity: 1;
}

#gymRequestModal .input:focus,
#gymRequestModal select:focus,
#gymRequestModal textarea:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
  outline: none;
}

#gymRequestModal .gym-choice-grid,
#gymRequestModal #gymAmenitiesWrap.group-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 8px;
}

#gymRequestModal .gym-choice-grid label,
#gymRequestModal #gymAmenitiesWrap.group-checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #111111;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 9px;
  font-size: 0.92rem;
  line-height: 1.25;
  word-break: normal;
  overflow-wrap: anywhere;
}

#gymRequestModal .gym-choice-grid input,
#gymRequestModal #gymAmenitiesWrap.group-checkbox-grid input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0;
}

#gymRequestModal #submitGymRequestBtn {
  width: 100%;
  min-height: 46px;
  color: #ffffff !important;
}

@media (max-width: 640px) {
  #gymRequestModal .group-request-content {
    width: min(94vw, 640px);
    max-height: calc(100dvh - 18px);
    border-radius: 12px;
    padding: 16px;
  }

  #gymRequestModal .gym-choice-grid,
  #gymRequestModal #gymAmenitiesWrap.group-checkbox-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  #gymRequestModal .gym-choice-grid label,
  #gymRequestModal #gymAmenitiesWrap.group-checkbox-grid label {
    padding: 9px 8px;
    font-size: 0.82rem;
  }

  #gymRequestModal .input,
  #gymRequestModal select,
  #gymRequestModal textarea,
  #gymRequestModal .btn {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    font-size: 15px;
  }

  #gymRequestModal * {
    max-width: 100%;
  }
}

/* ===== COACH REQUEST MODAL ===== */
#coachRequestModal .coach-request-content {
  position: relative;
  background: #ffffff !important;
  color: #111111 !important;
  width: min(640px, 95vw);
  max-height: 92vh;
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: clamp(18px, 3.5vw, 28px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

#coachRequestModal .coach-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  float: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #374151 !important;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

#coachRequestModal .coach-modal-close:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

#coachRequestModal .coach-form-header {
  padding-right: 44px;
  margin-bottom: 18px;
}

#coachRequestModal .coach-form-eyebrow {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb !important;
}

#coachRequestModal .coach-form-header h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 4vw, 1.65rem);
  line-height: 1.2;
  color: #111827 !important;
}

#coachRequestModal .coach-form-subtitle {
  margin: 0;
  color: #6b7280 !important;
  font-size: 0.92rem;
  line-height: 1.45;
}

#coachRequestModal .coach-form {
  display: grid;
  gap: 14px;
}

#coachRequestModal .coach-form-section {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px;
  background: #fafafa;
}

#coachRequestModal .coach-section-title {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
}

#coachRequestModal .coach-field {
  margin-bottom: 12px;
}

#coachRequestModal .coach-field:last-child {
  margin-bottom: 0;
}

#coachRequestModal .coach-label {
  display: block;
  margin: 0 0 6px;
  color: #111827;
  font-size: 0.88rem;
  font-weight: 600;
}

#coachRequestModal .coach-required {
  color: #dc2626;
}

#coachRequestModal .coach-optional {
  color: #6b7280;
  font-weight: 500;
}

#coachRequestModal .coach-field-hint {
  margin: -4px 0 10px;
  font-size: 0.82rem;
  color: #6b7280;
}

#coachRequestModal .coach-phone-hint {
  margin: -4px 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #92400e;
}

#coachRequestModal .coach-phone-hint.is-ready {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}

#coachRequestModal .coach-input,
#coachRequestModal textarea.coach-input {
  width: 100%;
  background: #ffffff !important;
  color: #111827 !important;
  border: 1px solid #d1d5db !important;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 0.95rem;
  margin: 0;
}

#coachRequestModal .coach-input::placeholder,
#coachRequestModal textarea.coach-input::placeholder {
  color: #9ca3af !important;
  opacity: 1;
}

#coachRequestModal .coach-input:focus,
#coachRequestModal textarea.coach-input:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  outline: none;
}

#coachRequestModal .coach-choice-grid {
  display: grid;
  gap: 8px;
  min-width: 0;
}

#coachRequestModal .coach-choice-grid--teaches {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#coachRequestModal .coach-choice-grid--fee {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#coachRequestModal .coach-choice {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 10px 10px 10px 34px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

#coachRequestModal .coach-choice input {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  flex-shrink: 0;
}

#coachRequestModal .coach-choice-text {
  min-width: 0;
  font-size: 0.86rem;
  line-height: 1.25;
  text-align: center;
  color: #111827;
  word-break: break-word;
}

#coachRequestModal .coach-choice:has(input:checked) {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

#coachRequestModal .coach-fee-price-wrap {
  margin-top: 10px;
}

#coachRequestModal .coach-file-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  padding: 10px 12px;
}

#coachRequestModal .coach-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

#coachRequestModal .coach-file-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #2563eb;
  pointer-events: none;
}

#coachRequestModal .coach-file-hint {
  margin: 6px 0 0;
  font-size: 0.78rem;
  color: #6b7280;
}

#coachRequestModal .coach-form-footer {
  padding-top: 4px;
}

#coachRequestModal .coach-submit-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 12px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
}

#coachRequestModal .coach-form-msg {
  margin: 10px 0 0;
  min-height: 1.2em;
  font-size: 0.88rem;
  text-align: center;
}

#coachRequestModal .coach-success-popup {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(17, 24, 39, 0.45);
  backdrop-filter: blur(3px);
  z-index: 5;
  border-radius: 18px;
  animation: coachSuccessFadeIn 0.25s ease;
}

#coachRequestModal .coach-success-popup[hidden] {
  display: none !important;
}

#coachRequestModal .coach-success-card {
  width: min(320px, 100%);
  background: #ffffff;
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
  animation: coachSuccessPop 0.3s ease;
}

#coachRequestModal .coach-success-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

#coachRequestModal .coach-success-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: #111827 !important;
}

#coachRequestModal .coach-success-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #4b5563 !important;
}

@keyframes coachSuccessFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes coachSuccessPop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@media (max-width: 640px) {
  #coachRequestModal .coach-request-content {
    width: min(94vw, 640px);
    max-height: 88vh;
    border-radius: 14px;
    padding: 16px;
  }

  #coachRequestModal .coach-choice-grid--teaches {
    grid-template-columns: 1fr;
  }

  #coachRequestModal .coach-choice {
    justify-content: flex-start;
    padding: 12px 12px 12px 38px;
  }

  #coachRequestModal .coach-choice-text {
    text-align: left;
  }
}

/* ===== FEATURE PREVIEW PASSWORD MODAL ===== */
#featurePreviewModal .feature-preview-content {
  background: #ffffff !important;
  color: #111111 !important;
  width: min(460px, 94vw);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: clamp(16px, 3.5vw, 24px);
}

#featurePreviewModal .modal-close,
#featurePreviewModal h2,
#featurePreviewModal p {
  color: #111111 !important;
}

#featurePreviewModal .input {
  background: #ffffff !important;
  color: #111111 !important;
  border: 1px solid #d1d5db !important;
}

#featurePreviewModal .input::placeholder {
  color: #9ca3af !important;
  opacity: 1;
}

/* ===== TOURNAMENT MODAL HOVER FIX (OUTDOOR + INDOOR) ===== */

/* Default: white, no border */
#outdoorModal .outdoor-actions button,
#outdoorModal .outdoor-actions .btn{
  background: #ffffff !important;
  color: #000000 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background-color .2s ease, color .2s ease, transform .2s ease !important;
}

/* Hover: blue */
#outdoorModal .outdoor-actions button:hover,
#outdoorModal .outdoor-actions .btn:hover{
  background: #0ea5e9 !important;
  color: #ffffff !important;
}

/* Click/Active */
#outdoorModal .outdoor-actions button:active,
#outdoorModal .outdoor-actions .btn:active{
  background: #0ea5e9 !important;
  color: #ffffff !important;
  transform: translateY(0) !important;
}
/* ===== LIST YOUR FREE TIME INPUT FIX ===== */
#listTimeModal input {
  background: #ffffff !important;
  color: #000000 !important;
  border: none !important;
  outline: none;
  border-radius: 10px;
  transition: all 0.2s ease;
}

/* placeholder black */
#listTimeModal input::placeholder {
  color: #000000 !important;
  opacity: 0.6;
}

/* hover */
#listTimeModal input:hover {
  background: #0ea5e9 !important;
  color: #ffffff !important;
}

/* focus / click */
#listTimeModal input:focus {
  background: #0ea5e9 !important;
  color: #ffffff !important;
}

/* placeholder white on hover/focus */
#listTimeModal input:hover::placeholder,
#listTimeModal input:focus::placeholder {
  color: #ffffff !important;
}
/* ===== LIST YOUR FREE TIME INPUT FIX ===== */
#listTimeModal input {
  background: #ffffff !important;
  color: #000000 !important;
  border: none !important;
  outline: none;
  border-radius: 10px;
  transition: all 0.2s ease;
}

/* placeholder black */
#listTimeModal input::placeholder {
  color: #000000 !important;
  opacity: 0.6;
}

/* hover */
#listTimeModal input:hover {
  background: #0ea5e9 !important;
  color: #ffffff !important;
}

/* focus / click */
#listTimeModal input:focus {
  background: #0ea5e9 !important;
  color: #ffffff !important;
}

/* placeholder white on hover/focus */
#listTimeModal input:hover::placeholder,
#listTimeModal input:focus::placeholder {
  color: #ffffff !important;
}
/* ===== LIST YOUR FREE TIME – INPUT LEFT ALIGN FIX ===== */
#listTimeModal .modal-content input {
  margin-left: -10px;   /* ← yahan value adjust kar sakta hai */
}
/* NAVBAR LOGIN BUTTON */
.nav-login-btn{
  background:#0ea5e9;
  color:#fff;
  border:none;
  padding:8px 18px;
  border-radius:8px;
  font-weight:600;
  cursor:pointer;
  font-size:14px;
  line-height:1.2;
  white-space:nowrap;
}

.nav-login-btn--venue{
  background:#0ea5e9;
  color:#fff;
}

.nav-login-btn--listing{
  background:#7c3aed;
  color:#fff;
}

.nav-login-btn:hover{
  background:#0284c7;
}

.nav-login-btn--listing:hover{
  background:#6d28d9;
}

.nav-btn-item{
  list-style:none;
  margin:0;
  padding:0;
}

.menu-btn{
  display:none;
}

@media (min-width: 769px){
  .navbar{
    gap:12px;
  }

  .nav-links .nav-btn-item--login{
    margin-left:auto;
  }

  .nav-btn-item .nav-login-btn{
    padding:8px 12px;
    font-size:13px;
  }
}

/* ===== Login modal: match booking / payment popups ===== */
#loginModal .modal-content {
  background: #ffffff;
  color: #111827;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  max-width: min(400px, calc(100vw - 32px));
  padding: 20px 20px 22px;
  position: relative;
}

#loginModal .modal-close {
  color: #6b7280;
  font-size: 28px;
  line-height: 1;
  padding: 4px 8px;
}

#loginModal .modal-close:hover {
  color: #111827;
}

#loginModal h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  margin: 0 36px 8px 0;
}

#loginModal .login-modal-subtitle,
#loginModal #loginModalSubtext {
  color: #6b7280;
  font-size: 0.9375rem;
  line-height: 1.45;
  margin: 0 0 16px;
}

#loginModal input,
#loginModal .input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-left: 0 !important;
  margin-right: 0;
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #d1d5db !important;
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 16px;
}

#loginModal input + input,
#loginModal .input + .input {
  margin-top: 10px;
}

#loginModal #loginOtp {
  margin-top: 10px;
}

#loginModal input::placeholder {
  color: #6b7280 !important;
  opacity: 1;
}

#loginModal input:hover {
  border-color: #9ca3af !important;
}

#loginModal input:focus {
  outline: none !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

#loginModal #sendOtpBtn,
#loginModal #verifyOtpBtn,
#loginModal #loginDemoBtn {
  width: 100%;
  margin-top: 12px;
  box-sizing: border-box;
  background: #3b82f6;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 600;
  cursor: pointer;
}

#loginModal #sendOtpBtn:hover:not(:disabled),
#loginModal #verifyOtpBtn:hover:not(:disabled),
#loginModal #loginDemoBtn:hover:not(:disabled) {
  background: #2563eb;
}

#loginModal #sendOtpBtn:disabled,
#loginModal #verifyOtpBtn:disabled,
#loginModal #loginDemoBtn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
/* ===== FOOTER (same as navbar) ===== */
.site-footer{
  background: #e9e8e8;   /* navbar jaisa */
  color: #000;
  padding: 40px 40px 18px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.footer-wrap{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 26px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h4{
  margin: 0 0 12px;
  font-size: 16px;
  color: #000;
}

.footer-col ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li{
  margin: 10px 0;
  color: rgba(0,0,0,0.75);
}

.footer-col a{
  color: #000;
  text-decoration: none;
  opacity: 0.9;
}

.footer-col a:hover{
  opacity: 1;
  text-decoration: underline;
}

.footer-logo{
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand{
  font-size: 22px;
  font-weight: 800;
}

.footer-tagline{
  margin: 10px 0 6px;
  color: rgba(0,0,0,0.75);
}

.footer-small{
  margin: 8px 0;
  color: rgba(0,0,0,0.75);
}

.footer-social{
  margin-top: 12px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-link{
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.55);
}

.social-link:hover{
  background: rgba(56,189,248,0.18);
  border-color: rgba(56,189,248,0.6);
  text-decoration: none;
}

.footer-cta{
  margin-top: 12px;
}

.footer-btn{
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  background: #0ea5e9;
  color: #fff !important;
  font-weight: 700;
  border: none;
}

.footer-btn:hover{
  background: #0284c7;
  text-decoration: none;
}

.footer-bottom{
  max-width: 1200px;
  margin: 26px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-legal-links{
  color: rgba(0,0,0,0.75);
}

.footer-legal-links .dot{
  margin: 0 10px;
  color: rgba(0,0,0,0.35);
}

.footer-copy{
  color: rgba(0,0,0,0.75);
}

/* Mobile */
@media (max-width: 900px){
  .footer-wrap{
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px){
  .site-footer{
    padding: 28px 16px 14px;
  }
  .footer-wrap{
    grid-template-columns: 1fr;
  }
}

/* ===== OPTIONAL: Legal sections styling (same page) ===== */
.legal-section{
  background:#e9e8e8;
  color:#000;
  padding: 30px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.legal-box{
  white-space: pre-wrap;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 16px;
  border-radius: 12px;
  color: rgba(0,0,0,0.85);
}
/* =========================
   MOBILE RESPONSIVE FIXES
   (Desktop disturb nahi hoga)
========================= */
@media (max-width: 768px){

  /* Navbar */
  .navbar{
    padding: 10px 12px;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .logo img{
    width: 44px;
    height: 44px;
  }

  .logo span{
    font-size: 18px;
    white-space: nowrap;   /* name cut na ho */
  }

  /* Hamburger button */
  .menu-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: none;
    background: rgba(56,189,248,0.18);
    border-radius: 10px;
    font-size: 22px;
    cursor: pointer;
  }

  /* Hide nav links by default on mobile */
  .nav-links{
    display: none;
    position: absolute;
    top: 64px;
    right: 14px;
    left: 14px;
    background: #e9e8e8;
    border-radius: 14px;
    padding: 12px;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 99999;
  }

  /* When open */
  .nav-links.open{
    display: flex;
  }

  .nav-links a{
    display: block;
    padding: 12px 12px;
    border-radius: 10px;
    font-size: 16px;
  }

  .nav-links .pwa-install-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 12px;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
  }

  .nav-btn-item{
    width:100%;
  }

  .nav-btn-item .nav-login-btn{
    display:block;
    width:100%;
    text-align:left;
    padding:12px 14px;
    font-size:15px;
    white-space:normal;
    box-sizing:border-box;
  }

  /* Booking modal: “Tap to select date” below field on mobile only (no desktop overlap) */
  #bookingModal .booking-date-hint {
    display: block;
    margin: 6px 0 0;
    padding: 0;
    position: static;
    transform: none;
    pointer-events: none;
    max-width: 100%;
    white-space: normal;
    color: #9ca3af;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.35;
    text-align: center;
  }

  #bookingModal .booking-date-input:valid + .booking-date-hint {
    display: none;
  }

  /* Hero: full artwork visible, taller frame, single CTA */
  .hero{
    justify-content: flex-start;
    min-height: auto;
    padding: clamp(150px, 58vw, 300px) 16px 16px;
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
  }

  .hero::before{
    background: rgba(255, 255, 255, 0.04);
  }

  .hero h1{
    font-size: 28px;
    line-height: 1.2;
  }

  .hero p{
    font-size: 14px;
  }

  .hero-buttons{
    max-width: 100%;
  }

  .hero-buttons .btn{
    width: auto;
    min-width: min(280px, 100%);
    text-align: center;
    padding: 12px 22px;
    font-size: 15px;
  }

  .hero .hero-tagline {
    margin-top: 10px;
    padding: 0 12px;
    max-width: calc(100% - 20px);
    font-size: 2.1rem;
    line-height: 1.1;
  }

  /* Sections padding */
  .section{
    padding: 30px 14px;
  }

  .section h2{
    font-size: 24px;
  }

  .section p{
    font-size: 14px;
  }

  /* Cards / Grids: 2 in a row (baju me jagah waste na ho) */
  .cards,
  .venue-grid,
  .sports-grid,
  .tournaments-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .sports-filters{
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .sports-filters select,
  .sports-filters .btn {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 13px;
    width: 100%;
  }

  /* Cards smaller padding */
  .card,
  .venue-card,
  .sport-card,
  .tournament-card{
    padding: 12px;
    border-radius: 12px;
  }

  .sport-card.sport-card--has-bg {
    padding: 0;
  }

  .sport-card.sport-card--has-bg .sport-card__inner {
    padding: 12px;
  }

  .sport-card h3,
  .venue-card h3{
    font-size: 16px;
  }

  /* Buttons size better */
  .book-btn,
  .sport-book-now,
  .tournament-btn{
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
  }

  /* Modals: mobile pe chhote aa rahe the */
  .modal-content{
    width: min(92vw, 520px);
    padding: 16px;
    border-radius: 14px;
  }

  .modal-content h2,
  .modal-content h1{
    font-size: 20px;
  }

  .modal-content p{
    font-size: 14px;
  }

  .input,
  .modal-content input,
  .filters select{
    font-size: 14px;
    padding: 12px;
  }

  .form-row{
    grid-template-columns: 1fr; /* mobile pe columns stack */
    gap: 12px;
  }

  .time-slots{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Very small phones */
@media (max-width: 420px){
  .cards,
  .venue-grid,
  .sports-grid,
  .tournaments-grid{
    grid-template-columns: 1fr; /* 420 se neeche 1 column better */
  }

  .sports-filters{
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .sports-filters select,
  .sports-filters .btn {
    min-height: 38px;
    padding: 7px 8px;
    font-size: 12px;
  }
}
/* Stop horizontal overflow */
html, body{
  max-width: 100%;
  overflow-x: hidden;
}

*{
  box-sizing: border-box;
}
*{ outline: none !important; }
html, body{
  overflow-x: hidden;
}
/* ===== COMPLETE PROFILE PAGE ===== */
.profile-wrap{
  max-width: 900px;
  margin: 0 auto;
}

.profile-card{
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
}

.profile-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.profile-label{
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
  color: rgba(0,0,0,0.75);
}

.profile-input{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #000;
}

.profile-input:focus{
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 2px rgba(14,165,233,0.20);
}

.profile-actions{
  margin-top: 14px;
  display:flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.profile-footnote{
  margin-top: 14px;
  font-size: 0.8125rem;
  color: #6b7280;
  text-align: center;
  line-height: 1.45;
}

.profile-note{
  margin-top: 10px;
  font-size: 12px;
  color: rgba(0,0,0,0.6);
}

@media (max-width: 700px){
  .profile-grid{
    grid-template-columns: 1fr;
  }
}
/* =========================
   Request Listing modal (venues) — match booking/login/payment
========================= */

#requestModal.modal {
  background: rgba(0, 0, 0, 0.4);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#requestModal .modal-content {
  width: min(520px, 100%);
  max-width: min(520px, calc(100vw - 32px));
  max-height: 90vh;
  overflow-y: auto;
  margin: 0 auto;
  background: #ffffff !important;
  color: #111827 !important;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 20px 20px 22px;
  position: relative;
}

#requestModal h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  margin: 0 36px 8px 0;
}

#requestModal .request-modal-desc,
#requestModal .request-modal-file-hint {
  color: #6b7280 !important;
  font-size: 0.9375rem;
  line-height: 1.45;
  margin: 0 0 14px;
}

#requestModal .request-modal-file-hint {
  margin-top: 4px;
  margin-bottom: 0;
  font-size: 0.85rem;
}

#requestModal .request-modal-upload-label {
  color: #111827;
  font-weight: 600;
}

#requestModal .modal-close {
  color: #6b7280;
  font-size: 28px;
  line-height: 1;
  padding: 4px 8px;
}

#requestModal .modal-close:hover {
  color: #111827;
}

#requestModal #submitRequestBtn {
  background: #3b82f6 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 600;
}

#requestModal #submitRequestBtn:hover:not(:disabled) {
  background: #2563eb !important;
}

#requestModal .input,
#requestModal select,
#requestModal textarea {
  background: #ffffff !important;
  color: #111827 !important;
  border: 1px solid #d1d5db;
}

/* Placeholder text */
#requestModal .input::placeholder,
#requestModal textarea::placeholder {
  color: #374151;
  opacity: 1;
}

/* Select dropdown text */
#requestModal select {
  color: #111827;
}

#requestModal .input:focus,
#requestModal select:focus,
#requestModal textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* ===== FEATURE LOCK (under development) ===== */
[data-locked="true"] {
  opacity: 0.78;
  cursor: not-allowed;
  position: relative;
}
[data-locked="true"],
[data-locked="true"] * {
  cursor: not-allowed;
}
[data-locked="true"].section::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z'/%3E%3C/svg%3E") center/contain no-repeat;
  pointer-events: none;
  z-index: 1;
}
a[data-locked="true"],
button[data-locked="true"] {
  position: relative;
}
a[data-locked="true"]::before,
button[data-locked="true"]::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z'/%3E%3C/svg%3E") center/contain no-repeat;
  pointer-events: none;
}
#lockMessageModal .lock-message-content {
  max-width: 360px;
}
#lockMessageModal .modal-close {
  color: #000;
}
#lockMessageModal .lock-message-text {
  margin: 12px 0 0;
  font-size: 1rem;
  line-height: 1.5;
}

/* Owner offline booking action buttons + reminder modal */
.owner-slot-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.owner-slot-action-btn {
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

.owner-offline-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.owner-offline-modal.show {
  display: flex;
}

.owner-offline-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.owner-offline-modal-panel {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  max-height: 88vh;
  overflow: auto;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
  padding: 16px;
  color: #111827;
}

.owner-offline-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.owner-offline-checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111827;
}

.owner-offline-modal-panel h3 {
  color: #111827;
}

.owner-offline-modal-panel .meta {
  color: #374151;
}

.owner-offline-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
  color: #111827;
}

.owner-offline-field > span {
  color: #111827;
  font-weight: 600;
}

.owner-offline-phone-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
}

.owner-offline-phone-prefix {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  color: #111827;
  font-weight: 600;
}

.owner-offline-modal-panel .input,
.owner-offline-modal-panel input,
.owner-offline-modal-panel select,
.owner-offline-modal-panel textarea {
  background: #ffffff;
  color: #111827;
  border: 1px solid #d1d5db;
}

.owner-offline-modal-panel .input::placeholder,
.owner-offline-modal-panel input::placeholder,
.owner-offline-modal-panel textarea::placeholder {
  color: #6b7280;
}

#offlineFlowCancelBtn,
#offlineReminderCancelBtn {
  color: #111827;
}

#offlineFlowContinueBtn,
#offlineReminderConfirmBtn {
  background: #3b82f6;
  color: #ffffff;
}

@media (max-width: 640px) {
  .owner-slot-actions {
    flex-direction: column;
  }
  .owner-slot-action-btn {
    width: 100%;
    min-height: 44px;
  }
}

/* Owner dashboard readability cards */
body.owner-dashboard-page {
  background: #f9fafb;
  color: #111827;
}

.owner-dashboard-shell h2,
.owner-dashboard-shell h3,
.owner-dashboard-shell h4 {
  color: #111827;
  font-weight: 700;
}

.owner-dashboard-shell p,
.owner-dashboard-shell label,
.owner-dashboard-shell span,
.owner-dashboard-shell td,
.owner-dashboard-shell th,
.owner-dashboard-shell div {
  color: #374151;
}

.owner-dashboard-shell .meta {
  color: #6b7280;
}

.owner-dashboard-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  padding: 18px 20px !important;
  margin-bottom: 20px;
}

.owner-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.owner-dashboard-page #ownerDashMsg,
.owner-dashboard-page #analyticsMsg,
.owner-dashboard-page #todayMeta {
  color: #374151;
}

.owner-dashboard-page #venueTitle,
.owner-dashboard-page #analyticsMonthlyTotalBookings,
.owner-dashboard-page #analyticsMonthlyTotalRevenue,
.owner-dashboard-page #analyticsTopSlot,
.owner-dashboard-page #analyticsTopDay {
  color: #111827;
}

.owner-dashboard-page .owner-analytics-card > div > .card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.owner-amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  margin-top: 8px;
}

.owner-amenity-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111827;
  font-size: 0.94rem;
}

.owner-amenity-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #2563eb;
}

/* Owner dashboard — venue dropdown + toolbar buttons */
.owner-dashboard-page .owner-top-controls label > span {
  color: #111827;
  font-weight: 600;
}

.owner-dashboard-page .owner-venue-select {
  width: auto;
  min-width: 160px;
  max-width: 320px;
  padding: 10px 36px 10px 12px;
  background: #f3f4f6;
  color: #111827;
  border: 2px solid #2563eb;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.owner-dashboard-page .owner-analytics-card label > span {
  color: #111827;
  font-weight: 600;
}

.owner-dashboard-page .owner-venue-select:focus {
  outline: none;
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
  background: #eff6ff;
}

.owner-dashboard-page .owner-venue-select option {
  color: #111827;
  background: #ffffff;
}

.owner-dashboard-page .owner-top-controls .owner-toolbar-btn {
  padding: 10px 18px;
  border-radius: 10px;
  border: 2px solid #d1d5db;
  background: #f3f4f6;
  color: #111827;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.owner-dashboard-page .owner-top-controls .owner-toolbar-btn:hover,
.owner-dashboard-page .owner-top-controls .owner-toolbar-btn:focus-visible,
.owner-dashboard-page .owner-top-controls .owner-toolbar-btn.is-active {
  background: #eff6ff;
  border-color: #2563eb;
  color: #1d4ed8;
}

@media (max-width: 900px) {
  .owner-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .owner-amenities-grid {
    grid-template-columns: 1fr;
  }
}


/* Request listing amenities modal */
#amenitiesModal .amenities-modal-content {
  max-width: 560px;
  width: 94%;
  background: #ffffff;
  border-radius: 14px;
  padding: 18px 16px;
}

#amenitiesModal .amenities-options-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

#amenitiesModal .amenity-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
  color: #111827;
  font-size: 0.92rem;
}

#selectedAmenitiesSummary {
  color: #6b7280;
}

@media (max-width: 640px) {
  #amenitiesModal .amenities-options-wrap {
    grid-template-columns: 1fr;
  }
}

.owner-offline-mode-tab.active {
  background: #eff6ff;
  border-color: #2563eb;
  color: #1d4ed8;
}

.owner-weekday-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.owner-weekday-btn {
  padding: 8px 14px;
  border-radius: 10px;
  border: 2px solid #d1d5db;
  background: #f3f4f6;
  color: #111827;
  font-weight: 600;
  cursor: pointer;
}

.owner-weekday-btn.active {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
}

.owner-weekly-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.owner-weekly-slot-chip {
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  border: 2px solid #d1d5db;
  background: #fff;
  color: #111827;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1.3;
}

.owner-weekly-slot-chip .owner-weekly-slot-time {
  display: block;
  font-weight: 700;
}

.owner-weekly-slot-chip .owner-weekly-slot-meta {
  display: block;
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 2px;
}

.owner-weekly-slot-chip.is-selected {
  border-color: #f59e0b;
  background: #fffbeb;
  color: #92400e;
}

.owner-weekly-slot-chip.is-all-days {
  border-color: #7c3aed;
  background: #f5f3ff;
  color: #5b21b6;
  cursor: not-allowed;
  opacity: 0.95;
}

.owner-weekly-slot-chip.is-blocked-all {
  border-color: #ef4444;
  background: #fef2f2;
  cursor: not-allowed;
}
