/* =================================================================
   DogTrainerCheck — custom styles
   Layered on top of Bootstrap 5.3 to recreate the brand look:
   chunky black headings, rounded cards, blue/green/orange palette.
   Bootstrap handles the grid + base resets; this file handles theme.
   ================================================================= */

/* -----------------------------------------------------------------
   1. Design tokens (colours, radii) as CSS variables
   Colours mirror the original Tailwind palette (slate/blue/green/orange).
   ----------------------------------------------------------------- */
:root {
  /* Blues — primary brand colour */
  --blue: #1d4ed8; /* buttons, headings accent      */
  --blue-dark: #1e40af; /* hover / gradient end          */
  --blue-soft: #dbeafe; /* light chip background         */
  --blue-faint: #eff6ff; /* very light tint               */

  /* Greens — "verified / trust" accent */
  --green: #22c55e;
  --green-dark: #16a34a;
  --green-soft: #dcfce7;
  --green-ink: #15803d; /* readable green text on tint   */

  /* Orange — secondary call-to-action */
  --orange: #f97316;
  --orange-dark: #ea580c;

  /* Neutral slate scale (light -> dark) */
  --s-50: #f8fafc;
  --s-100: #f1f5f9; /* page background               */
  --s-200: #e2e8f0; /* borders                       */
  --s-300: #cbd5e1;
  --s-400: #94a3b8;
  --s-500: #64748b;
  --s-600: #475569;
  --s-700: #334155;
  --s-800: #1e293b; /* body text                     */
  --s-900: #0f172a; /* headings                      */

  --star: #eab308; /* review stars                  */

  /* Corner radii (match Tailwind rounded-xl / 2xl / 3xl) */
  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;
}

/* -----------------------------------------------------------------
   2. Global base
   ----------------------------------------------------------------- */
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--s-100);
  color: var(--s-800);
}

/* Headings are heavy + tight, like the original "font-black" look */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 900;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
}

/* Smooth in-page scrolling, with offset so the sticky header
   never covers a section heading when jumped to. */
html {
  scroll-behavior: smooth;
}
[id] {
  scroll-margin-top: 90px;
}

/* Reusable weight helper (Bootstrap only ships up to .fw-bold/700) */
.fw-black {
  font-weight: 900 !important;
}

/* -----------------------------------------------------------------
   3. Brand buttons
   Built on Bootstrap's .btn using its CSS-variable API, so they keep
   correct focus rings, padding and disabled states for free.
   ----------------------------------------------------------------- */
.btn-blue,
.btn-green,
.btn-orange {
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-color: #fff;
  --bs-btn-font-weight: 800;
  --bs-btn-border-radius: var(--r-md);
}
.btn-blue {
  --bs-btn-bg: var(--blue);
  --bs-btn-border-color: var(--blue);
  --bs-btn-hover-bg: var(--blue-dark);
  --bs-btn-hover-border-color: var(--blue-dark);
  --bs-btn-active-bg: var(--blue-dark);
  --bs-btn-active-border-color: var(--blue-dark);
}
.btn-green {
  --bs-btn-bg: var(--green);
  --bs-btn-border-color: var(--green);
  --bs-btn-hover-bg: var(--green-dark);
  --bs-btn-hover-border-color: var(--green-dark);
  --bs-btn-active-bg: var(--green-dark);
  --bs-btn-active-border-color: var(--green-dark);
}
.btn-orange {
  --bs-btn-bg: var(--orange);
  --bs-btn-border-color: var(--orange);
  --bs-btn-hover-bg: var(--orange-dark);
  --bs-btn-hover-border-color: var(--orange-dark);
  --bs-btn-active-bg: var(--orange-dark);
  --bs-btn-active-border-color: var(--orange-dark);
}
/* White button used on the dark blue CTA band */
.btn-white {
  --bs-btn-color: var(--blue);
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-bg: var(--s-100);
  --bs-btn-hover-border-color: var(--s-100);
  --bs-btn-font-weight: 800;
  --bs-btn-border-radius: var(--r-md);
}

/* -----------------------------------------------------------------
   4. Small reusable pieces (pills, chips, stars)
   ----------------------------------------------------------------- */
/* Rounded "pill" used for badges and feature tags */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  line-height: 1;
}
.pill-green {
  background: var(--green-soft);
  color: var(--green-ink);
}
.pill-blue {
  background: var(--blue-soft);
  color: var(--blue);
}

/* Neutral service tag chips on trainer cards */
.tag {
  display: inline-block;
  background: var(--s-100);
  color: var(--s-700);
  border: 1px solid var(--s-200);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
}

.stars {
  color: var(--star);
  letter-spacing: 2px;
}

/* -----------------------------------------------------------------
   5. Site header (sticky)
   ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  border-bottom: 1px solid var(--s-200);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

/* Logo image */
.site-logo {
  display: inline-flex;
  align-items: center;
}
.site-logo__img {
  height: 65px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  display: block;
}

/* Wordmark colours (used in footer) */
.brand-name {
  font-size: 1.6rem;
  line-height: 1;
}
.brand-name .c-blue {
  color: var(--blue);
}
.brand-name .c-orange {
  color: var(--orange);
}
.brand-tagline {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--s-500);
}

/* Top navigation links */
.nav-links {
  gap: 1.5rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--s-700);
}
.nav-links a:hover {
  color: var(--blue);
}

/* -----------------------------------------------------------------
   6. Hero
   ----------------------------------------------------------------- */
.hero {
  background: #fff;
  border-bottom: 1px solid var(--s-200);
}

/* Fluid heading: scales smoothly between mobile and desktop */
.hero-title {
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  line-height: 1.05;
  color: var(--s-900);
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--s-600);
}

/* Search panel */
.search-box {
  background: var(--s-50);
  border: 1px solid var(--s-200);
  border-radius: var(--r-xl);
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.08);
}
.search-box .form-control,
.search-box .form-select {
  border-radius: var(--r-md);
  border-color: var(--s-300);
}

/* Hero image */
.hero-media {
  position: relative;
}
.hero-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--r-xl);
  border: 1px solid var(--s-200);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

/* "Why use DTC?" floating card */
.why-card {
  background: #fff;
  border: 1px solid var(--s-200);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.15);
  padding: 1.5rem;
  margin-top: 1rem; /* stacked under the image on mobile */
}
.why-card .why-title {
  color: var(--blue);
  font-size: 1.05rem;
}
.why-card p {
  font-size: 0.9rem;
  color: var(--s-600);
  margin: 0;
}

/* From large screens up: taller image + overlap the card on it */
@media (min-width: 992px) {
  .hero-img {
    height: 500px;
  }
  .why-card {
    position: absolute;
    left: -1.5rem;
    bottom: -1.5rem;
    max-width: 22rem;
    margin-top: 0;
  }
}

/* -----------------------------------------------------------------
   7. Trust bar
   ----------------------------------------------------------------- */
.trust-bar {
  background: var(--blue);
  color: #fff;
}
.trust-bar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
  font-weight: 800;
  font-size: 0.9rem;
}

/* -----------------------------------------------------------------
   8. "How it works" steps
   ----------------------------------------------------------------- */
.section-how {
  background: var(--s-50);
  border-bottom: 1px solid var(--s-200);
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
}

.step {
  background: #fff;
  border: 1px solid var(--s-200);
  border-radius: var(--r-xl);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  padding: 1.75rem;
  height: 100%;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: var(--r-lg);
  background: var(--blue);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  display: grid;
  place-items: center;
}
.step h3 {
  color: var(--blue);
  font-size: 1.4rem;
}
.step p {
  color: var(--s-600);
  margin: 0;
}

/* -----------------------------------------------------------------
   9. Results + trainer cards
   ----------------------------------------------------------------- */
.section-results {
  background: #fff;
}

.example-box {
  background: var(--s-50);
  border: 1px solid var(--s-200);
  border-radius: var(--r-lg);
  font-size: 0.9rem;
  color: var(--s-600);
  padding: 1rem;
}

/* Card uses CSS grid: [image | details | rating panel] on desktop,
   and a single stacked column on mobile. */
.t-card {
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  border: 1px solid var(--s-200);
  border-radius: var(--r-xl);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}
.t-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.t-body {
  padding: 1.5rem;
}
.t-body h3 {
  font-size: 1.4rem;
  color: var(--s-900);
}
.t-role {
  font-weight: 600;
  color: var(--s-600);
  margin: 0;
}
.t-area {
  font-weight: 600;
  color: var(--s-500);
}
.t-summary {
  color: var(--s-600);
}

/* Right-hand rating / actions panel */
.t-side {
  background: var(--s-50);
  border-top: 1px solid var(--s-200);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.t-rating {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
}
.t-reviews {
  font-size: 0.85rem;
  color: var(--s-500);
}

@media (min-width: 768px) {
  .t-card {
    grid-template-columns: 220px 1fr 260px;
  }
  .t-media img {
    height: 100%;
    min-height: 240px;
  }
  .t-side {
    border-top: 0;
    border-left: 1px solid var(--s-200);
  }
}

/* -----------------------------------------------------------------
   10. "Are you a trainer?" CTA band
   ----------------------------------------------------------------- */
.cta {
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  color: #fff;
}
.cta-title {
  font-size: clamp(2.2rem, 5vw, 3rem);
}
.cta-lead {
  color: var(--blue-soft);
  font-size: 1.15rem;
}
.cta-pill {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

/* -----------------------------------------------------------------
   11. Footer
   ----------------------------------------------------------------- */
.site-footer {
  background: var(--s-900);
  color: var(--s-400);
  font-size: 0.9rem;
}
.site-footer .brand-name {
  font-size: 1.3rem;
}

/* -----------------------------------------------------------------
   12. Search Results page
   ----------------------------------------------------------------- */
.search-refine {
  background: #fff;
  border-bottom: 1px solid var(--s-200);
}

.section-search-results {
  background: var(--s-100);
  min-height: 60vh;
}

/* Filter sidebar panel */
.filter-panel {
  background: #fff;
  border: 1px solid var(--s-200);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: sticky;
  top: 90px;
}

.filter-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  background: var(--s-50);
  border-bottom: 1px solid var(--s-200);
}

.filter-panel__title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--s-900);
  margin: 0;
}

.filter-reset {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
}
.filter-reset:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

.filter-section {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--s-200);
}
.filter-section:last-child {
  border-bottom: 0;
}

.filter-section__heading {
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--s-500);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.85rem;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--s-700);
  cursor: pointer;
  margin: 0;
}
.filter-check input[type="checkbox"],
.filter-check input[type="radio"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--blue);
  cursor: pointer;
  flex-shrink: 0;
}

.filter-stars {
  color: var(--star);
  font-size: 0.82rem;
  letter-spacing: 1px;
}

/* Sort bar */
.sort-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--s-200);
  border-radius: var(--r-lg);
  padding: 0.875rem 1.25rem;
}

.results-count {
  font-size: 0.92rem;
  color: var(--s-600);
}
.results-count strong {
  color: var(--s-900);
}

.sort-options {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--s-500);
}

.sort-link {
  color: var(--s-500);
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.sort-link:hover {
  color: var(--blue);
  background: var(--blue-faint);
  border-color: var(--blue-soft);
}
.sort-link.active {
  color: var(--blue);
  background: var(--blue-soft);
  border-color: var(--blue-soft);
}

/* Pagination */
.pagination-bar {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  padding-top: 0.5rem;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  border: 1px solid var(--s-200);
  background: #fff;
  color: var(--s-700);
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.page-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-faint);
}
.page-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* -----------------------------------------------------------------
   13. Trainer Profile page
   ----------------------------------------------------------------- */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid var(--s-200);
  padding: 0.7rem 0;
}

.breadcrumb-bar ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--s-500);
}

.breadcrumb-bar li + li::before {
  content: "/";
  color: var(--s-300);
  margin-right: 0.4rem;
}

.breadcrumb-bar a {
  color: var(--s-500);
}
.breadcrumb-bar a:hover {
  color: var(--blue);
}

.breadcrumb-bar li:last-child {
  color: var(--s-800);
}

/* Page background */
.section-profile {
  background: var(--s-100);
  padding: 2.5rem 0 4rem;
}

/* Photo */
.profile-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--r-xl);
  border: 1px solid var(--s-200);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.10);
  display: block;
}

/* Sticky left column on desktop */
.profile-left {
  position: sticky;
  top: 90px;
}

/* Main profile content card */
.profile-body {
  background: #fff;
  border: 1px solid var(--s-200);
  border-radius: var(--r-xl);
  padding: 2rem 2rem 2.5rem;
}

.profile-name {
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--s-900);
  line-height: 1.05;
  margin-bottom: 0.3rem;
}

.profile-trainer {
  font-size: 1rem;
  font-weight: 600;
  color: var(--s-600);
  margin-bottom: 0.2rem;
}

.profile-location {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--s-500);
  margin-bottom: 0;
}

/* Rating / stats row */
.profile-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--s-700);
}

.profile-stats .stars {
  font-size: 1.05rem;
  letter-spacing: 2px;
}

.stat-rating {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--s-900);
}

.stat-sep {
  color: var(--s-300);
  font-weight: 400;
}

.profile-bio {
  font-size: 1rem;
  color: var(--s-600);
  line-height: 1.75;
}

/* Profile sections (Services, Specialist Areas, etc.) */
.profile-section {
  margin-top: 1.75rem;
}

.profile-section h2 {
  font-size: 1.2rem;
  color: var(--s-900);
  margin-bottom: 0.875rem;
}

.profile-divider {
  border: 0;
  border-top: 1px solid var(--s-200);
  margin: 2rem 0;
}

/* Accolades / quick-facts strip */
.profile-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.profile-fact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--s-50);
  border: 1px solid var(--s-200);
  border-radius: var(--r-md);
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--s-700);
}

.profile-fact span.fact-icon {
  font-size: 1.05rem;
}

/* Review cards */
.review-card {
  background: var(--s-50);
  border: 1px solid var(--s-200);
  border-radius: var(--r-lg);
  padding: 1.2rem 1.5rem;
}

.review-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.review-card__name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--s-900);
  margin: 0;
}

.review-card__date {
  font-size: 0.78rem;
  color: var(--s-400);
  font-weight: 600;
  margin-top: 0.15rem;
}

.review-card__stars {
  color: var(--star);
  font-size: 0.88rem;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.review-card__text {
  font-size: 0.9rem;
  color: var(--s-600);
  line-height: 1.65;
  font-style: italic;
  margin: 0;
}

.review-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-ink);
  margin-top: 0.6rem;
}

/* Right contact card (sticky) */
.contact-card {
  background: #fff;
  border: 1px solid var(--s-200);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  position: sticky;
  top: 90px;
}

.contact-card__title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--s-900);
  margin-bottom: 1rem;
}

.contact-card__note {
  font-size: 0.78rem;
  color: var(--s-400);
  margin: 0.85rem 0 0;
  line-height: 1.55;
}

/* -----------------------------------------------------------------
   14. Trainer Dashboard page
   ----------------------------------------------------------------- */

/* Hero banner */
.db-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
}
.db-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #fff;
}
.db-hero__lead {
  font-size: 1rem;
  color: var(--blue-soft);
  max-width: 56rem;
}

/* Page background */
.section-dashboard {
  background: var(--s-100);
  min-height: 60vh;
}

/* Privacy notice */
.db-notice {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff9f0;
  border: 1px solid #fed7aa;
  border-radius: var(--r-xl);
  padding: 1.25rem 1.5rem;
}
.db-notice__icon {
  font-size: 1.5rem;
  background: var(--orange);
  color: #fff;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.db-notice__title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--orange-dark);
}
.db-notice__body {
  font-size: 0.88rem;
  color: var(--s-700);
  line-height: 1.6;
}

/* Stat cards */
.db-stat {
  background: #fff;
  border: 1px solid var(--s-200);
  border-radius: var(--r-xl);
  padding: 1.5rem 1.75rem;
}
.db-stat__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--s-500);
  margin-bottom: 0.4rem;
}
.db-stat__value {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  margin: 0;
}

/* Client enquiries panel */
.db-enquiry-panel {
  background: #fff;
  border: 1px solid var(--s-200);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.db-enquiry-panel__head {
  background: var(--blue);
  padding: 1.25rem 1.5rem;
}
.db-enquiry-panel__title {
  font-size: 1.15rem;
  color: #fff;
}
.db-enquiry-panel__sub {
  font-size: 0.82rem;
  color: var(--blue-soft);
}

/* Enquiry rows */
.db-enquiry-list {
  display: flex;
  flex-direction: column;
}
.db-enquiry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--s-200);
  cursor: pointer;
  transition: background 0.15s;
  border-left: 3px solid transparent;
}
.db-enquiry-row:last-child {
  border-bottom: 0;
}
.db-enquiry-row:hover {
  background: var(--blue-faint);
}
.db-enquiry-row--active {
  background: var(--blue-faint);
  border-left-color: var(--blue);
}
.db-enquiry-row__name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--s-900);
}
.db-enquiry-row__service {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--s-600);
}
.db-enquiry-row__date {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--s-400);
}
.db-enquiry-row__badge {
  flex-shrink: 0;
}
.db-pill-orange {
  background: #fff7ed;
  color: var(--orange-dark);
}

/* Enquiry detail panel */
.db-detail-panel {
  background: #fff;
  border: 1px solid var(--s-200);
  border-radius: var(--r-xl);
  padding: 1.75rem;
}
.db-detail-panel__title {
  font-size: 1.2rem;
  color: var(--s-900);
}
.db-detail-panel__ref {
  font-size: 0.85rem;
  color: var(--s-500);
}

/* Client details list */
.db-detail-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  border: 1px solid var(--s-200);
  border-radius: var(--r-md);
  overflow: hidden;
}
.db-detail-list__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--s-200);
  gap: 1rem;
}
.db-detail-list__row:last-child {
  border-bottom: 0;
}
.db-detail-list dt {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--s-500);
  flex-shrink: 0;
  min-width: 9rem;
}
.db-detail-list dd {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--s-900);
  margin: 0;
  text-align: right;
}

/* Client message box */
.db-client-message {
  background: var(--blue-faint);
  border: 1px solid var(--blue-soft);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
}
.db-client-message__label {
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--blue);
}
.db-client-message__body {
  font-size: 0.9rem;
  color: var(--s-700);
  line-height: 1.6;
}

/* Form fields */
.db-field-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--s-800);
}
.db-date-input {
  border-color: var(--s-300);
  border-radius: var(--r-md);
  font-weight: 600;
  color: var(--s-800);
}
.db-field-hint {
  font-size: 0.78rem;
  color: var(--s-400);
  line-height: 1.55;
}

/* Complete button */
.db-complete-btn {
  font-size: 1rem;
  padding: 0.85rem;
  font-weight: 800;
}

/* -----------------------------------------------------------------
   15. Trainer Onboarding page
   ----------------------------------------------------------------- */

/* Hero banner */
.onboarding-hero {
  background: var(--s-100);
}

.onboarding-hero__card {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: var(--r-xl);
  color: #fff;
}

.onboarding-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: #fff;
  line-height: 1.1;
}

.onboarding-hero__lead {
  color: var(--blue-soft);
  font-size: 0.97rem;
  line-height: 1.7;
  max-width: 48rem;
}

.onboarding-pill {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.35rem 0.9rem;
}

/* Page body background */
.onboarding-body {
  background: var(--s-100);
}

/* Form section cards */
.ob-section {
  background: #fff;
  border: 1px solid var(--s-200);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.ob-section__head {
  background: var(--blue);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ob-step-num {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  width: 2rem;
  height: 2rem;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ob-section__title {
  color: #fff;
  font-size: 1.15rem;
  margin: 0;
}

.ob-section__body {
  padding: 1.5rem;
}

/* Labels and form controls */
.ob-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--s-800);
  margin-bottom: 0.4rem;
}

.ob-required {
  color: var(--blue);
}

.ob-hint {
  font-size: 0.82rem;
  color: var(--blue);
  font-weight: 600;
  margin: 0;
}

.ob-input {
  border-color: var(--s-300);
  border-radius: var(--r-md);
  font-size: 0.93rem;
  color: var(--s-800);
}

.ob-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

/* Checkbox grid items */
.ob-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--s-50);
  border: 1px solid var(--s-200);
  border-radius: var(--r-md);
  padding: 0.6rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--s-700);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.ob-checkbox-label:hover {
  border-color: var(--blue);
  background: var(--blue-faint);
}

.ob-checkbox-label--block {
  align-items: flex-start;
}

.ob-checkbox {
  width: 1rem;
  height: 1rem;
  accent-color: var(--blue);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Radio labels */
.ob-radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--s-700);
  cursor: pointer;
}

.ob-radio {
  width: 1rem;
  height: 1rem;
  accent-color: var(--blue);
  cursor: pointer;
}

/* Info boxes */
.ob-info-box {
  border-radius: var(--r-lg);
  padding: 1rem 1.25rem;
}

.ob-info-box--blue {
  background: var(--blue-faint);
  border: 1px solid var(--blue-soft);
}

.ob-info-box--green {
  background: var(--green-soft);
  border: 1px solid #bbf7d0;
}

.ob-info-box--orange {
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.ob-info-box__title {
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 0.35rem;
}

.ob-info-box__title--green {
  color: var(--green-ink);
}

.ob-info-box__title--orange {
  color: var(--orange-dark);
}

.ob-info-box__body {
  font-size: 0.88rem;
  color: var(--s-700);
  line-height: 1.65;
}

/* File upload area */
.ob-upload-area {
  border: 2px dashed var(--s-300);
  border-radius: var(--r-xl);
  background: var(--s-50);
  transition: border-color 0.15s, background 0.15s;
}

.ob-upload-area:hover {
  border-color: var(--blue);
  background: var(--blue-faint);
}

.ob-upload-icon {
  font-size: 2.5rem;
  color: var(--blue);
  line-height: 1;
}

.ob-upload-label {
  font-size: 0.95rem;
  color: var(--blue);
  font-weight: 800;
}

/* Outline button for terms links */
.btn-white-outline {
  --bs-btn-color: var(--s-700);
  --bs-btn-bg: #fff;
  --bs-btn-border-color: var(--s-300);
  --bs-btn-hover-bg: var(--s-50);
  --bs-btn-hover-border-color: var(--blue);
  --bs-btn-hover-color: var(--blue);
  --bs-btn-font-weight: 700;
  --bs-btn-border-radius: var(--r-md);
  font-size: 0.88rem;
}

/* Submit bar */
.ob-submit-bar {
  background: #fff;
  border: 1px solid var(--s-200);
  border-radius: var(--r-xl);
}

.ob-submit-bar__title {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--s-900);
}

.ob-submit-bar__sub {
  font-size: 0.85rem;
  color: var(--s-500);
}

.ob-submit-btn {
  white-space: nowrap;
  flex-shrink: 0;
}


/* -----------------------------------------------------------------
   x. Search location suggestion dropdown
   ----------------------------------------------------------------- */

#search-suggestions {
    background: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 0.375rem 0.375rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    z-index: 1000;
}

#search-suggestions div {
    padding: 8px 14px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f3f5;
}

#search-suggestions div:last-child {
    border-bottom: none;
}

#search-suggestions div:hover {
    background: #f8f9fa;
}