@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600&display=swap');

:root {
  --bg-main: #eef7f2;
  --bg-accent: #f8fbf9;
  --bg-soft: #f2f8f4;
  --surface: #ffffff;
  --surface-muted: #f7fbf8;
  --text-main: #0f1c16;
  --text-soft: #5a6c62;
  --line: rgba(18, 37, 28, 0.12);
  --brand: #19c37d;
  --brand-dark: #109c64;
  --highlight: #f6a800;
  --danger: #e04545;
  --shadow: 0 18px 40px rgba(12, 28, 18, 0.12);
  /* Message colors - subtle */
  --msg-info: #e8f4fd;
  --msg-info-border: #b6d4fe;
  --msg-info-text: #0c4a6e;
  --msg-success: #e6f7ec;
  --msg-success-border: #b8e6cc;
  --msg-success-text: #166534;
  --msg-warning: #fef8e6;
  --msg-warning-border: #fdebba;
  --msg-warning-text: #8a6200;
  --msg-error: #fdeeef;
  --msg-error-border: #f5c6cb;
  --msg-error-text: #8a2020;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 12% 8%, rgba(25, 195, 125, 0.16), transparent 36%),
    radial-gradient(circle at 88% 12%, rgba(246, 168, 0, 0.14), transparent 34%),
    linear-gradient(180deg, #eef7f2 0%, #f5fbf8 60%, #ffffff 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(25, 195, 125, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 195, 125, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.35;
}

body::after {
  content: '';
  position: fixed;
  inset: 18% auto auto 75%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px dashed rgba(246, 168, 0, 0.35);
  box-shadow: 0 0 40px rgba(246, 168, 0, 0.12);
  pointer-events: none;
  z-index: -1;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.btn {
  font-family: 'Outfit', 'Space Grotesk', sans-serif;
  letter-spacing: 0.01em;
}

.container,
.container-fluid {
  max-width: 1160px;
}

.app-main {
  flex: 1 0 auto;
  width: 100%;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
}

.site-navbar {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(25, 195, 125, 0.2);
}

.navbar-brand {
  font-weight: 700;
  text-decoration: none;
}

.navbar-brand:hover .brand-text,
.navbar-brand:focus .brand-text {
  color: #0f1c16;
}

.brand-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(145deg, #19c37d, #109c64);
  box-shadow: 0 8px 18px rgba(16, 156, 100, 0.28);
}

.brand-text {
  margin-left: 0.55rem;
  color: #0f1c16;
}

.calendar-picker {
  min-width: 180px;
}

.site-navbar .nav-link {
  color: rgba(15, 28, 22, 0.7);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  margin: 0 0.15rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
  color: #0f1c16;
  transform: translateY(-1px);
  background: rgba(25, 195, 125, 0.14);
}

.site-navbar .nav-link.active {
  color: #0f1c16;
  background: rgba(25, 195, 125, 0.22);
  box-shadow: 0 6px 16px rgba(25, 195, 125, 0.18);
}

.site-navbar .navbar-toggler {
  color: #0f1c16;
  border: 1px solid rgba(15, 28, 22, 0.2);
  box-shadow: none;
}

.ad-shell {
  padding: 0.75rem 1rem;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2c4136;
  background: rgba(255, 255, 255, 0.9);
  border: 1px dashed rgba(246, 168, 0, 0.4);
  border-radius: 0.9rem;
}

.slot-livebar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.live-chip {
  background: rgba(25, 195, 125, 0.14);
  border: 1px solid rgba(25, 195, 125, 0.32);
  color: #0f3b27;
  border-radius: 999px;
  padding: 0.35rem 0.72rem;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.live-chip span {
  margin-left: 0.25rem;
  display: inline-block;
  min-width: 1.2rem;
  text-align: right;
}

.count-flash {
  animation: count-pop 0.35s ease;
}

@keyframes count-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.14); }
  100% { transform: scale(1); }
}

.page-shell {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 0.9rem;
  border: 1px solid rgba(25, 195, 125, 0.2);
  box-shadow: var(--shadow);
  padding: 0.85rem;
  animation: fade-rise 0.45s ease both;
}

.panel-soft {
  background: rgba(247, 251, 248, 0.95);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.8rem;
}

.panel-title {
  margin-bottom: 0.65rem;
  font-weight: 700;
}

.time-select-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.45rem;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.page-header h2,
.page-header h3,
.page-header h4 {
  margin: 0;
  font-weight: 700;
}

.page-subtitle {
  margin: 0.25rem 0 0;
  color: var(--text-soft);
}

.hero-card {
  background:
    radial-gradient(circle at 18% 14%, rgba(246, 168, 0, 0.28), transparent 32%),
    linear-gradient(140deg, #1b2a22, #1f3b2d 58%, #26503a);
  border-radius: 1.3rem;
  color: #fff;
  border: 1px solid rgba(25, 195, 125, 0.2);
  box-shadow: 0 24px 48px rgba(8, 20, 12, 0.35);
}

.hero-card,
.tournament-strip,
.ad-cta-banner,
.ad-spot {
  overflow: hidden;
}

.hero-card .text-muted {
  color: rgba(240, 255, 248, 0.8) !important;
}

.hero-inline-stats {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0.9rem;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(25, 195, 125, 0.25);
  border-radius: 0.75rem;
  padding: 0.65rem;
}

.hero-stat .label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.92;
}

.hero-stat .value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.customer-home-chip {
  display: inline-block;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: rgba(25, 195, 125, 0.18);
  border: 1px solid rgba(25, 195, 125, 0.3);
}

.countdown-chip {
  background: rgba(25, 195, 125, 0.16);
  color: #0f3b27;
  border: 1px solid rgba(25, 195, 125, 0.28);
  border-radius: 999px;
  font-size: 0.78rem;
  padding: 0.28rem 0.62rem;
  font-weight: 700;
  white-space: nowrap;
}

.customer-home-tips {
  padding-left: 1rem;
}

.customer-home-tips li {
  margin-bottom: 0.45rem;
}

.customer-home-tips li:last-child {
  margin-bottom: 0;
}

.card,
.modal-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  box-shadow: 0 8px 28px rgba(12, 28, 18, 0.14);
  color: var(--text-main);
}

.release-notes-modal {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 251, 247, 0.98));
  border: 1px solid rgba(21, 128, 61, 0.14);
  overflow: hidden;
}

.release-notes-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(21, 128, 61, 0.12);
  border: 1px solid rgba(21, 128, 61, 0.18);
  color: #0f5132;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.release-notes-copy {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.release-notes-benefits {
  display: grid;
  gap: 0.75rem;
}

.release-notes-benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.9rem;
  background: rgba(21, 128, 61, 0.05);
  border: 1px solid rgba(21, 128, 61, 0.08);
  font-weight: 600;
}

.release-notes-benefit i {
  margin-top: 0.15rem;
  color: #15803d;
}

.release-notes-cta {
  min-width: 180px;
}

.release-notes-dialog {
  width: min(100% - 1rem, 560px);
}

@media (max-width: 576px) {
  .release-notes-dialog {
    width: calc(100% - 0.75rem);
    margin: 0.375rem auto;
  }
}

.register-cta-link {
  min-width: 132px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(25, 195, 125, 0.22);
}

.verification-popup-shell {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1rem;
  pointer-events: none;
}

.verification-popup-card {
  width: min(100%, 430px);
  pointer-events: auto;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 251, 247, 0.99));
  border: 1px solid rgba(25, 195, 125, 0.18);
  box-shadow: 0 16px 40px rgba(12, 28, 18, 0.22);
}

.verification-popup-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(25, 195, 125, 0.12);
  color: #0f5132;
  border: 1px solid rgba(25, 195, 125, 0.18);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.verification-popup-copy {
  font-size: 0.98rem;
  line-height: 1.55;
}

.verification-highlight {
  display: inline-block;
  padding: 0.25rem 0.45rem;
  border-radius: 0.55rem;
  background: rgba(246, 168, 0, 0.18);
  color: #7a5300;
  font-weight: 700;
}

.review-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.review-summary-item,
.review-summary-item-wide {
  padding: 0.75rem;
  border-radius: 0.9rem;
  background: rgba(247, 251, 248, 0.8);
  border: 1px solid rgba(25, 195, 125, 0.12);
}

.review-summary-item-wide {
  grid-column: 1 / -1;
}

@media (max-width: 576px) {
  .review-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .verification-popup-shell {
    align-items: flex-end;
    justify-content: center;
    padding: 0.5rem;
  }

  .verification-popup-card {
    width: 100%;
  }
}

.card-loading {
  position: relative;
  overflow: hidden;
}

.card-loading::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.04) 20%, rgba(255, 255, 255, 0.35) 40%, rgba(255, 255, 255, 0.04) 60%);
  background-size: 240% 100%;
  animation: shimmer 1.1s linear infinite;
  pointer-events: none;
}

.card-loading > * {
  opacity: 0.4;
}

@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -40% 0; }
}

.hover-float {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(12, 28, 18, 0.22);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
}

.reveal-visible {
  animation: fade-rise 0.46s ease forwards;
}

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card.shadow,
.card.shadow-sm {
  box-shadow: 0 12px 30px rgba(12, 28, 18, 0.18) !important;
}

.ground-card {
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ground-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(12, 28, 18, 0.22);
}

.tournament-strip {
  border: 1px solid rgba(25, 195, 125, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(243, 250, 246, 0.94));
}

.tournament-card {
  overflow: hidden;
}

.tournament-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(25, 195, 125, 0.18), rgba(246, 168, 0, 0.16));
}

.tournament-image--empty {
  display: block;
}

.tournament-thumb {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.policy-note,
.policy-note-inline {
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(90, 108, 98, 0.92);
}

.policy-note {
  padding: 0.55rem 0.7rem;
  border-radius: 0.7rem;
  background: rgba(15, 28, 22, 0.04);
  border: 1px solid rgba(18, 37, 28, 0.08);
}

.ground-media {
  position: relative;
}

.ground-media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

.ground-photo-preview {
  width: 100%;
  max-height: 132px;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
}

.ground-slot-photo {
  flex: 0 0 150px;
}

.ground-slot-photo img {
  width: 150px;
  height: 86px;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
}

.rate-block {
  padding: 0.65rem;
  border: 1px solid rgba(18, 37, 28, 0.1);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.72);
  margin-top: 0.65rem;
}

.rate-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.ground-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  color: #0f1c16;
  background: rgba(246, 168, 0, 0.9);
}

.metric-card {
  background: linear-gradient(180deg, #ffffff, #f4faf6);
  border: 1px solid rgba(25, 195, 125, 0.18);
}

.metric-card .card-body {
  padding: 0.75rem;
}

.metric-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(25, 195, 125, 0.2), rgba(16, 156, 100, 0.12));
}

.metric-icon svg {
  display: block;
}

.list-group-item {
  border: none;
  border-bottom: 1px solid rgba(12, 28, 18, 0.08);
  padding-left: 0;
  padding-right: 0;
  background: transparent;
  color: var(--text-main);
}

.list-group-item:last-child {
  border-bottom: none;
}

.slot-list .list-group-item {
  padding: 0.55rem 0;
}

.slot-list .manual-slot-checkbox {
  margin-top: 0.12rem;
}

.slot-list .list-group-item .d-flex.flex-column {
  line-height: 1.2;
}

.slot-list .list-group-item strong {
  font-size: 0.95rem;
}

.slot-list .list-group-item .badge {
  padding: 0.28rem 0.5rem;
  font-size: 0.74rem;
}

.card .card-body,
.card.p-3,
.card.p-3.p-md-4 {
  padding: 0.75rem;
}

.card.p-3.p-md-4 {
  padding: 0.8rem;
}

.hero-card {
  padding: 0.85rem;
}

.btn {
  border-radius: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.btn-primary,
.btn-success {
  color: #ffffff;
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #19c37d, #109c64);
  box-shadow: 0 12px 20px rgba(16, 156, 100, 0.22);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #1fda8a, #119a62);
}

.btn-success {
  background: linear-gradient(135deg, #19c37d, #0f8a58);
}

.btn-success:hover,
.btn-success:focus {
  background: linear-gradient(135deg, #16b777, #0c774d);
}

.btn-primary:hover,
.btn-success:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.btn-outline-primary {
  color: #0f3b27;
  border-color: rgba(25, 195, 125, 0.4);
  background: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #ffffff;
  background: #19c37d;
  border-color: #19c37d;
}

.btn-outline-danger {
  color: #c53c3c;
  border-color: rgba(224, 69, 69, 0.5);
}

.btn-outline-danger:hover,
.btn-outline-danger:focus {
  background: #e04545;
  border-color: #e04545;
  color: #ffffff;
}

.form-control,
.form-select,
.input-group-text {
  border-radius: 0.65rem;
  border: 1px solid rgba(18, 37, 28, 0.18);
  min-height: 40px;
  box-shadow: none;
  background: #ffffff;
  color: var(--text-main);
}

.form-control::placeholder {
  color: rgba(90, 108, 98, 0.7);
}

.form-control:focus,
.form-select:focus {
  border-color: #19c37d;
  box-shadow: 0 0 0 0.2rem rgba(25, 195, 125, 0.2);
}

.password-hint {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.strength-bar {
  height: 8px;
  border-radius: 99px;
  background: rgba(18, 37, 28, 0.12);
  overflow: hidden;
}

.strength-level {
  height: 100%;
  width: 0%;
  transition: width 0.2s ease;
}

/* ===== Subtle Message Styles ===== */
.msg-subtle {
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  border: 1px solid;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  animation: msg-slide 0.3s ease both;
}

.msg-subtle .msg-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
}

.msg-subtle .msg-body {
  flex: 1;
}

.msg-subtle .msg-close {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.5;
  padding: 0.1rem;
  font-size: 1.1rem;
  line-height: 1;
  color: inherit;
}

.msg-subtle .msg-close:hover {
  opacity: 0.9;
}

.msg-subtle-info {
  background: var(--msg-info);
  border-color: var(--msg-info-border);
  color: var(--msg-info-text);
}

.msg-subtle-success {
  background: var(--msg-success);
  border-color: var(--msg-success-border);
  color: var(--msg-success-text);
}

.msg-subtle-warning {
  background: var(--msg-warning);
  border-color: var(--msg-warning-border);
  color: var(--msg-warning-text);
}

.msg-subtle-error {
  background: var(--msg-error);
  border-color: var(--msg-error-border);
  color: var(--msg-error-text);
}

@keyframes msg-slide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Owner Dashboard Accordion ===== */
.owner-section-toggle {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.9rem;
  border-radius: 0.75rem;
  background: rgba(247, 251, 248, 0.8);
  border: 1px solid rgba(25, 195, 125, 0.15);
  transition: background 0.2s ease;
  width: 100%;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  color: inherit;
}

.owner-section-toggle:focus {
  outline: 2px solid rgba(25, 195, 125, 0.35);
  outline-offset: 2px;
}

.owner-section-toggle:hover {
  background: rgba(247, 251, 248, 1);
  border-color: rgba(25, 195, 125, 0.3);
}

.owner-section-toggle .toggle-arrow {
  transition: transform 0.25s ease;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.owner-section-toggle.collapsed .toggle-arrow {
  transform: rotate(-90deg);
}

.owner-section-body {
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.25s ease, margin 0.25s ease;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}

.owner-section-body.open {
  max-height: 5000px;
  opacity: 1;
  margin-top: 0.5rem;
}

/* ===== Booking Accordion (today's bookings) ===== */
.booking-accordion-item {
  border: 1px solid rgba(18, 37, 28, 0.08);
  border-radius: 0.6rem;
  margin-bottom: 0.35rem;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.booking-accordion-item:hover {
  box-shadow: 0 2px 8px rgba(12, 28, 18, 0.08);
}

.booking-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.75rem;
  cursor: pointer;
  user-select: none;
  gap: 0.5rem;
  background: #ffffff;
  transition: background 0.15s ease;
  width: 100%;
  border: 0;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
}

.booking-accordion-header:focus {
  outline: 2px solid rgba(25, 195, 125, 0.35);
  outline-offset: 2px;
}

.booking-accordion-header:hover {
  background: rgba(247, 251, 248, 0.7);
}

.booking-accordion-header .booking-compact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  flex: 1;
  min-width: 0;
}

.booking-accordion-header .booking-expand-arrow {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--text-soft);
  font-size: 0.8rem;
  width: 1.4rem;
  height: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(18, 37, 28, 0.06);
}

.booking-accordion-header[aria-expanded="true"] .booking-expand-arrow {
  transform: rotate(180deg);
}

.booking-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(247, 251, 248, 0.4);
}

.booking-accordion-body.open {
  max-height: 2000px;
}

.booking-accordion-body-inner {
  padding: 0.65rem 0.75rem;
  border-top: 1px solid rgba(18, 37, 28, 0.06);
}

/* Clickable slot badges on login page */
.slot-badge-clickable {
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.slot-badge-clickable:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(25, 195, 125, 0.35);
}

/* Login section highlight animation when slot is selected */
#login-section.login-highlight {
  animation: login-highlight-pulse 0.8s ease-in-out 3;
  border-radius: 0.75rem;
}

@keyframes login-highlight-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(25, 195, 125, 0);
    background-color: transparent;
  }
  50% {
    box-shadow: 0 0 0 4px rgba(25, 195, 125, 0.25), 0 0 20px rgba(25, 195, 125, 0.15);
    background-color: rgba(25, 195, 125, 0.06);
  }
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.slot-card {
  background: #ffffff;
  border: 1px solid rgba(25, 195, 125, 0.18);
  border-radius: 1rem;
  padding: 0.72rem;
  box-shadow: 0 10px 26px rgba(12, 28, 18, 0.12);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.slot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(12, 28, 18, 0.18);
}

.slot-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.slot-time-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  flex: 1 1 auto;
}

.slot-time-icon {
  font-size: 0.95rem;
  flex-shrink: 0;
}

.slot-time {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  min-width: 0;
}

.slot-price-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  flex: 0 0 auto;
  white-space: nowrap;
}

.slot-price {
  background: rgba(25, 195, 125, 0.14);
  color: #0f3b27;
  border: 1px solid rgba(25, 195, 125, 0.35);
  padding: 0.24rem 0.48rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.84rem;
  line-height: 1;
}

.slot-discount {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.4rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #8a5a00;
  font-weight: 700;
  font-size: 0.72rem;
  line-height: 1;
}

.slot-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.55rem;
}

.slot-body.muted {
  opacity: 0.65;
}

.slot-status {
  font-size: 0.88rem;
  font-weight: 600;
}

.slot-action {
  min-width: 88px;
  padding-top: 0.32rem;
  padding-bottom: 0.32rem;
  font-size: 0.86rem;
}

.slot-card.enter {
  animation: pop-in 0.26s ease both;
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.55s linear;
  background: rgba(25, 195, 125, 0.3);
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.modal-body iframe {
  min-height: 300px;
  width: 100%;
  border: 0;
}

.table {
  --bs-table-striped-bg: #f1f8f4;
  --bs-table-hover-bg: #e9f6ee;
  color: var(--text-main);
}

.table thead th {
  color: rgba(15, 28, 22, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

#confirmModalGlobal .modal-dialog {
  max-width: 760px;
}

#confirmModalGlobal .modal-body p {
  margin-bottom: 0.55rem;
}

.toast {
  z-index: 9999;
}

.site-footer {
  margin-top: 0.6rem;
  margin-bottom: 0.9rem;
}

.site-footer .container {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(25, 195, 125, 0.2);
  border-radius: 0.95rem;
  color: rgba(15, 28, 22, 0.8);
  padding: 0.75rem 1rem;
  backdrop-filter: blur(6px);
}

.footer-copy {
  font-size: 0.86rem;
  font-weight: 600;
}

.footer-reg {
  font-size: 0.7rem;
  vertical-align: super;
  margin-left: 1px;
}

.footer-note {
  font-size: 0.8rem;
  opacity: 0.86;
  text-align: right;
}

.ad-cta-banner,
.ad-cta-strip,
.ad-spot {
  border: 1px dashed rgba(22, 101, 52, 0.35);
  background:
    linear-gradient(135deg, rgba(236, 253, 245, 0.96), rgba(255, 251, 235, 0.92)),
    #ffffff;
  box-shadow: 0 14px 28px rgba(12, 28, 18, 0.08);
}

.ad-cta-banner {
  border-radius: 1.25rem;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ad-cta-kicker,
.ad-spot-label,
.ad-cta-strip span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: rgba(22, 101, 52, 0.11);
  color: #166534;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.28rem 0.62rem;
  margin-bottom: 0.45rem;
}

.ad-cta-banner p,
.ad-spot p {
  color: #647067;
  font-size: 0.92rem;
}

.ad-spot {
  border-radius: 1.1rem;
  padding: 1rem;
}

.ad-spot h6 {
  margin-bottom: 0.4rem;
}

.ad-spot a,
.ad-cta-strip a {
  color: #166534;
  font-weight: 800;
  text-decoration: none;
}

.ad-spot a:hover,
.ad-cta-strip a:hover {
  text-decoration: underline;
}

.ad-cta-strip {
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.app-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.app-loader.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.loader-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(246, 168, 0, 0.18), transparent 40%),
              rgba(245, 250, 246, 0.7);
  backdrop-filter: blur(3px);
}

.loader-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(25, 195, 125, 0.2);
  border-radius: 1rem;
  padding: 1rem 1.2rem;
  min-width: 230px;
  text-align: center;
  color: #0f1c16;
  box-shadow: 0 20px 40px rgba(12, 28, 18, 0.2);
}

.loader-ball-wrap {
  position: relative;
  width: 58px;
  height: 58px;
  margin: 0 auto 0.7rem;
}

.loader-ball {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  margin-top: -22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(145deg, #19c37d, #109c64);
  box-shadow: 0 10px 20px rgba(16, 156, 100, 0.3);
  animation: loader-bob 0.95s ease-in-out infinite;
}

.loader-ring {
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(246, 168, 0, 0.8);
  border-radius: 50%;
  animation: loader-spin 1.4s linear infinite;
}

.loader-text {
  font-family: 'Outfit', 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.loader-subtext {
  margin-top: 0.22rem;
  font-size: 0.8rem;
  opacity: 0.86;
}

.loader-topbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(15, 28, 22, 0.12);
  overflow: hidden;
}

.loader-topbar span {
  display: block;
  width: 32%;
  height: 100%;
  background: linear-gradient(90deg, #f6a800, #19c37d);
  animation: loader-scan 1.1s ease-in-out infinite;
}

.action-confirm-modal {
  border: 1px solid rgba(25, 195, 125, 0.2);
  border-radius: 1rem;
  box-shadow: 0 22px 48px rgba(12, 28, 18, 0.22);
  overflow: hidden;
}

.action-confirm-icon {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(145deg, #f6a800, #e08f00);
}

.goal-anim {
  position: fixed;
  inset: 0;
  z-index: 3000;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.goal-anim.is-active {
  opacity: 1;
  visibility: visible;
}

.goal-anim__scene {
  position: absolute;
  top: 16%;
  right: 8%;
  width: 280px;
  height: 180px;
}

.goal-anim__goal {
  position: absolute;
  inset: 12px 10px 40px 30px;
  border: 3px solid rgba(25, 195, 125, 0.8);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 12px 22px rgba(12, 28, 18, 0.25);
  background: rgba(255, 255, 255, 0.65);
}

.goal-anim__net {
  position: absolute;
  inset: 20px 18px 46px 38px;
  border-radius: 8px 8px 0 0;
  background-image:
    linear-gradient(rgba(25, 195, 125, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 195, 125, 0.18) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.8;
}

.goal-anim__keeper {
  position: absolute;
  bottom: 52px;
  right: 74px;
  width: 58px;
  height: 42px;
  background: linear-gradient(160deg, #1f2d24, #2e4b3c);
  border-radius: 14px 14px 10px 10px;
  box-shadow: 0 10px 20px rgba(12, 28, 18, 0.2);
  transform-origin: right center;
  animation: keeper-dive 2.2s ease forwards;
}

.goal-anim__keeper::before {
  content: '';
  position: absolute;
  left: 8px;
  top: -10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f1c27d;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.08);
}

.goal-anim__keeper::after {
  content: '';
  position: absolute;
  right: -14px;
  top: 10px;
  width: 24px;
  height: 10px;
  border-radius: 999px;
  background: #cfeadf;
  transform: rotate(-12deg);
}

.goal-anim__ball {
  position: absolute;
  bottom: 18px;
  left: -30px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff, #dfe6e1 45%, #c7d1cc 70%);
  box-shadow: 0 8px 16px rgba(12, 28, 18, 0.25);
  animation: ball-shot 2.1s ease forwards;
}

.goal-anim__ball::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 2px solid rgba(15, 28, 22, 0.18);
}

@keyframes ball-shot {
  0% {
    transform: translate(0, 0) scale(0.9);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  60% {
    transform: translate(210px, -120px) scale(0.75);
  }
  78% {
    transform: translate(232px, -132px) scale(0.7);
  }
  100% {
    transform: translate(238px, -140px) scale(0.68);
  }
}

@keyframes keeper-dive {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  45% {
    transform: translate(-22px, -10px) rotate(-8deg);
  }
  70% {
    transform: translate(-42px, -16px) rotate(-14deg);
  }
  100% {
    transform: translate(-48px, -18px) rotate(-16deg);
  }
}

@media (max-width: 768px) {
  .goal-anim__scene {
    top: 10%;
    right: 4%;
    width: 220px;
    height: 150px;
  }
}

@keyframes loader-spin {
  to { transform: rotate(360deg); }
}

@keyframes loader-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes loader-scan {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(420%); }
}

@media (max-width: 992px) {
  .slots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-navbar .navbar-collapse {
    margin-top: 0.6rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 0.9rem;
    padding: 0.6rem;
    border: 1px solid rgba(25, 195, 125, 0.2);
  }

  .site-navbar .nav-link {
    display: block;
    margin: 0.2rem 0;
  }
}

@media (max-width: 768px) {
  .container,
  .container-fluid {
    max-width: 100%;
  }

  .app-main {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
  }

  .page-shell {
    padding: 0.7rem;
  }

  .panel-soft {
    padding: 0.65rem;
  }

  .page-shell,
  .card,
  .modal-content {
    border-radius: 0.9rem;
  }

  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }

  .ground-slot-photo,
  .ground-slot-photo img {
    width: 100%;
  }

  .ground-slot-photo {
    flex-basis: auto;
  }

  .ground-slot-photo img {
    height: 132px;
  }

  .hero-inline-stats {
    grid-template-columns: 1fr;
  }

  .hero-card {
    padding: 0.9rem;
  }

  .hero-card .btn-lg {
    width: 100%;
  }

  .hero-card .col-lg-7,
  .hero-card .col-lg-5 {
    text-align: left;
  }

  .tournament-image,
  .ground-media img {
    height: 150px;
  }

  .ad-cta-banner,
  .ad-spot {
    padding: 0.8rem;
  }

  .slots-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .slot-card {
    padding: 0.65rem;
    border-radius: 0.9rem;
  }

  .slot-meta {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem 0.45rem;
    margin-bottom: 0.45rem;
  }

  .slot-time-wrap,
  .slot-price-wrap {
    width: auto;
  }

  .slot-time {
    font-size: 0.86rem;
  }

  .slot-price {
    font-size: 0.76rem;
    padding: 0.22rem 0.44rem;
  }

  .slot-body {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }

  .slot-action {
    width: 100%;
    font-size: 0.84rem;
  }

  .slot-livebar {
    gap: 0.45rem;
  }

  .live-chip {
    font-size: 0.78rem;
    padding: 0.32rem 0.62rem;
  }

  .loader-core {
    min-width: 200px;
    width: calc(100% - 2rem);
    max-width: 320px;
    padding: 0.9rem 1rem;
  }

  .loader-ball-wrap {
    width: 52px;
    height: 52px;
  }

  .loader-ball {
    width: 40px;
    height: 40px;
    margin-left: -20px;
    margin-top: -20px;
  }

  .site-footer .container {
    align-items: flex-start !important;
  }

  .footer-note {
    text-align: left;
  }

  .ad-cta-banner {
    align-items: flex-start;
    flex-direction: column;
  }
}
