/* CoachSynQ – Fishbooker-inspired: blue/white/grey with orange CTAs */
:root {
  --brand-blue: #1a5fb4;
  --brand-blue-dark: #0d4a8f;
  --cta-blue: #1a5fb4;
  --cta-blue-hover: #0d4a8f;
  --bg-grey: #f5f6f8;
  --card-border: #e8eaed;
  --text-muted: #5f6368;
  --success-green: #1e8e3e;
  /* Shared with navbar + portal main so header and page content line up */
  --layout-gutter-x: 1rem;
  --layout-content-max: 1320px;
}

@media (min-width: 576px) {
  :root {
    --layout-gutter-x: 1.5rem;
  }
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin-bottom: 60px;
  background-color: #fff;
  color: #202124;
}

/* Site layout (non-portal): consistent background and main spacing */
body.site-body .site-main {
  background-color: var(--bg-grey);
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
  min-height: 50vh;
}

/* Standalone content page (e.g. Program detail): white card on grey */
.page-content-card {
  max-width: 1320px;
  margin: 0.5rem 1rem 0;
  padding: 1.5rem 1rem 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border: 1px solid var(--card-border);
}
@media (min-width: 576px) {
  .page-content-card {
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 1.5rem 2.5rem;
  }
}
.page-content-card .breadcrumb { margin-bottom: 1rem; }
.page-content-card h1 { font-size: 1.75rem; font-weight: 700; color: #202124; }
@media (min-width: 768px) {
  .page-content-card h1 { font-size: 2rem; }
}

/* ========== Program detail (pd) — modern booking layout ========== */
.program-star { color: #dadce0; }
.program-star--full { color: #f9ab00; }
.program-star--half { color: #f9ab00; opacity: 0.85; }

.pd.page-content-card {
  padding: 1.5rem 1rem 2rem;
}
@media (min-width: 576px) {
  .pd.page-content-card { padding: 2rem 1.5rem 2.5rem; }
}

.pd__breadcrumb {
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}
.pd__breadcrumb .breadcrumb-item a { color: var(--brand-blue); text-decoration: none; }
.pd__breadcrumb .breadcrumb-item.active { color: var(--text-muted); }

/* Hero / summary */
.pd-hero {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--card-border);
}
.pd-hero__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #202124;
  margin: 0 0 0.75rem;
  line-height: 1.25;
}
@media (min-width: 768px) {
  .pd-hero__title { font-size: 2rem; }
}
.pd-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.pd-hero__badge {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  background: var(--bg-grey);
  color: var(--text-muted);
  border: 1px solid var(--card-border);
}
.pd-hero__badge--kind {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}
.pd-hero__badge--muted {
  font-weight: 500;
  cursor: default;
}
.pd-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.pd-hero__fact--price { color: #202124; font-weight: 600; }
.pd-hero__icon { margin-right: 0.25rem; }

.pd-hero__intro-text .pd-hero__title {
  margin-bottom: 0.75rem;
}
.pd-hero__intro--with-image .pd-hero__badges {
  margin-bottom: 0;
}
.pd-hero__intro--with-image {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .pd-hero__intro--with-image {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 38%);
    align-items: start;
    gap: 1.5rem;
  }
}
.pd-hero__intro-media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--bg-grey);
  box-shadow: 0 4px 16px rgba(32, 33, 36, 0.08);
}
.pd-hero__camp-image {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  display: block;
}

/* Schedule card */
.pd-schedule {
  margin-bottom: 2rem;
}
.pd-schedule__card {
  background: linear-gradient(135deg, rgba(26, 95, 180, 0.06) 0%, rgba(26, 95, 180, 0.02) 100%);
  border: 1px solid rgba(26, 95, 180, 0.2);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 8px rgba(26, 95, 180, 0.06);
}
.pd-schedule__heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pd-schedule__icon { font-size: 1.125rem; }
.pd-schedule__body { }
.pd-schedule__days {
  font-size: 1.25rem;
  font-weight: 700;
  color: #202124;
  margin-bottom: 0.35rem;
}
.pd-schedule__time {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 0.25rem;
}
.pd-schedule__clock { margin-right: 0.25rem; }
.pd-schedule__time--muted { color: var(--text-muted); font-weight: 500; }
.pd-schedule__range {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Two-column layout */
.pd-layout {
  display: block;
}
@media (min-width: 992px) {
  .pd-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
  }
}
.pd-main { min-width: 0; }
@media (min-width: 992px) {
  .pd-sidebar { position: sticky; top: 1rem; min-width: 0; }
}

/* Sections */
.pd-section {
  margin-bottom: 2rem;
}
.pd-section__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #202124;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--card-border);
}

/* About */
.pd-about__body { }
.pd-about__text {
  font-size: 1rem;
  line-height: 1.6;
  color: #202124;
  margin: 0;
}

/* Details list */
.pd-details__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pd-details__item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--card-border);
}
.pd-details__item:last-child { border-bottom: none; }
.pd-details__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.pd-details__value {
  font-size: 0.9375rem;
  color: #202124;
}
.pd-details__schedule-list {
  margin: 0.15rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.9375rem;
  color: #202124;
  line-height: 1.5;
}
.pd-details__schedule-list li {
  margin-bottom: 0.2rem;
}
.pd-details__schedule-list li:last-child {
  margin-bottom: 0;
}

/* Gallery: compact thumbnails (click opens lightbox); fixed tile size avoids one giant cell */
.pd-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 112px));
  gap: 0.6rem;
  justify-content: start;
}
@media (min-width: 576px) {
  .pd-gallery__grid {
    grid-template-columns: repeat(auto-fill, minmax(96px, 120px));
    gap: 0.75rem;
  }
}
.pd-gallery__item {
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-grey);
  border: 1px solid var(--card-border);
  padding: 0;
  cursor: zoom-in;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.pd-gallery__item:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}
.cp-gallery__trigger:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}
.cp-gallery-lightbox__img {
  max-height: min(70vh, 560px);
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  display: block;
  background: #111;
}
.pd-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Reviews */
.pd-reviews__summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.pd-reviews__summary .pd-reviews__stars { display: inline-flex; }
.pd-reviews__avg { font-weight: 700; font-size: 1.25rem; color: #202124; }
.pd-reviews__meta { font-size: 0.9375rem; color: var(--text-muted); }
.pd-reviews__list { margin: 0; }
.pd-reviews__item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--card-border);
}
.pd-reviews__item:last-child { border-bottom: none; }
.pd-reviews__item-stars { display: inline-flex; margin-right: 0.35rem; }
.pd-reviews__item-comment { font-size: 0.9375rem; line-height: 1.55; margin: 0 0 0.35rem; color: #202124; }
.pd-reviews__item-date { font-size: 0.8125rem; color: var(--text-muted); }
.pd-reviews__empty {
  padding: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9375rem;
  background: var(--bg-grey);
  border-radius: 10px;
  border: 1px dashed var(--card-border);
}

/* Coach card (sidebar) */
.pd-coach { margin-bottom: 1.5rem; }
.pd-coach__card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.pd-coach__photo {
  width: 100%;
  aspect-ratio: 1;
  max-height: 200px;
  background: var(--bg-grey);
}
.pd-coach__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pd-coach__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  opacity: 0.4;
}
.pd-coach__info { padding: 1.25rem; }
.pd-coach__name {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}
.pd-coach__name a { color: #202124; text-decoration: none; }
.pd-coach__name a:hover { color: var(--brand-blue); }
.pd-coach__business { font-size: 0.9375rem; color: var(--text-muted); margin: 0 0 0.5rem; }
.pd-coach__rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}
.pd-coach__rating-text { font-size: 0.9375rem; font-weight: 600; color: #202124; }
.pd-coach__headline { font-size: 0.9375rem; font-weight: 600; color: #202124; margin: 0 0 0.5rem; }
.pd-coach__bio { font-size: 0.875rem; line-height: 1.5; color: var(--text-muted); margin: 0 0 1rem; }
.pd-coach__btn { width: 100%; }

/* CTA card */
.pd-cta__card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.pd-cta__card--login {
  border-color: rgba(26, 95, 180, 0.25);
  background: linear-gradient(180deg, rgba(26, 95, 180, 0.04) 0%, #fff 100%);
}
.pd-cta__card--muted {
  background: var(--bg-grey);
  border-color: var(--card-border);
}
.pd-cta__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #202124;
  margin: 0 0 0.5rem;
}
.pd-cta__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.45;
}
.pd-cta__form .form-label { font-size: 0.875rem; font-weight: 600; color: #202124; }
.pd-cta__submit {
  background: var(--cta-blue);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1rem;
}
.pd-cta__submit:hover {
  background: var(--cta-blue-hover);
  color: #fff;
}

.pd-back { margin-top: 2rem; margin-bottom: 0; }

/* ========== Coach profile (cp) — same design language as program detail ========== */
.cp.page-content-card {
  padding: 1.5rem 1rem 2rem;
}
@media (min-width: 576px) {
  .cp.page-content-card { padding: 2rem 1.5rem 2.5rem; }
}

.cp-hero {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--card-border);
}
@media (min-width: 768px) {
  .cp-hero {
    grid-template-columns: 220px 1fr;
    gap: 2rem;
  }
}

.cp-hero__photo {
  flex-shrink: 0;
}
.cp-hero__img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--card-border);
}
.cp-hero__placeholder {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  background: var(--bg-grey);
  border-radius: 12px;
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  opacity: 0.5;
}

.cp-hero__name {
  font-size: 1.75rem;
  font-weight: 700;
  color: #202124;
  margin: 0 0 0.35rem;
}
@media (min-width: 768px) {
  .cp-hero__name { font-size: 2rem; }
}
.cp-hero__business {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
}
.cp-hero__headline {
  font-size: 1rem;
  font-weight: 600;
  color: #202124;
  margin: 0 0 0.75rem;
}
.cp-hero__badges { margin-bottom: 0.5rem; }
.cp-hero__rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0 0 0.5rem;
}
.cp-hero__stars { display: inline-flex; }
.cp-hero__rating-text { font-weight: 600; font-size: 1rem; color: #202124; }
.cp-hero__fact {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 0.25rem;
}
.cp-hero__fact span:first-child { margin-right: 0.25rem; }

/* Coach profile split: stacked hero in left column */
.cp-hero.cp-hero--stacked {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
}
.cp-hero.cp-hero--stacked .cp-hero__photo {
  align-self: center;
  width: 100%;
  max-width: 260px;
}
.cp-hero.cp-hero--stacked .cp-hero__img,
.cp-hero.cp-hero--stacked .cp-hero__placeholder {
  max-width: 100%;
}

/* Left column profile block: center-aligned copy */
.cp-split__aside .cp-hero.cp-hero--stacked {
  text-align: center;
}
.cp-split__aside .cp-hero.cp-hero--stacked .cp-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.cp-split__aside .cp-hero.cp-hero--stacked .cp-hero__rating {
  justify-content: center;
}

@media (min-width: 992px) {
  .cp-split__aside {
    position: sticky;
    top: 1rem;
  }
}

/* ========== Portal pages (coach/parent dashboard) — same design language ========== */
.portal-page { }
.portal-page__breadcrumb {
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}
.portal-page__breadcrumb .breadcrumb-item a { color: var(--brand-blue); text-decoration: none; }
.portal-page__breadcrumb .breadcrumb-item.active { color: var(--text-muted); }
.portal-page__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #202124;
  margin: 0 0 1rem;
}
@media (min-width: 768px) {
  .portal-page__title { font-size: 2rem; }
}
.portal-page__lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.portal-page__section {
  margin-bottom: 2rem;
}
.portal-page__section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #202124;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--card-border);
}
.portal-page__card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.portal-page__card-header {
  padding: 1rem 1.25rem;
  background: var(--bg-grey);
  border-bottom: 1px solid var(--card-border);
  font-weight: 700;
  font-size: 1rem;
  color: #202124;
}
.portal-page__card-body {
  padding: 1.25rem;
}
.portal-page__card-body.p-0 { padding: 0; }

.portal-page__card--accent {
  border-color: #c7e0fb;
  background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 60%);
}

.org-setup-checklist__bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #e9ecef;
  color: #495057;
  font-weight: 700;
  font-size: 0.85rem;
  flex: 0 0 auto;
}
.org-setup-checklist__item--done .org-setup-checklist__bullet {
  background: #198754;
  color: #fff;
}
.org-setup-checklist__item--done strong {
  text-decoration: line-through;
  color: #6c757d;
}

.coach-profile-visibility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.coach-profile-visibility-field {
  min-width: 0;
}

.coach-profile-visibility-field .form-label {
  margin-bottom: 0.5rem;
}

.coach-profile-visibility-field .form-select {
  max-width: 16rem;
}

.coach-profile-visibility-field .form-text {
  max-width: 34rem;
}

@media (max-width: 767.98px) {
  .coach-profile-visibility-grid {
    grid-template-columns: 1fr;
  }

  .coach-profile-visibility-field .form-select,
  .coach-profile-visibility-field .form-text {
    max-width: none;
  }
}

/* Stripe Connect.js embedded components */
.stripe-connect-onboarding-root {
  min-height: 560px;
}
.stripe-connect-embed-root {
  min-height: 280px;
}
.stripe-connect-embed-root--tall {
  min-height: 480px;
}

/* Coach calendar: styles in /css/coach-calendar.css (loaded after FullCalendar on the calendar page) */

/* Coach calendar page — tighter hero */
.portal-page--coach-calendar .portal-page__calendar-intro {
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .portal-page--coach-calendar .portal-page__calendar-intro {
    margin-bottom: 1.25rem;
  }
}
.portal-page--coach-calendar .portal-page__title {
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.portal-page--coach-calendar .portal-page__lead {
  font-size: 0.9375rem;
  line-height: 1.45;
  margin-bottom: 0;
  max-width: 42rem;
  color: #5f6368;
}

.portal-page__card .table {
  margin-bottom: 0;
}
.portal-page__card .table th {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--card-border);
}
.portal-page__card .table td {
  padding: 0.75rem 1.25rem;
  vertical-align: middle;
}
.portal-page__card .table tbody tr {
  border-bottom: 1px solid var(--card-border);
}
.portal-page__card .table tbody tr:last-child {
  border-bottom: none;
}
.portal-page__stat-cards {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .portal-page__stat-cards { grid-template-columns: repeat(3, 1fr); }
}
.portal-page__stat-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.portal-page__stat-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}
.portal-page__stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #202124;
}
.portal-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.portal-page__btn-primary {
  background: var(--cta-blue);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
}
.portal-page__btn-primary:hover {
  background: var(--cta-blue-hover);
  color: #fff;
}
.portal-page__empty {
  padding: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9375rem;
  background: var(--bg-grey);
  border-radius: 10px;
  border: 1px dashed var(--card-border);
}
.portal-page__quick-actions {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--card-border);
}
.portal-page__quick-actions .btn { margin-right: 0.5rem; margin-bottom: 0.5rem; }
.portal-page--blog-editor .portal-page__breadcrumb {
  margin-bottom: 1rem;
}
.blog-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.95fr);
  gap: 1.5rem;
  align-items: start;
}
.blog-admin-main,
.blog-admin-sidebar {
  min-width: 0;
}
.blog-admin-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.blog-admin-status {
  display: inline-flex;
  align-items: center;
  align-self: center;
  min-height: 38px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.blog-editor-shell {
  min-height: 420px;
}
.blog-editor-shell .ql-toolbar.ql-snow {
  border-radius: 10px 10px 0 0;
  border-color: var(--card-border);
}
.blog-editor-shell .ql-container.ql-snow {
  min-height: 360px;
  border-radius: 0 0 10px 10px;
  border-color: var(--card-border);
  font-size: 1rem;
}
.blog-editor-shell .ql-editor {
  min-height: 360px;
}
.blog-ai-suggestion-group + .blog-ai-suggestion-group {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--card-border);
}
.blog-ai-suggestion-title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-blue);
}
.blog-ai-suggestion-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}
.blog-ai-suggestion-list li + li {
  margin-top: 0.5rem;
}
@media (max-width: 991.98px) {
  .blog-admin-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575.98px) {
  .blog-admin-two-col {
    grid-template-columns: 1fr;
  }
}

/* Focus states */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(26, 95, 180, 0.25);
}

/* ========== Header / Nav ========== */
.navbar-coachsynq {
  background: #fff !important;
  border-bottom: 1px solid #e8eaed;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.navbar-coachsynq.navbar-signed-in {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.navbar-coachsynq .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--brand-blue) !important;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.navbar-coachsynq .navbar-brand img {
  height: 34px;
  width: auto;
}

.nav-link--bar {
  padding: 0.5rem 0.75rem !important;
  border-radius: 6px;
  font-size: 0.9375rem;
}

.nav-link--bar:hover {
  background: rgba(0, 0, 0, 0.04);
}

.navbar-nav--parent {
  min-width: 0;
}

.navbar-parent-link {
  color: #475467 !important;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}

.navbar-parent-link:hover {
  color: var(--brand-blue) !important;
}

.navbar-parent-link--active {
  color: var(--brand-blue) !important;
  background: rgba(26, 95, 180, 0.08);
}

@media (max-width: 575.98px) {
  .navbar-nav--parent {
    padding-top: 0.5rem;
    margin-bottom: 0.35rem;
    border-top: 1px solid rgba(218, 220, 224, 0.85);
  }
}

/* Guest: primary CTA */
.navbar-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.125rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff !important;
  text-decoration: none;
  background: var(--brand-blue);
  border: 1px solid #124080;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(18, 64, 128, 0.12);
  transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.navbar-cta-primary:hover {
  color: #fff !important;
  background: var(--brand-blue-dark);
  border-color: #0d3a66;
  box-shadow: 0 2px 8px rgba(26, 95, 180, 0.22);
}

.navbar-cta-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.3);
}

/* Signed-in: portal entry — outline, not a loud nav-link blob */
.navbar-portal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--brand-blue) !important;
  text-decoration: none;
  background: #f8f9fb;
  border: 1px solid #dadce0;
  border-radius: 8px;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

@media (min-width: 576px) {
  .navbar-portal-btn {
    width: auto;
  }
}

.navbar-portal-btn:hover {
  color: var(--brand-blue-dark) !important;
  background: #fff;
  border-color: var(--brand-blue);
  box-shadow: 0 2px 8px rgba(26, 95, 180, 0.1);
}

.navbar-portal-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.25);
}

.navbar-portal-btn__icon {
  flex-shrink: 0;
  color: var(--brand-blue);
}

/* User menu trigger */
.navbar-user-dropdown .navbar-user-trigger {
  display: inline-flex;
  align-items: center;
  max-width: min(220px, 42vw);
  padding: 0.45rem 0.75rem 0.45rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #202124 !important;
  text-decoration: none;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 999px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.navbar-user-dropdown .navbar-user-trigger:hover,
.navbar-user-dropdown .navbar-user-trigger:focus {
  border-color: #bdc1c6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  color: #202124 !important;
}

.navbar-user-dropdown .navbar-user-trigger::after {
  margin-left: 0.35rem;
  vertical-align: 0.15em;
  opacity: 0.65;
}

.navbar-user-trigger__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.navbar-user-dropdown .dropdown-menu {
  margin-top: 0.35rem;
  border-radius: 10px;
  padding: 0.35rem 0;
  min-width: 10rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.06);
}

.navbar-user-dropdown .dropdown-item {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

.navbar-user-dropdown .dropdown-item:hover {
  background: #f1f3f4;
}

.navbar-user-dropdown button.dropdown-item {
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  cursor: pointer;
}

/* Navbar content constrained to match site width */
.navbar__wrap {
  padding-left: var(--layout-gutter-x);
  padding-right: var(--layout-gutter-x);
}
.navbar__inner {
  max-width: var(--layout-content-max);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.navbar__inner .navbar-brand { margin-right: 1rem; }
.navbar__inner .navbar-toggler { order: 3; margin-left: auto; }
.navbar__inner .navbar-collapse {
  flex-basis: 100%;
  order: 4;
}
@media (min-width: 576px) {
  .navbar__inner .navbar-collapse {
    flex-basis: auto;
    order: 0;
    flex-grow: 1;
    justify-content: flex-end;
  }
}

.navbar-nav--guest-auth {
  width: 100%;
}
@media (min-width: 576px) {
  .navbar-nav--guest-auth {
    width: auto;
  }
}

@media (max-width: 575.98px) {
  .navbar-portal-btn--center-sm {
    justify-content: center;
  }
}

.navbar-coachsynq .nav-link {
  color: #202124 !important;
  font-weight: 500;
}

.navbar-coachsynq .nav-link:hover {
  color: var(--brand-blue) !important;
}

/* Guest header: transparent over hero, white logo & text (FishingBooker-style) */
.navbar-coachsynq.navbar-guest {
  background: rgba(0, 0, 0, 0) !important;
  border-bottom: none;
  box-shadow: none;
}

/* On non-home guest pages, use solid dark nav so it reads on white background */
body:not(.page-home-guest) .navbar-coachsynq.navbar-guest {
  background: rgba(0, 0, 0, 0.88) !important;
}

/* Guest navbar: same horizontal margins as body (.marketplace-container) */
.navbar-guest__inner {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 576px) {
  .navbar-guest__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.navbar-coachsynq.navbar-guest .navbar-brand {
  color: #fff !important;
}

.navbar-coachsynq.navbar-guest .nav-link {
  color: #fff !important;
}

.navbar-coachsynq.navbar-guest .nav-link:hover {
  color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-coachsynq.navbar-guest .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.6);
}

.navbar-coachsynq.navbar-guest .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Home guest: nav overlays hero */
body.page-home-guest .navbar-coachsynq.navbar-guest {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

body.page-home-guest .guest-main {
  padding-top: 0;
}

/* ========== Signed-in layout: sidebar + main ========== */
:root {
  --sidebar-width: 220px;
  --sidebar-active-border: #1a5fb4;
}

body.layout-with-sidebar {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.layout-with-sidebar .navbar-coachsynq {
  flex-shrink: 0;
}

/* Portal body: same horizontal band as navbar (gutter + max 1320 centered) */
.portal-shell {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-left: var(--layout-gutter-x);
  padding-right: var(--layout-gutter-x);
  background: var(--bg-grey);
  box-sizing: border-box;
}

body.layout-with-sidebar .portal-shell > .app-layout {
  flex: 1;
  min-height: 0;
  max-width: var(--layout-content-max);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  border: 1px solid var(--card-border);
  border-top: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.app-layout {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* Left sidebar – My Account (FishingBooker-style) */
.account-sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--card-border);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
}

.account-sidebar__title {
  font-size: 1rem;
  font-weight: 700;
  color: #202124;
  margin: 0 1.25rem 1rem;
  padding: 0;
  line-height: 1.3;
}

.account-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.account-sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  color: #5f6368;
  text-decoration: none;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: color 0.15s ease, background 0.15s ease;
}

.account-sidebar__link:hover {
  color: var(--brand-blue);
  background: rgba(26, 95, 180, 0.06);
}

.account-sidebar__link.active {
  color: var(--brand-blue);
  font-weight: 600;
  border-left-color: var(--sidebar-active-border);
  background: rgba(26, 95, 180, 0.06);
}

.account-sidebar__icon {
  flex-shrink: 0;
  color: inherit;
}

/* Collapsible Coach portal group (parent+coach) */
.account-sidebar__group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.account-sidebar__link--toggler {
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
}

.account-sidebar__link--toggler .account-sidebar__chevron {
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.account-sidebar__link--toggler:not(.collapsed) .account-sidebar__chevron {
  transform: rotate(180deg);
}

.account-sidebar__subnav {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 0.5rem;
  border-left: 2px solid var(--card-border);
  margin-left: 1.25rem;
  margin-bottom: 0.25rem;
}

.account-sidebar__link--sub {
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
}

.account-sidebar__link--sub .account-sidebar__icon {
  display: none;
}

.app-main {
  flex: 1;
  min-width: 0;
  overflow: auto;
  background: #fff;
}

.app-main__inner {
  max-width: none;
  margin-left: 0;
  margin-right: auto;
  padding: 1.5rem 1.5rem 2rem 1.25rem;
}

/* Legacy: left sidebar layout hid the Bootstrap collapse toggler in favor of .sidebar-toggle. Portal now uses top nav only. */
@media (max-width: 767.98px) {
  body.layout-with-sidebar .navbar-signed-in .navbar-toggler:not(.sidebar-toggle) {
    display: none;
  }
}

.sidebar-toggle {
  display: none;
}

@media (max-width: 767.98px) {
  body.layout-with-sidebar .navbar-signed-in .sidebar-toggle {
    display: inline-block;
  }
}

/* Mobile: sidebar drawer full-bleed; main stays in aligned column */
@media (max-width: 767.98px) {
  .portal-shell {
    padding-left: 0;
    padding-right: 0;
    background: #fff;
  }

  body.layout-with-sidebar .portal-shell > .app-layout {
    flex: 1;
    min-height: 0;
    border: none;
    box-shadow: none;
    max-width: none;
  }

  .account-sidebar {
    position: fixed;
    left: 0;
    top: 56px;
    bottom: 0;
    z-index: 1030;
    box-shadow: 2px 0 8px rgba(0,0,0,0.1);
    transform: translateX(-100%);
    transition: transform 0.2s ease;
  }

  body.sidebar-open .account-sidebar {
    transform: translateX(0);
  }

  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    top: 56px;
    background: rgba(0,0,0,0.4);
    z-index: 1029;
  }

  body.sidebar-open .sidebar-overlay {
    display: block;
  }

  .app-main__inner {
    padding-top: 1.25rem;
    padding-bottom: 1.5rem;
    padding-left: var(--layout-gutter-x);
    padding-right: var(--layout-gutter-x);
  }
}

/* ========== Portal layout: top subnav (Parent / Coach / Admin) ========== */
body.layout-portal {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.layout-portal .navbar-coachsynq {
  flex-shrink: 0;
}

.portal-header {
  flex-shrink: 0;
}

.portal-subnav {
  background: #fff;
  border-bottom: 1px solid var(--card-border);
}

.portal-subnav__inner {
  max-width: var(--layout-content-max);
  margin: 0 auto;
  padding: 0.5rem var(--layout-gutter-x);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  row-gap: 0.5rem;
  justify-content: space-between;
}

.portal-subnav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.15rem;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
}

.portal-subnav__link {
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  color: #5f6368;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, background 0.15s ease;
}

.portal-subnav__link:hover {
  color: var(--brand-blue);
  background: rgba(26, 95, 180, 0.06);
}

.portal-subnav__link.active {
  color: var(--brand-blue);
  font-weight: 600;
  border-bottom-color: var(--sidebar-active-border);
  background: rgba(26, 95, 180, 0.06);
}

.portal-switcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.portal-switcher__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #80868b;
}

.portal-switcher__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.portal-switcher__link {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #5f6368;
  text-decoration: none;
  border: 1px solid var(--card-border);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.portal-switcher__link:hover {
  color: var(--brand-blue);
  border-color: rgba(26, 95, 180, 0.4);
  background: rgba(26, 95, 180, 0.06);
}

.portal-switcher__link--active {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
  font-weight: 600;
  pointer-events: none;
}

body.layout-portal .portal-shell {
  flex: 1;
  min-height: 0;
}

body.layout-portal .portal-shell > .app-layout--portal-top {
  flex: 1;
  min-height: 0;
  max-width: var(--layout-content-max);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  border: 1px solid var(--card-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.app-layout--portal-top {
  display: flex;
  flex: 1;
  min-height: 0;
}

@media (max-width: 767.98px) {
  body.layout-portal .portal-shell {
    padding-left: 0;
    padding-right: 0;
    background: #fff;
  }

  body.layout-portal .portal-shell > .app-layout--portal-top {
    border: none;
    box-shadow: none;
    max-width: none;
  }

  .portal-subnav__inner {
    padding-left: var(--layout-gutter-x);
    padding-right: var(--layout-gutter-x);
  }
}

/* Coach setup banner: same horizontal band as .portal-shell / main column */
body.layout-portal .portal-setup-banner-outer {
  padding-left: var(--layout-gutter-x);
  padding-right: var(--layout-gutter-x);
  padding-top: 0.5rem;
  box-sizing: border-box;
}

body.layout-portal .portal-setup-banner-inner {
  max-width: var(--layout-content-max);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

body.layout-portal .portal-setup-banner {
  border-radius: 0.375rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

@media (max-width: 767.98px) {
  body.layout-portal .portal-setup-banner-outer {
    padding-left: var(--layout-gutter-x);
    padding-right: var(--layout-gutter-x);
  }
}

/* Parent dashboard hub */
.parent-dashboard-home {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.parent-dashboard-home__hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  align-items: flex-start;
}

.parent-dashboard-home__eyebrow,
.parent-dashboard-section__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #667085;
  margin-bottom: 0.35rem;
}

.parent-dashboard-home__title,
.parent-dashboard-section__title {
  margin: 0;
  color: #101828;
  line-height: 1.15;
}

.parent-dashboard-home__title {
  font-size: clamp(1.85rem, 2.6vw, 2.4rem);
}

.parent-dashboard-home__subtitle,
.parent-dashboard-section__subtitle {
  margin: 0.45rem 0 0;
  color: #667085;
  max-width: 54rem;
}

.parent-dashboard-home__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 0.75rem;
  min-width: min(100%, 360px);
}

.parent-dashboard-home__stat {
  border: 1px solid var(--card-border);
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  padding: 0.9rem 1rem;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
}

.parent-dashboard-home__stat-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #667085;
  margin-bottom: 0.25rem;
}

.parent-dashboard-home__stat-value {
  display: block;
  font-size: 1.45rem;
  color: #0d2847;
  line-height: 1;
}

.parent-dashboard-find-card {
  border: 1px solid var(--card-border);
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  padding: 1.1rem;
  box-shadow: 0 16px 36px rgba(16, 24, 40, 0.06);
}

.parent-dashboard-find-card__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.parent-dashboard-find-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #101828;
  margin: 0;
}

.parent-dashboard-find-card__subtitle {
  margin: 0.35rem 0 0;
  color: #667085;
}

.parent-dashboard-find-card__quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.parent-dashboard-find-card__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: end;
}

.parent-dashboard-find-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.parent-dashboard-find-card__field {
  min-width: 0;
}

.parent-dashboard-find-card__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475467;
}

.parent-dashboard-find-card__control {
  min-height: 46px;
  border-radius: 12px;
  border-color: #d0d5dd;
  box-shadow: none;
}

.parent-dashboard-find-card__control:focus {
  border-color: rgba(26, 95, 180, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(26, 95, 180, 0.16);
}

.parent-dashboard-find-card__submit,
.parent-dashboard-find-card__toggle {
  min-height: 46px;
  border-radius: 12px;
  padding-left: 1rem;
  padding-right: 1rem;
}

.parent-dashboard-find-card__player-context {
  margin: 0.8rem 0 0;
  color: #667085;
  font-size: 0.92rem;
}

.parent-dashboard-find-card__collapse {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e4e7ec;
}

.parent-dashboard-find-card__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.parent-dashboard-find-pills {
  margin-bottom: 0;
  margin-top: 1rem;
}

.parent-dashboard-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.parent-dashboard-section__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  align-items: flex-end;
}

.parent-dashboard-schedule-card {
  border: 1px solid var(--card-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
  background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
}

.parent-dashboard-schedule-list {
  display: flex;
  flex-direction: column;
}

.parent-dashboard-upcoming-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.2rem 1.25rem;
  border-top: 1px solid #eef2f6;
}

.parent-dashboard-upcoming-card:first-child {
  border-top: 0;
}

.parent-dashboard-upcoming-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
  min-height: 92px;
  width: 84px;
  border-radius: 16px;
  background: linear-gradient(180deg, #eff6ff 0%, #f8fbff 100%);
  border: 1px solid #dbe8f7;
  color: #0d2847;
  text-align: center;
}

.parent-dashboard-upcoming-card__date-dow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.parent-dashboard-upcoming-card__date-month {
  font-size: 0.78rem;
  font-weight: 600;
  color: #475467;
  text-transform: uppercase;
}

.parent-dashboard-upcoming-card__date-day {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.parent-dashboard-upcoming-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.parent-dashboard-upcoming-card__header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1rem;
}

.parent-dashboard-upcoming-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.parent-dashboard-upcoming-card__when {
  font-size: 0.85rem;
  color: #667085;
}

.parent-dashboard-upcoming-card__main {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(154px, 172px);
  gap: 0.9rem 1rem;
  align-items: start;
}

.parent-dashboard-upcoming-card__avatar {
  width: 56px;
  height: 56px;
}

.parent-dashboard-upcoming-card__avatar-image,
.parent-dashboard-upcoming-card__avatar-fallback {
  width: 56px;
  height: 56px;
  object-fit: cover;
}

.parent-dashboard-upcoming-card__content {
  min-width: 0;
}

.parent-dashboard-upcoming-card__title-row {
  margin-bottom: 0.25rem;
}

.parent-dashboard-upcoming-card__title {
  color: #101828;
  font-size: 1.02rem;
}

.parent-dashboard-upcoming-card__meta {
  display: grid;
  gap: 0.22rem;
}

.parent-dashboard-upcoming-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-self: start;
  justify-self: end;
  width: 100%;
  max-width: 172px;
}

.parent-dashboard-upcoming-card__actions .btn {
  width: 100%;
}

.parent-dashboard-schedule-empty {
  padding: 1.5rem;
}

@media (max-width: 991.98px) {
  .parent-dashboard-home__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
  }

  .parent-dashboard-find-card__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .parent-dashboard-upcoming-card__main {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .parent-dashboard-upcoming-card__actions {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 767.98px) {
  .parent-dashboard-home__stats {
    grid-template-columns: 1fr;
  }

  .parent-dashboard-find-card {
    padding: 1rem;
    border-radius: 16px;
  }

  .parent-dashboard-find-card__top {
    grid-template-columns: 1fr;
  }

  .parent-dashboard-find-card__actions {
    justify-content: stretch;
  }

  .parent-dashboard-find-card__actions .btn {
    flex: 1 1 auto;
  }

  .parent-dashboard-upcoming-card {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .parent-dashboard-upcoming-card__date {
    width: 100%;
    min-height: 0;
    padding: 0.65rem 0.9rem;
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.5rem;
    text-align: left;
  }

  .parent-dashboard-upcoming-card__main {
    grid-template-columns: 1fr;
  }

  .parent-dashboard-upcoming-card__actions {
    flex-direction: column;
  }

  .parent-dashboard-upcoming-card__actions .btn {
    width: 100%;
  }

  .parent-dashboard-find-card__grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Primary buttons (orange CTA) ========== */
.btn-primary, .btn-search {
  background: var(--cta-blue);
  border-color: var(--cta-blue);
}

.btn-primary:hover, .btn-search:hover {
  background: var(--cta-blue-hover);
  border-color: var(--cta-blue-hover);
}

.btn-primary:focus, .btn-search:focus {
  box-shadow: 0 0 0 0.2rem rgba(26, 95, 180, 0.35);
}

/* ========== Hero banner (guest home – compact, no background photo) ========== */
.hero-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: -1.25rem;
  padding-top: 1.5rem;
  padding-bottom: 0.75rem;
  background: linear-gradient(165deg, #e8f1fb 0%, #eef2f7 38%, #f5f6f8 72%, #fff 100%);
  border-bottom: 1px solid var(--card-border);
}

/* Hero content uses same horizontal margins as body (.marketplace-container) */
.hero-banner__content {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding: 0 1rem 0.75rem;
  box-sizing: border-box;
}

.hero-banner__title {
  font-size: 2rem;
  font-weight: 700;
  color: #202124;
  margin: 0 0 0.35rem;
  line-height: 1.2;
}

.hero-banner__subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted, #5f6368);
  margin: 0;
}

.hero-banner__search-wrap {
  position: relative;
  z-index: 2;
  max-width: var(--layout-content-max, 1320px);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding: 0 var(--layout-gutter-x, 1rem) 1rem;
  box-sizing: border-box;
}

.hero-banner__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin: 0 0 0.45rem;
}

@media (min-width: 768px) {
  .hero-banner__title {
    font-size: 2.4rem;
  }
}

/* ========== Home explore (browse-by-sport tiles + how it works) ========== */
.home-explore {
  margin: 1.5rem 0 2rem;
}

.home-explore__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #202124;
  margin: 0 0 1rem;
}

@media (min-width: 768px) {
  .home-explore__title {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }
}

.home-explore__sport-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
}

.home-explore__sport-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  color: #202124;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.home-explore__sport-tile:hover,
.home-explore__sport-tile:focus {
  border-color: var(--brand-blue);
  background: #f3f7fc;
  color: var(--brand-blue-dark, var(--brand-blue));
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(26, 95, 180, 0.12);
  transform: translateY(-1px);
}

.home-explore__sport-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.home-explore__sport-name {
  white-space: nowrap;
}

.home-explore__sport-count {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.home-explore--how {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--card-border);
}

.home-explore__how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .home-explore__how-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.home-explore__how-step {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.25rem 1.15rem 1.35rem;
  box-shadow: 0 1px 6px rgba(13, 40, 71, 0.04);
}

.home-explore__how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}

.home-explore__how-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #202124;
  margin: 0 0 0.4rem;
}

.home-explore__how-step-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ========== Organization tier picker (signup + billing change-plan) ========== */
.org-tier-picker {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}
@media (min-width: 480px) {
  .org-tier-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.org-tier-picker__option {
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 0.15rem;
  padding: 0.85rem 0.85rem 0.95rem;
  border: 1px solid #d8dee5;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  position: relative;
}

.org-tier-picker__option:hover {
  border-color: #93b5f5;
}

.org-tier-picker__option--active {
  border-color: #2563eb;
  background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 60%);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.org-tier-picker__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.org-tier-picker__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
}
.org-tier-picker__price {
  font-weight: 700;
  font-size: 1.25rem;
  color: #0f172a;
  line-height: 1.1;
}
.org-tier-picker__per {
  font-weight: 500;
  font-size: 0.85rem;
  color: #6c757d;
  margin-left: 0.15rem;
}
.org-tier-picker__seats {
  font-size: 0.78rem;
  color: #2563eb;
  font-weight: 600;
}
.org-tier-picker__tagline {
  font-size: 0.78rem;
  line-height: 1.35;
  margin-top: 0.2rem;
}

/* ========== Android slim install banner (iOS uses Apple's native Smart App Banner) ========== */
.app-install-banner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  background: #0f172a;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  line-height: 1.2;
}

.app-install-banner--hidden {
  display: none !important;
}

.app-install-banner__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.app-install-banner__icon-letter {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.app-install-banner__copy {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}

.app-install-banner__title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}

.app-install-banner__subtitle {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-install-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #0f172a !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  text-decoration: none !important;
  flex: 0 0 auto;
  transition: background-color 0.15s ease;
}

.app-install-banner__cta:hover,
.app-install-banner__cta:focus-visible {
  background: #e2e8f0;
  outline: none;
}

.app-install-banner__close {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.4rem;
  line-height: 1;
  padding: 0 0.25rem;
  flex: 0 0 auto;
  cursor: pointer;
}

.app-install-banner__close:hover,
.app-install-banner__close:focus-visible {
  color: #fff;
  outline: none;
}

/* ========== App store promo (homepage) ========== */
.home-app-promo {
  margin: 2.5rem 0 1rem;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #334155 100%);
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.home-app-promo__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 1.5rem;
}

.home-app-promo__copy {
  flex: 1 1 18rem;
  min-width: 0;
}

.home-app-promo__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: #fff;
}

.home-app-promo__lead {
  font-size: 0.95rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.home-app-promo__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.home-app-promo__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 1.1rem;
  background: #000;
  color: #fff !important;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none !important;
  min-width: 11.5rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.home-app-promo__badge:hover,
.home-app-promo__badge:focus-visible {
  transform: translateY(-1px);
  background: #111;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  outline: none;
}

.home-app-promo__badge:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.home-app-promo__badge-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: #fff;
}

.home-app-promo__badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}

.home-app-promo__badge-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
}

.home-app-promo__badge-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  line-height: 1.15;
}

@media (max-width: 575px) {
  .home-app-promo {
    padding: 1.4rem 1.1rem;
  }
  .home-app-promo__inner {
    justify-content: center;
    text-align: center;
  }
  .home-app-promo__copy {
    flex: 1 1 100%;
  }
  .home-app-promo__badges {
    width: 100%;
    justify-content: center;
  }
  .home-app-promo__badge {
    flex: 1 1 14rem;
    justify-content: center;
  }
}

/* ========== Sports & focus picker (location create/edit) ========== */
.sports-picker__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.55rem;
  margin-bottom: 0.4rem;
}

.sports-picker__chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  color: #202124;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  margin: 0;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.sports-picker__chip:hover {
  border-color: var(--brand-blue);
  background: #f3f7fc;
}

.sports-picker__chip-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.sports-picker__chip--active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
  box-shadow: 0 2px 6px rgba(26, 95, 180, 0.18);
}

.sports-picker__chip--active:hover {
  background: var(--brand-blue-dark, #144f99);
  border-color: var(--brand-blue-dark, #144f99);
  color: #fff;
}

.sports-picker__chip-input:focus-visible + .sports-picker__chip-name {
  outline: 2px solid rgba(26, 95, 180, 0.5);
  outline-offset: 3px;
  border-radius: 999px;
}

.sports-picker__focus-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  background: #fafbfc;
}

.sports-picker__focus-block {
  padding-bottom: 0.4rem;
  border-bottom: 1px dashed var(--card-border);
}

.sports-picker__focus-block:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.sports-picker__focus-block--hidden {
  display: none;
}

.sports-picker__focus-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #202124;
  margin-bottom: 0.4rem;
}

.sports-picker__empty {
  margin: 0;
}

/* Hero search — matches signed-in header (borders, radius, brand CTA) */
.hero-search {
  width: 100%;
}

.hero-search__card {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.03);
  padding: 1rem 1.25rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.hero-search__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  width: 100%;
  min-width: 0;
}

.hero-search__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.hero-search__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: #5f6368;
  margin: 0;
  line-height: 1.2;
}

.hero-search__control {
  height: 44px;
  padding: 0 0.8rem;
  font-size: 0.9375rem;
  color: #202124;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hero-search__control::placeholder {
  color: #80868b;
}

.hero-search__control:hover {
  border-color: #bdc1c6;
}

.hero-search__control:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.12);
}

select.hero-search__control {
  cursor: pointer;
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235f6368' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  appearance: none;
  -webkit-appearance: none;
}

.hero-search__field--city {
  grid-column: 1 / -1;
}

.hero-search__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-shrink: 0;
  width: 100%;
  height: 46px;
  padding: 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff !important;
  border: 1px solid #124080;
  border-radius: 8px;
  background: var(--brand-blue);
  box-shadow: 0 1px 2px rgba(18, 64, 128, 0.12);
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.hero-search__submit:hover {
  background: var(--brand-blue-dark);
  border-color: #0d3a66;
  box-shadow: 0 2px 8px rgba(26, 95, 180, 0.22);
  color: #fff !important;
}

.hero-search__submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.35);
}

.hero-search__submit-icon {
  flex-shrink: 0;
  opacity: 0.95;
}

.hero-banner__portal-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.hero-banner__portal-btn {
  color: var(--brand-blue) !important;
  text-decoration: none;
  display: inline-block;
}

.hero-banner__portal-btn:hover {
  color: var(--brand-blue-dark) !important;
}

@media (min-width: 576px) {
  .hero-banner__content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero-banner__search-wrap {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .hero-banner__title {
    font-size: 2.25rem;
  }

  .hero-banner__subtitle {
    font-size: 1.125rem;
  }

  /* Full-width single row: kind + filters + max distance + CTA (matches Home/Index field order) */
  .hero-search__card {
    display: grid;
    grid-template-columns:
      minmax(5.5rem, 7.25rem)
      minmax(4.75rem, 6rem)
      minmax(0, 1fr)
      minmax(0, 1fr)
      minmax(0, 1.35fr)
      minmax(4.75rem, 6.25rem)
      minmax(4.5rem, 5.75rem)
      minmax(7.5rem, 9.75rem)
      minmax(10.5rem, auto);
    align-items: end;
    column-gap: 0.75rem;
    row-gap: 0;
    padding: 1.1rem 1.35rem 1.2rem;
  }

  .hero-search__fields {
    display: contents;
  }

  .hero-search__field--kind {
    grid-column: 1;
  }

  .hero-search__field--age {
    grid-column: 2;
  }

  .hero-search__field--sport {
    grid-column: 3;
  }

  .hero-search__field--type {
    grid-column: 4;
  }

  .hero-search__field--city {
    grid-column: 5;
  }

  .hero-search__field--state {
    grid-column: 6;
  }

  .hero-search__field--zip {
    grid-column: 7;
  }

  .hero-search__field--distance {
    grid-column: 8;
  }

  .hero-search__submit {
    grid-column: 9;
    width: 100%;
    min-width: 10.5rem;
    align-self: end;
  }
}

@media (min-width: 1100px) {
  .hero-search__card {
    column-gap: 1rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    grid-template-columns:
      minmax(5.75rem, 7.5rem)
      minmax(5rem, 6.25rem)
      minmax(0, 1.15fr)
      minmax(0, 1.15fr)
      minmax(0, 1.5fr)
      minmax(5rem, 6.5rem)
      minmax(5rem, 6rem)
      minmax(8rem, 10.5rem)
      minmax(11rem, auto);
  }
}

/* When hero is present, add spacing before marketplace content */
.hero-banner + .marketplace-page {
  padding-top: 1rem;
}

/* ========== Search bar (prominent, single row) ========== */
.search-hero {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 0.75rem 1rem;
}

.search-hero .form-control,
.search-hero .form-select {
  border-radius: 6px;
  border-color: var(--card-border);
}

.search-hero .btn-search {
  border-radius: 6px;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
}

/* ========== Program cards (Fishbooker-style) ========== */
.card-program {
  border: 1px solid var(--card-border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.card-program:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-color: #d2d5d9;
}

.card-program .card-title a {
  color: #202124;
  font-weight: 600;
  text-decoration: none;
}

.card-program .card-title a:hover {
  color: var(--brand-blue);
}

/* Price in green (like Fishbooker) */
.price-display {
  color: var(--success-green);
  font-weight: 700;
}

/* Orange CTA on cards */
.btn-card-cta {
  background: var(--cta-blue);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1rem;
}

.btn-card-cta:hover {
  background: var(--cta-blue-hover);
  color: #fff;
}

/* Badges */
.badge-sport {
  background: var(--brand-blue);
}

.badge-type {
  background: #5f6368;
}

/* Breadcrumb */
.breadcrumb-coachsynq {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumb-coachsynq a {
  color: var(--brand-blue);
  text-decoration: none;
}

/* Footer */
.footer-coachsynq {
  border-top: 1px solid var(--card-border);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.site-footer-links__inner {
  max-width: var(--layout-content-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--layout-gutter-x);
  padding-right: var(--layout-gutter-x);
  text-align: center;
}

.site-footer-links__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.5rem;
  justify-content: center;
}

.site-footer-links__nav a {
  color: var(--brand-blue);
  text-decoration: none;
  font-size: 0.8125rem;
}

.site-footer-links__nav a:hover {
  text-decoration: underline;
}

.legal-page {
  max-width: 820px;
}

.legal-page h1 {
  margin-bottom: 1rem;
}

.blog-post__body {
  line-height: 1.65;
}

.blog-post__body img {
  max-width: 100%;
  height: auto;
}

/* Page headings */
.page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #202124;
}

@media (min-width: 768px) {
  .page-title {
    font-size: 1.75rem;
  }
}

/* ========== Marketplace discovery page (program listing) ========== */
.marketplace-page {
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
  background-color: var(--bg-grey);
  min-height: 60vh;
}

.marketplace-container {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 576px) {
  .marketplace-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Breadcrumb */
.marketplace-breadcrumb {
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}

.marketplace-breadcrumb .breadcrumb-item a {
  color: var(--brand-blue);
  text-decoration: none;
}

.marketplace-breadcrumb .breadcrumb-item.active {
  color: var(--text-muted);
}

/* Search panel – polished bar */
.marketplace-search-panel {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.75rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.marketplace-search-panel:focus-within {
  border-color: rgba(26, 95, 180, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(26, 95, 180, 0.1);
}

.marketplace-search-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.marketplace-search-control {
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  font-size: 0.9375rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.marketplace-search-control:hover {
  border-color: #c4c7cc;
}

.marketplace-search-control:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.15);
  outline: 0;
}

.marketplace-search-btn {
  height: 44px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.marketplace-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 95, 180, 0.35);
}

.marketplace-search-btn:active {
  transform: translateY(0);
}

.marketplace-parent-cta a {
  color: var(--brand-blue);
  text-decoration: none;
}

/* Results header */
.marketplace-results-header {
  margin-bottom: 0.5rem;
}

.marketplace-results-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #202124;
  margin-bottom: 0.2rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .marketplace-results-title {
    font-size: 1.875rem;
  }
}

.marketplace-results-subtitle {
  font-size: 0.9375rem;
}

/* Filter bar – pill styling */
.marketplace-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.marketplace-filter-pill {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--card-border);
  background: #fff;
  color: #202124;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.marketplace-filter-pill:hover {
  background: var(--bg-grey);
  border-color: #d2d5d9;
  color: #202124;
}

.marketplace-filter-pill--muted {
  color: var(--text-muted);
  border-color: transparent;
  background: transparent;
  font-weight: 500;
}

/* Results list */
.marketplace-results-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .marketplace-results-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Marketplace card – premium horizontal layout */
.marketplace-card {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 0 rgba(255, 255, 255, 0.6) inset;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.marketplace-card:hover {
  border-color: #d2d5d9;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

.marketplace-card .row {
  min-height: 200px;
}

@media (min-width: 768px) {
  .marketplace-card .row {
    min-height: 240px;
  }
}

/* Card: premium left image section */
.marketplace-card__image-col {
  flex: 0 0 auto;
  width: 100%;
  max-height: 200px;
}

@media (min-width: 768px) {
  .marketplace-card__image-col {
    width: 220px;
    max-width: 220px;
    max-height: none;
  }
}

.marketplace-card__image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(160deg, #e8eaed 0%, #dadce0 100%);
  overflow: hidden;
}

@media (min-width: 768px) {
  .marketplace-card__image-wrap {
    min-height: 100%;
    border-radius: 14px 0 0 14px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  }
}

.marketplace-card:hover .marketplace-card__image-wrap .marketplace-card__image {
  transform: scale(1.03);
}

.marketplace-card__image {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

@media (min-width: 768px) {
  .marketplace-card__image {
    min-height: 240px;
    border-radius: 14px 0 0 14px;
  }
}

.marketplace-card__image--placeholder {
  background: linear-gradient(160deg, #e8eaed 0%, #dadce0 100%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 24 24' fill='%239aa0a6' opacity='0.6'%3E%3Cpath d='M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 56px;
}

.marketplace-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand-blue);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(26, 95, 180, 0.4);
}

.marketplace-card__badge--sport {
  background: var(--brand-blue);
}

.marketplace-card__badge--camp {
  background: #2e7d32;
}

.marketplace-card--camp .marketplace-card__badge--sport {
  top: 2.75rem;
}

.marketplace-card__image-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.65rem 0.85rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.02em;
}

/* Card: content column – spacing and hierarchy */
.marketplace-card__content-col {
  flex: 1 1 auto;
  min-width: 0;
}

@media (min-width: 768px) {
  .marketplace-card__content-col {
    flex: 1 1 0%;
  }
}

.marketplace-card__body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  height: 100%;
}

.marketplace-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 0.15rem 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .marketplace-card__title {
    font-size: 1.25rem;
  }
}

.marketplace-card__title a {
  color: #202124;
  text-decoration: none;
  transition: color 0.2s ease;
}

.marketplace-card__title a:hover {
  color: var(--brand-blue);
}

.marketplace-card__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.15rem;
}

.marketplace-card__rating {
  color: #b45309;
  font-weight: 600;
}

.marketplace-card__badge-inline {
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: #e8eaed;
  color: #5f6368;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.marketplace-card__kind {
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

.marketplace-card__details {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.marketplace-card__details li {
  margin-bottom: 0.2rem;
}

.marketplace-card__details li:last-child {
  margin-bottom: 0;
}

/* Coach name and company under title – no avatar */
.marketplace-card__coach-line {
  font-size: 0.875rem;
  line-height: 1.3;
}

.marketplace-card__coach-name {
  font-weight: 600;
  color: #5f6368;
  text-decoration: none;
  transition: color 0.2s ease;
}

.marketplace-card__coach-name:hover {
  color: var(--brand-blue);
}

.marketplace-card__coach-business {
  font-size: 0.8125rem;
  line-height: 1.3;
}

/* Availability block – in content column where coach block was */
.marketplace-card__availability {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--card-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.marketplace-card__availability .marketplace-card__cta-btn {
  margin-left: auto;
}

@media (max-width: 575px) {
  .marketplace-card__availability .marketplace-card__cta-btn {
    margin-left: 0;
    width: 100%;
  }
}

.marketplace-card__spots {
  font-size: 0.875rem;
  margin: 0;
  color: var(--success-green);
  font-weight: 600;
}

.marketplace-card__spots-num {
  font-weight: 800;
  font-size: 1rem;
}

.marketplace-card__price-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.marketplace-card__price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--success-green);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.marketplace-card__price-unit {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.marketplace-card__cta-btn {
  margin-top: 0.75rem;
  padding: 0.65rem 1.1rem;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 10px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.marketplace-card__cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(26, 95, 180, 0.4);
  color: #fff;
}

.marketplace-card__cta-btn:active {
  transform: translateY(0);
}

@media (max-width: 767px) {
  .marketplace-card__cta-btn {
    margin-top: 0.85rem;
    min-height: 48px;
    width: 100%;
  }
}

/* Mobile: stack order image → content → CTA */
@media (max-width: 767px) {
  .marketplace-card .row {
    flex-direction: column;
    min-height: 0;
  }

  .marketplace-card:hover {
    transform: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }

  .marketplace-card__image-col {
    max-height: 200px;
  }

  .marketplace-card__image-wrap {
    border-radius: 14px 14px 0 0;
    min-height: 200px;
  }

  .marketplace-card__image,
  .marketplace-card__image--placeholder {
    border-radius: 14px 14px 0 0;
    min-height: 200px;
  }

  .marketplace-card:hover .marketplace-card__image-wrap .marketplace-card__image {
    transform: none;
  }

  .marketplace-card__body {
    padding: 1rem 1.25rem;
  }

  .marketplace-card__title {
    font-size: 1.125rem;
  }

  .marketplace-card__availability {
    padding-top: 0.65rem;
  }
}

.marketplace-empty .btn {
  border-radius: 10px;
}

/* —— Inbox (coach ↔ parent) —— */
.messaging-inbox-btn {
  color: var(--csq-text, #1a1a2e) !important;
  border-radius: 10px;
}
.messaging-inbox-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}
.messaging-inbox-btn__icon {
  display: block;
  vertical-align: middle;
}
.messaging-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 4px;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.125rem;
  text-align: center;
  color: #fff;
  background: #dc3545;
  border-radius: 999px;
  border: 2px solid #fff;
}
.messaging-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.messaging-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.messaging-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  width: min(100%, 420px);
  max-width: 100%;
  height: 100%;
  max-height: 100dvh;
  background: #fff;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.messaging-panel.is-open {
  transform: translateX(0);
}
.messaging-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}
.messaging-panel__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}
.messaging-panel__body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  overflow: hidden;
}
.messaging-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6c757d;
  margin: 0.85rem 0 0.4rem;
  padding: 0 0.15rem;
}
.messaging-section-label:first-child {
  margin-top: 0;
}
.messaging-sender-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.2rem;
}
.messaging-conv-list {
  overflow-y: auto;
  flex: 1;
}
.messaging-conv-item--program .messaging-conv-item__name::before {
  content: "📋 ";
  font-size: 0.85em;
}
.impersonation-banner {
  background: linear-gradient(90deg, #6f42c1 0%, #5a32a3 100%);
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.impersonation-banner__inner {
  max-width: var(--layout-content-max, 1320px);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.impersonation-banner .btn-light {
  font-weight: 600;
}
.admin-user-search-results {
  max-height: 320px;
  overflow-y: auto;
}

.messaging-conv-list .messaging-conv-item--program + .messaging-conv-item--direct,
.messaging-conv-list .messaging-section-label + .messaging-conv-item--direct {
  margin-top: 0.25rem;
}
.messaging-conv-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.35rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: #fafafa;
  cursor: pointer;
  transition: background 0.15s;
}
.messaging-conv-item:hover {
  background: #f0f0f0;
}
.messaging-conv-item__name {
  font-weight: 600;
  font-size: 0.9rem;
}
.messaging-conv-item__preview {
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.messaging-conv-item__preview a {
  color: #0d6efd;
  font-weight: 600;
  text-decoration: underline;
}
.messaging-conv-item__preview a:hover {
  color: #0a58ca;
}
.messaging-conv-item__badge {
  float: right;
  margin-left: 0.5rem;
  min-width: 1.25rem;
  height: 1.25rem;
  line-height: 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
  background: #0d6efd;
  border-radius: 999px;
}
.messaging-thread-pane {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.messaging-thread-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}
.messaging-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  min-height: 180px;
}
.messaging-bubble {
  max-width: 88%;
  padding: 0.45rem 0.65rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
  word-break: break-word;
}
.messaging-bubble--mine {
  align-self: flex-end;
  background: #0d6efd;
  color: #fff;
  border-bottom-right-radius: 4px;
}
.messaging-bubble--them {
  align-self: flex-start;
  background: #e9ecef;
  color: #212529;
  border-bottom-left-radius: 4px;
}
.messaging-bubble__time {
  display: block;
  font-size: 0.65rem;
  opacity: 0.85;
  margin-top: 0.25rem;
}
/* Secondary line in structured HTML bodies — must stay readable on blue (mine) and grey (them) bubbles. */
.messaging-bubble--mine .messaging-body-note {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88em;
}
.messaging-bubble--them .messaging-body-note {
  color: #5c636a;
  font-size: 0.88em;
}
.messaging-bubble--them .messaging-inline-link {
  color: #0d6efd;
  font-weight: 600;
  text-decoration: underline;
}
.messaging-bubble--them .messaging-inline-link:hover {
  color: #0a58ca;
}
.messaging-bubble--mine .messaging-inline-link {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
}
.messaging-bubble--mine .messaging-inline-link:hover {
  color: #e7f1ff;
}

/* ========== Parent session picker (FullCalendar list view — day headings, sessions stacked by time) ========== */
.parent-session-week-cal .fc-list {
  border: 1px solid var(--card-border, #e8eaed);
  border-radius: 8px;
  overflow: hidden;
}
.parent-session-week-cal .fc-list-day-cushion {
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-grey, #f5f6f8);
  color: #202124;
}
.parent-session-week-cal .fc-list-event {
  cursor: pointer;
}
.parent-session-week-cal .fc-list-event:hover {
  background: rgba(26, 95, 180, 0.06);
}
.parent-session-week-cal .fc-list-event-time {
  font-weight: 600;
  font-size: 0.85rem;
  color: #202124;
  width: 6.5rem;
  flex-shrink: 0;
}
.parent-session-week-cal .fc-list-event-graphic {
  display: none;
}
.parent-session-week-cal .fc-list-event-title {
  padding: 0;
}
.parent-session-week-cal .fc-sess-pick__list-title {
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.25;
  color: #202124;
}
.parent-session-week-cal .fc-sess-pick__list-meta {
  font-size: 0.8rem;
  line-height: 1.3;
  color: var(--text-muted, #5f6368);
  margin-top: 0.2rem;
}
.parent-session-week-cal .fc-list-empty {
  padding: 1.5rem;
  text-align: center;
  color: var(--text-muted, #5f6368);
}

/* ========== Parent week view (7-column grid) ========== */
.parent-week-view__nav {
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.parent-week-view__grid {
  display: grid;
  grid-template-columns: 0 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 0 0.75rem;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
@media (min-width: 768px) {
  .parent-week-view__grid {
    grid-template-columns: 60px 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  }
}
.parent-week-view__headers,
.parent-week-view__body {
  display: contents;
}
.parent-week-view__spacer {
  grid-column: 1;
  min-height: 1px;
}
.parent-week-view__day-col {
  grid-column: span 1;
  padding: 0.75rem 0.5rem;
  text-align: center;
  border-bottom: 1px solid var(--card-border);
  background: var(--bg-grey);
}
.parent-week-view__day-month {
  font-size: 0.875rem;
  font-weight: 600;
  color: #202124;
}
.parent-week-view__day-name {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-top: 0.15rem;
}
.parent-week-view__day-name--weekend {
  color: #c5221f;
}
.parent-week-view__day-slots {
  min-height: 120px;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-bottom: 1px solid var(--card-border);
}
.parent-week-view__slot {
  display: block;
  width: 100%;
  padding: 0.5rem 0.6rem;
  font-size: 0.8125rem;
  line-height: 1.25;
  font-weight: 500;
  text-align: center;
  white-space: pre-line;
  background: #e3f2fd;
  border: 1px solid #90caf9;
  border-radius: 8px;
  color: #0d47a1;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.parent-week-view__slot:hover {
  background: #bbdefb;
  border-color: #42a5f5;
  color: #0d47a1;
}
.parent-week-view__slot--booked {
  background: #f1f3f4;
  border-color: #dadce0;
  color: var(--text-muted);
  cursor: default;
  font-weight: 400;
}
.parent-week-view__slot--booked:hover {
  background: #f1f3f4;
  border-color: #dadce0;
  color: var(--text-muted);
}
/* Coach Bookings week: booked cells open detail modal */
.coach-bookings-week .parent-week-view__slot--booked {
  cursor: pointer;
}
.coach-bookings-week .parent-week-view__slot--booked:hover {
  background: #e8eaed;
  border-color: #bdc1c6;
}
.parent-week-view__empty {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}
.parent-week-view__legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e3f2fd;
  border: 1px solid #90caf9;
  margin-right: 0.35rem;
  vertical-align: middle;
}
.parent-week-view__legend-dot--booked {
  background: #f1f3f4;
  border-color: #dadce0;
}
.parent-week-view__legend-dot--pending {
  background: #fff8e1;
  border-color: #ffca28;
}

/* Coach week booking modal (Bookings page) */
.coach-week-booking-modal .modal-content.coach-week-booking-modal__content {
  border-radius: 12px;
  overflow: hidden;
}
.coach-week-booking-modal__header {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--card-border, #e8eaed) !important;
}
.coach-week-booking-modal__meta {
  font-size: 0.8125rem;
}
.coach-week-booking-modal__section-label {
  letter-spacing: 0.08em;
  font-size: 0.6875rem;
}
.coach-booking-card {
  background: var(--bs-body-bg, #fff);
  border: 1px solid var(--card-border, #e8eaed);
  border-radius: 10px;
  padding: 1rem 1.125rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.coach-booking-card:last-child {
  margin-bottom: 0;
}
.coach-booking-card__photo {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f3f4;
  border: 1px solid #e8eaed;
}
.coach-booking-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.coach-booking-card__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #e3f2fd 0%, #bbdefb 100%);
  border-color: #90caf9;
}
.coach-booking-card__initials {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1565c0;
  letter-spacing: -0.02em;
}
.coach-booking-card__player-name {
  font-size: 1.05rem;
  color: var(--bs-body-color, #202124);
}
.coach-booking-card__badge {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.35em 0.65em;
}
.coach-booking-card__badge--pending {
  background: #fff3cd !important;
  color: #664d03 !important;
  border: 1px solid #ffc107;
}
.coach-booking-card__badge--confirmed {
  background: #d1e7dd !important;
  color: #0f5132 !important;
  border: 1px solid #badbcc;
}
.coach-booking-card__parent-line {
  line-height: 1.4;
}
.coach-booking-card__session-line {
  color: #5f6368;
  padding-top: 0.25rem;
  border-top: 1px dashed #e8eaed;
}
.coach-booking-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e8eaed;
}
@media (max-width: 575.98px) {
  .coach-booking-card__actions {
    grid-template-columns: 1fr;
  }
}
.coach-booking-card__approve-form .btn,
.coach-booking-card__deny-form .btn {
  font-weight: 600;
}
.coach-booking-card__deny-form textarea {
  resize: vertical;
  min-height: 3.5rem;
}
/* Coach bookings: slot has at least one pending (approval) booking */
.coach-bookings-week .parent-week-view__slot--pending {
  background: #fff8e1;
  border-color: #ffca28;
  color: #5d4037;
}
.coach-bookings-week .parent-week-view__slot--pending.parent-week-view__slot--booked:hover {
  background: #ffecb3;
  border-color: #ffa000;
  color: #4e342e;
}
.coach-bookings-week .parent-week-view__slot--pending:not(.parent-week-view__slot--booked) {
  cursor: pointer;
  font-weight: 500;
}
.coach-bookings-week .parent-week-view__slot--pending:not(.parent-week-view__slot--booked):hover {
  background: #ffecb3;
  border-color: #ffa000;
  color: #4e342e;
}

/* Coach Bookings — pending approval list (above week grid) */
.coach-pending-slot-requests__actions {
  max-width: 19rem;
}

/* ========== App modal design system (Bootstrap modals, parent + coach) ========== */
:root {
  --app-modal-radius: 14px;
  --app-modal-radius-sm: 12px;
  --app-modal-shadow: 0 20px 56px rgba(32, 33, 36, 0.14), 0 8px 24px rgba(32, 33, 36, 0.08);
  --app-modal-header-bg: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
}

/* Lightbox / transparent modals — opt out of chrome */
.modal.modal--bare .modal-content,
.modal.modal--bare .modal-content.bg-transparent {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}
.modal.modal--bare .modal-header,
.modal.modal--bare .modal-footer {
  display: none !important;
}
.modal.modal--bare .modal-body {
  padding: 0 !important;
}

.modal:not(.modal--bare) .modal-content {
  border: 1px solid var(--card-border, #e8eaed);
  border-radius: var(--app-modal-radius);
  box-shadow: var(--app-modal-shadow);
  overflow: hidden;
}

.modal:not(.modal--bare) .modal-header {
  padding: 1.125rem 1.5rem;
  border-bottom: 1px solid var(--card-border, #e8eaed);
  background: var(--app-modal-header-bg);
  align-items: flex-start;
  gap: 0.75rem;
}

.modal:not(.modal--bare) .modal-header .modal-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: #202124;
  letter-spacing: -0.02em;
}

.modal:not(.modal--bare) .btn-close {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  opacity: 0.7;
  background-color: #f1f3f4;
  padding: 0;
  margin: -0.125rem -0.125rem 0 auto;
  flex-shrink: 0;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}
.modal:not(.modal--bare) .btn-close:hover {
  opacity: 1;
  background-color: #e8eaed;
}

.modal:not(.modal--bare) .modal-body {
  padding: 1.5rem;
  background: #fff;
}

#modalAdd .modal-dialog.coach-cal-add-modal {
  max-width: min(1180px, calc(100vw - 2rem));
}

@media (max-width: 575.98px) {
  .modal:not(.modal--bare) .modal-body {
    padding: 1.25rem 1rem;
  }
  .modal:not(.modal--bare) .modal-header {
    padding: 1rem 1rem;
  }
  .modal:not(.modal--bare) .modal-footer {
    padding: 0.875rem 1rem 1rem !important;
  }
}

/* Form field labels: small caps hierarchy (not checkboxes / table headers) */
.modal:not(.modal--bare) .modal-body label.form-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #80868b;
  margin-bottom: 0.35rem;
}

.modal:not(.modal--bare) .modal-body .form-check-label {
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  color: #3c4043;
}

.modal:not(.modal--bare) .modal-body .form-text {
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.75rem;
}

.modal:not(.modal--bare) .modal-footer {
  padding: 1rem 1.5rem 1.25rem;
  border-top: 1px solid var(--card-border, #e8eaed);
  background: #fafbfc;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.modal:not(.modal--bare) .modal-footer .btn-primary {
  font-weight: 600;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  box-shadow: 0 2px 10px rgba(13, 110, 253, 0.22);
}

.modal:not(.modal--bare) .modal-footer .btn-danger,
.modal:not(.modal--bare) .modal-footer .btn-outline-danger {
  font-weight: 600;
}

/* Primary pushed right of secondary: default Bootstrap order is fine; emphasize spacing */
.modal:not(.modal--bare) .modal-footer .btn-secondary,
.modal:not(.modal--bare) .modal-footer .btn-outline-secondary {
  font-weight: 500;
}

/* Header layout: title + meta */
.app-modal-hdr-main {
  flex: 1;
  min-width: 0;
}

.app-modal-meta,
.app-modal-meta.app-modal-meta--header {
  font-size: 0.8125rem;
  color: var(--text-muted, #5f6368);
  line-height: 1.45;
}

.app-modal-title-icon {
  font-size: 1.15rem;
  color: var(--brand-blue, #1a5fb4);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Section cards inside modal body */
.app-modal-card {
  background: #fff;
  border: 1px solid var(--card-border, #e8eaed);
  border-radius: var(--app-modal-radius-sm);
  padding: 1rem 1.125rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.app-modal-card:last-child {
  margin-bottom: 0;
}

.app-location-card {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
  border: 1px solid #dbe6f3;
  border-radius: 14px;
  padding: 0.95rem 1rem;
  box-shadow: 0 1px 2px rgba(13, 40, 71, 0.05);
}

.app-location-card--modal {
  padding: 0.9rem 1rem;
}

.app-location-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: #dce8f6;
  color: #0d2847;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.app-location-card__body {
  min-width: 0;
  flex: 1;
}

.app-location-card__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.2rem;
}

.app-location-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #202124;
  line-height: 1.35;
}

.app-location-card__detail {
  margin-top: 0.2rem;
  font-size: 0.875rem;
  color: #5f6368;
  line-height: 1.45;
  white-space: normal;
}

.app-location-card__detail.d-none {
  display: none !important;
}

.app-location-card__action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.55rem;
  color: #0d4a8f;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.app-location-card__action:hover {
  text-decoration: underline;
}

.app-modal-section-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #80868b;
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e8eaed;
}

.app-modal-type-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35em 0.65em;
  vertical-align: middle;
}

/* Definition list: label/value hierarchy inside modals */
.modal:not(.modal--bare) .app-modal-dl dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #80868b;
  margin-bottom: 0.2rem;
}
.modal:not(.modal--bare) .app-modal-dl dd {
  font-size: 1rem;
  font-weight: 600;
  color: #202124;
  margin-bottom: 0.85rem;
}
.modal:not(.modal--bare) .app-modal-dl dd:last-of-type {
  margin-bottom: 0;
}

.modal:not(.modal--bare) .app-modal-value-highlight {
  font-size: 1.05rem;
  font-weight: 600;
  color: #202124;
  line-height: 1.35;
}

.app-modal-kv-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #80868b;
  margin-bottom: 0.2rem;
}

.app-choice-card-list {
  display: grid;
  gap: 0.625rem;
}

.app-choice-card {
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid #d9dee5;
  border-radius: 12px;
  padding: 0.875rem 0.95rem;
  color: #202124;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.app-choice-card:hover:not(:disabled) {
  border-color: #9db7da;
  box-shadow: 0 0 0 3px rgba(13, 40, 71, 0.08);
}

.app-choice-card:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.app-choice-card--selected {
  border-color: #0d2847;
  background: #f3f8ff;
  box-shadow: 0 0 0 3px rgba(13, 40, 71, 0.16);
}

.app-choice-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.app-choice-card__title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.app-choice-card__badge {
  display: none;
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0d2847;
  background: #dce8f6;
  border-radius: 999px;
  padding: 0.3rem 0.55rem;
}

.app-choice-card--selected .app-choice-card__badge {
  display: inline-flex;
}

.app-choice-card__subtitle {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #5f6368;
  line-height: 1.4;
}

/* Coach week booking modal: align with design system */
.coach-week-booking-modal:not(.modal--bare) .modal-content.coach-week-booking-modal__content {
  border-radius: var(--app-modal-radius);
  border: 1px solid var(--card-border, #e8eaed) !important;
  box-shadow: var(--app-modal-shadow) !important;
}

.coach-week-booking-modal .modal-header.coach-week-booking-modal__header {
  border-bottom: 1px solid var(--card-border, #e8eaed) !important;
  padding-bottom: 1rem !important;
  background: var(--app-modal-header-bg);
}

.coach-week-booking-modal .modal-body.pt-2 {
  padding-top: 1.25rem !important;
}

/* Event detail HTML inside coach calendar modal */
.modal:not(.modal--bare) .coach-cal-event-detail .text-uppercase {
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  color: #80868b !important;
}

/* ========== Coach onboarding wizard (minimal chrome; no portal nav) ========== */
.coach-onboarding-shell__header-inner {
  max-width: var(--layout-content-max, 1320px);
  margin-left: auto;
  margin-right: auto;
  padding: 0.65rem var(--layout-gutter-x, 1rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.coach-onboarding-shell__brand img {
  display: block;
}
.coach-onboarding-shell__main {
  background: linear-gradient(165deg, #eef2f7 0%, #f5f6f8 45%, #fafbfc 100%);
}
.coach-onboarding-shell__inner {
  max-width: var(--layout-content-max, 1320px);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 1.25rem var(--layout-gutter-x, 1rem) 2rem;
  box-sizing: border-box;
}
.coach-onboarding-shell__footer-inner {
  max-width: var(--layout-content-max, 1320px);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--layout-gutter-x, 1rem);
  padding-right: var(--layout-gutter-x, 1rem);
}

/* ========== Coach acquisition landing (/CoachOnboarding) ========== */
.coach-landing {
  margin-top: -1.25rem;
}

.coach-landing__hero {
  background: linear-gradient(165deg, #e8f1fb 0%, #eef2f7 38%, #f5f6f8 72%, #fff 100%);
  border-bottom: 1px solid var(--card-border);
  padding: 2.25rem 0 2.75rem;
}

@media (min-width: 768px) {
  .coach-landing__hero {
    padding: 3rem 0 3.5rem;
  }
}

.coach-landing__hero-inner {
  max-width: var(--layout-content-max, 1320px);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--layout-gutter-x, 1rem);
  padding-right: var(--layout-gutter-x, 1rem);
  text-align: center;
}

.coach-landing__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin: 0 0 0.75rem;
}

.coach-landing__title {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  color: #202124;
  margin: 0 auto 1rem;
  max-width: 22ch;
}

@media (min-width: 768px) {
  .coach-landing__title {
    max-width: 20ch;
  }
}

.coach-landing__lead {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 auto 1.75rem;
  max-width: 38rem;
}

@media (min-width: 768px) {
  .coach-landing__lead {
    font-size: 1.125rem;
  }
}

.coach-landing__hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.coach-landing__pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #202124;
  text-align: center;
  margin: 0.5rem 0 1.25rem;
}

@media (min-width: 768px) {
  .coach-landing__pricing-title {
    font-size: 1.75rem;
    margin-top: 1rem;
  }
}

.coach-landing__pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto 1.5rem;
}

@media (min-width: 768px) {
  .coach-landing__pricing-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.coach-landing__plan {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.5rem 1.25rem 1.65rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 10px rgba(13, 40, 71, 0.06);
}

.coach-landing__plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #202124;
  margin-bottom: 1rem;
}

.coach-landing__plan-cta {
  min-width: 14rem;
  font-weight: 600;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(26, 95, 180, 0.18);
}

.coach-landing__plan-price {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.coach-landing__price-strike {
  text-decoration: line-through;
  color: var(--text-muted);
  margin-right: 0.4rem;
}

.coach-landing__price-deal {
  font-weight: 600;
  color: #202124;
}

.coach-landing__plan-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0;
  line-height: 1.4;
}

.coach-landing__plan-note--muted {
  color: var(--text-muted);
}

.coach-landing__plan-tiers {
  margin: 0.5rem 0 0;
  padding: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #2d3a4a;
}

.coach-landing__plan-tiers li {
  padding: 0.15rem 0;
}

.coach-landing__btn-primary {
  min-width: 12rem;
  font-weight: 600;
  padding-left: 1.35rem;
  padding-right: 1.35rem;
  box-shadow: 0 2px 8px rgba(26, 95, 180, 0.2);
}

.coach-landing__btn-secondary {
  min-width: 12rem;
  font-weight: 600;
  border-width: 2px;
  background: #fff;
}

.coach-landing__hero-meta {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
}

.coach-landing__text-link {
  color: var(--brand-blue);
  font-weight: 500;
  text-decoration: none;
}

.coach-landing__text-link:hover {
  color: var(--brand-blue-dark);
  text-decoration: underline;
}

.coach-landing__meta-sep {
  margin: 0 0.35rem;
  color: #dadce0;
}

.coach-landing__container {
  max-width: var(--layout-content-max, 1320px);
  margin-left: auto;
  margin-right: auto;
  padding: 2.5rem var(--layout-gutter-x, 1rem) 2.75rem;
}

@media (min-width: 768px) {
  .coach-landing__container {
    padding-top: 3.25rem;
    padding-bottom: 3.5rem;
  }
}

.coach-landing__section--alt {
  background: var(--bg-grey);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.coach-landing__section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #202124;
  text-align: center;
  margin: 0 auto 0.65rem;
  max-width: 22rem;
}

@media (min-width: 768px) {
  .coach-landing__section-title {
    font-size: 1.85rem;
    max-width: none;
  }
}

.coach-landing__section-intro {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
  text-align: center;
  margin: 0 auto 2rem;
  max-width: 36rem;
}

.coach-landing__section-intro--narrow {
  max-width: 40rem;
}

.coach-landing__feature-grid {
  margin-top: 0.25rem;
}

.coach-landing__feature {
  height: 100%;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.35rem 1.25rem 1.4rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.coach-landing__feature:hover {
  border-color: #d2e3fc;
  box-shadow: 0 8px 24px rgba(26, 95, 180, 0.08);
}

.coach-landing__feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  background: linear-gradient(145deg, #e8f1fb, #f0f4fa);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.coach-landing__feature-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #202124;
  margin: 0 0 0.45rem;
  line-height: 1.3;
}

.coach-landing__feature-text {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

.coach-landing__steps {
  max-width: 44rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.coach-landing__step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.15rem 1.2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.coach-landing__step-num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coach-landing__step-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: #202124;
}

.coach-landing__step-text {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

.coach-landing__path-row {
  margin-top: 0.5rem;
}

.coach-landing__path-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.75rem 1.5rem 1.6rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.coach-landing__path-card--featured {
  border-color: rgba(26, 95, 180, 0.35);
  box-shadow: 0 4px 20px rgba(26, 95, 180, 0.1);
  position: relative;
}

.coach-landing__path-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-blue);
  background: #e8f1fb;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.coach-landing__path-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: #202124;
}

.coach-landing__path-card-lead {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.coach-landing__path-list {
  margin: 0 0 1.35rem;
  padding-left: 1.15rem;
  color: #3c4043;
  font-size: 0.9375rem;
  line-height: 1.55;
  flex: 1;
}

.coach-landing__path-list li {
  margin-bottom: 0.4rem;
}

.coach-landing__section--cta {
  background: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 55%, #2b6fc9 100%);
  color: #fff;
  border: none;
}

.coach-landing__cta-inner {
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

.coach-landing__cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: #fff;
}

@media (min-width: 768px) {
  .coach-landing__cta-title {
    font-size: 1.85rem;
  }
}

.coach-landing__cta-text {
  font-size: 1.0625rem;
  line-height: 1.5;
  opacity: 0.95;
  margin: 0 auto 1.5rem;
  max-width: 28rem;
}

.coach-landing__section--cta .coach-landing__hero-cta {
  margin-bottom: 1.5rem;
}

.coach-landing__section--cta .btn-light {
  font-weight: 600;
  color: var(--brand-blue-dark) !important;
  border: none;
}

.coach-landing__section--cta .btn-outline-light {
  font-weight: 600;
  border-width: 2px;
}

.coach-landing__section--cta .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff !important;
}

.coach-landing__cta-foot {
  opacity: 0.9;
}

.coach-landing__cta-foot a {
  opacity: 1;
}

/* Coach / facility landing — extended marketing blocks */
.coach-landing__urgency {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #3c4043;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(26, 95, 180, 0.18);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin: 0 0 1.25rem;
  max-width: 40rem;
}

.coach-landing__urgency--hero {
  margin-left: auto;
  margin-right: auto;
}

.coach-landing__hero--compact .coach-landing__title {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
}

.coach-landing__inline-link {
  font-weight: 600;
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.coach-landing__inline-link:hover {
  color: var(--brand-blue-dark);
}

.coach-landing__strip {
  background: linear-gradient(90deg, #f0f6fd 0%, #e8f1fb 50%, #f0f6fd 100%);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 1rem 0;
}

.coach-landing__strip-inner {
  display: flex;
  justify-content: center;
  text-align: center;
}

.coach-landing__stat-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 1rem;
  color: #202124;
  font-weight: 600;
}

.coach-landing__stat-pill-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-blue);
  letter-spacing: -0.02em;
}

.coach-landing__outcomes-grid {
  margin-top: 0.5rem;
}

.coach-landing__outcome-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.coach-landing__outcome-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #202124;
}

.coach-landing__outcome-text {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

.coach-landing__split-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .coach-landing__split-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.coach-landing__split-col {
  border-radius: 12px;
  padding: 1.35rem 1.35rem 1.25rem;
  border: 1px solid var(--card-border);
}

.coach-landing__split-col--before {
  background: #fafafa;
}

.coach-landing__split-col--after {
  background: linear-gradient(160deg, #f4f9ff 0%, #fff 55%);
  border-color: rgba(26, 95, 180, 0.22);
}

.coach-landing__split-heading {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #202124;
}

.coach-landing__split-list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.coach-landing__split-list li {
  margin-bottom: 0.45rem;
}

.coach-landing__visual-strip {
  margin-top: 0.35rem;
}

.coach-landing__visual-card {
  height: 100%;
  background: #fff;
  border: 1px dashed rgba(26, 95, 180, 0.35);
  border-radius: 12px;
  padding: 1.35rem 1.2rem 1.3rem;
  text-align: center;
}

.coach-landing__visual-card-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  border-radius: 12px;
  background: linear-gradient(145deg, #e8f1fb, #f0f4fa);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.coach-landing__visual-card-label {
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 0.4rem;
  color: #202124;
}

.coach-landing__visual-card-desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

.coach-landing__pain-list {
  max-width: 40rem;
  margin: 0 auto 1rem;
  padding-left: 1.2rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #3c4043;
}

.coach-landing__pain-list li {
  margin-bottom: 0.5rem;
}

.coach-landing__testimonial {
  height: 100%;
  margin: 0;
  padding: 1.25rem 1.2rem;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  border-left: 4px solid var(--brand-blue);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.coach-landing__testimonial p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #202124;
  margin: 0 0 0.75rem;
  font-style: italic;
}

.coach-landing__testimonial footer {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.coach-landing__pricing-grid--three {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .coach-landing__pricing-grid--three {
    grid-template-columns: repeat(3, 1fr);
  }
}

.coach-landing__plan--flat .coach-landing__plan-price--solo {
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
}

.coach-landing__plan--featured-tier {
  border-color: rgba(26, 95, 180, 0.35);
  box-shadow: 0 4px 18px rgba(26, 95, 180, 0.1);
  position: relative;
}

.coach-landing__checklist {
  max-width: 40rem;
  margin: 0 auto 0.5rem;
  padding-left: 1.2rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #3c4043;
}

.coach-landing__checklist li {
  margin-bottom: 0.45rem;
}

/* Facilities hero: light background — use outline-primary, not outline-light (invisible on pale gradients) */
.coach-landing__hero-btn-secondary {
  font-weight: 600;
  border-width: 2px;
}

.coach-landing__pricing-grid--feature-cards {
  align-items: stretch;
  gap: 1.25rem;
  max-width: 72rem;
}

@media (min-width: 992px) {
  .coach-landing__pricing-grid--feature-cards {
    gap: 1.35rem;
  }
}

.coach-landing__plan--tier-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
  padding: 1.5rem 1.35rem 1.4rem;
}

.coach-landing__plan--tier-card .coach-landing__plan-name {
  margin-bottom: 0.35rem;
}

.coach-landing__plan-tagline {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.coach-landing__price-period {
  font-size: 0.55em;
  font-weight: 600;
  opacity: 0.75;
  margin-left: 0.05em;
}

.coach-landing__plan-ribbon {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue-dark, #154a8c) 0%, var(--brand-blue) 100%);
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  line-height: 1;
}

.coach-landing__plan-features {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  flex: 1 1 auto;
  text-align: left;
}

.coach-landing__plan-features li {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #3c4043;
  margin-bottom: 0.5rem;
}

.coach-landing__plan-features li:last-child {
  margin-bottom: 0;
}

.coach-landing__plan-features .bi {
  flex-shrink: 0;
  margin-top: 0.12rem;
  color: #0f766e;
  font-size: 1rem;
}

.coach-landing__plan--featured-tier .coach-landing__plan-features .bi {
  color: #fff;
}

.coach-landing__plan--featured-tier .coach-landing__plan-features li {
  color: rgba(255, 255, 255, 0.92);
}

.coach-landing__plan--featured-tier .coach-landing__plan-tagline {
  color: rgba(255, 255, 255, 0.85);
}

.coach-landing__plan--featured-tier .coach-landing__plan-name,
.coach-landing__plan--featured-tier .coach-landing__price-deal {
  color: #fff;
}

.coach-landing__plan--featured-tier .coach-landing__plan-price--solo {
  border-color: transparent;
}

/* Featured column: solid brand panel like common pricing tables */
.coach-landing__plan--featured-tier.coach-landing__plan--tier-card {
  background: linear-gradient(165deg, var(--brand-blue-dark, #154a8c) 0%, var(--brand-blue) 55%, #2563c4 100%);
  border-color: transparent;
  color: #fff;
  padding-top: 2.25rem;
}

.coach-landing__plan-footnote {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

.coach-landing__tier-cta-featured {
  color: var(--brand-blue-dark) !important;
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
