/* ============================================================
   VetScouter – Main Stylesheet
   ============================================================ */

:root {
  --primary:       #4e6d8c;
  --primary-dark:  #3d5a75;
  --primary-light: #f0f4f8;
  --accent:        #d95f4b;
  --dodger-blue:   #1E90FF;
  --danger:        #E76F51;
  --text-main:     #1a1a2e;
  --text-muted:    #4b5563;
  --border:        #e5e7eb;
  --bg-light:      #f9fafb;
  --white:         #ffffff;
  --star-color:    #f59e0b;
  --radius:        12px;
  --radius-sm:     8px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08);
  --shadow-md:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:     0 8px 32px rgba(0,0,0,.12);
  /* Type scale */
  --fs-xs:   .80rem;   /* tiny labels, badges, tags */
  --fs-sm:   .80rem;   /* meta, secondary info      */
  --fs-body: .875rem;  /* body / content text       */
}

/* ── Base ── */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background: var(--white);
}

a { color: inherit; }
a:hover { color: var(--primary); }

/* ── Keyboard focus ── */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ── Bootstrap overrides ── */
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}
.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
}
#reviewSortGroup .btn-outline-secondary.active,
#reviewSortGroup .btn-outline-secondary:active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: auto;
}
.badge.bg-success-soft {
  background: #d1fae5;
}
.badge.bg-secondary-soft {
  background: #f3f4f6;
}

/* ── Navbar ── */
.brand-icon { color: var(--primary); font-size: 1.5rem; }
.brand-name { font-weight: 800; font-size: 1.25rem; color: var(--text-main); }
.logo-icon-wrap {
  background: var(--accent);
  border-radius: 8px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-wordmark {
  font-weight: 800;
  font-size: 1.2rem;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo-wordmark-light { color: #fff; }
.logo-wordmark-accent { color: var(--accent); }
.logo-wordmark-light .logo-wordmark-accent { color: #eda898; }
.nav-search-form { flex: 1; max-width: 520px; margin: 0 2rem; }
.nav-search-form .input-group input { border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important; }
.nav-search-form .input-group input:nth-child(2) { border-radius: 0 !important; border-left: none; }
.nav-search-form .btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* ── Hero ── */
.hero-section {
  background: linear-gradient(135deg, #f0f4f8 0%, #c5d5e5 50%, #dbeafe 100%);
  padding: 80px 0 70px;
  overflow: hidden;
}
.min-vh-hero { min-height: 420px; }
.min-vh-hero .col-lg-7 { margin-top: -30px; }

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 1rem;
}
.hero-title-highlight {
  background: linear-gradient(transparent 55%, rgba(245,158,11,.35) 55%);
}
.hero-title-accent {
  color: var(--accent);
}
.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2rem;
}
.hero-search-form .form-control {
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  padding: .75rem 1rem;
  font-size: 1rem;
}
.hero-search-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(42,157,143,.15);
}
.hero-search-form .btn {
  padding-top: .75rem;
  padding-bottom: .75rem;
  border-width: 2px;
  width: calc(100% - 20px);
  display: block;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 767px) {
  .hero-search-form .btn {
    width: 100%;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .02em;
  }
}
/* ── Hero search pill-in-input ── */
.search-pill-wrap {
  position: relative;
}
.search-specialty-pill {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background-color: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23fff'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 5px 26px 5px 11px;
  font-size: .75rem;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  max-width: 100px;
  white-space: nowrap;
  line-height: 1.3;
  transition: background-color .15s;
}
.search-specialty-pill:hover,
.search-specialty-pill:focus {
  background-color: var(--primary-dark);
  outline: none;
}
.search-pill-input {
  padding-left: 120px !important;
}


.hero-stats { gap: 1.5rem; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: row; align-items: center; gap: .5rem; }
.hero-stat-icon { font-size: 1.15rem; line-height: 1; flex-shrink: 0; }
.hero-stat-label { font-size: .85rem; color: var(--text-muted); font-weight: 500; }

.hero-illustration { position: relative; }
.hero-icon-bg {
  font-size: 18rem;
  color: var(--primary);
  opacity: .08;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
}
.hero-dog-slider {
  display: inline-block;
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 520px;
  border-radius: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
}
.hero-dog-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 2rem;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-dog-img.active {
  opacity: 1;
}
.hero-dog-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: #d1d5db;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s;
}
.hero-dot.active {
  background: var(--dodger-blue);
}

/* ── Section Title ── */
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
  border-left: 4px solid var(--dodger-blue);
  padding-left: .6rem;
}

/* ── How It Works ── */
.how-step {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.how-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

/* ── Stars ── */
.stars-display { display: inline-flex; align-items: center; gap: 2px; }
.star-filled { color: var(--star-color); font-size: .9rem; }
.star-empty { color: #d1d5db; font-size: .9rem; }
.stars-lg .star-filled,
.stars-lg .star-empty { font-size: 1.2rem; }
.rating-value { font-weight: 700; color: var(--text-main); font-size: .9rem; }
.review-count { color: var(--text-muted); font-size: .85rem; }
.rating-number { font-size: 2.5rem; font-weight: 800; color: var(--text-main); line-height: 1; }

/* ── Vet Card Initials Avatar ── */
.vet-card-avatar-initials {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: hsl(var(--vet-hue, 200), 55%, 88%);
  color: hsl(var(--vet-hue, 200), 45%, 35%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: .75rem;
  flex-shrink: 0;
  letter-spacing: -.02em;
}

/* ── Vet Card (homepage) ── */
.card-link { text-decoration: none; color: inherit; display: block; }
.card-link:hover { color: inherit; }
.vet-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 200px;
}
.vet-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.vet-card-avatar {
  font-size: 3.5rem;
  color: #d1d5db;
  margin-bottom: .75rem;
}
.vet-card-specialty {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary);
  margin-bottom: .4rem;
}
.vet-card-name { font-size: 1.05rem; font-weight: 700; margin-bottom: .35rem; }
.vet-card-practice,
.vet-card-location { font-size: .82rem; color: var(--text-muted); margin-bottom: .4rem; }
.vet-card-distance { font-size: .80rem; color: var(--primary); font-weight: 600; }
.vet-card-rating { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

/* ── City Cards ── */
.city-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.25rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  text-align: center;
  transition: all .2s;
}
.city-card:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.city-card-icon { font-size: 1.75rem; color: var(--primary); margin-bottom: .5rem; }
.city-card-name { font-weight: 600; font-size: .9rem; color: var(--text-main); }
.city-card-count { font-size: .75rem; color: var(--text-muted); }

/* ── Specialty Cards ── */
.specialty-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 7rem;
  padding: 1rem .75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  text-align: center;
  transition: all .2s;
}
.specialty-card:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.specialty-icon {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: .5rem;
}
.specialty-icon-svg {
  width: 3rem;
  height: 3rem;
  color: var(--primary);
  margin-bottom: .5rem;
  display: block;
}
.specialty-name {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
}

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, #f0f4f8 0%, #c5d5e5 100%);
}

/* ── Search Page ── */
.filter-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.filter-heading {
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.search-result-card {
  display: flex; gap: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all .2s;
}
.search-result-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.search-result-avatar {
  font-size: 3rem;
  color: #d1d5db;
  flex-shrink: 0;
}
.search-result-name { font-size: 1.1rem; font-weight: 700; }
.search-result-bio { font-size: .82rem; color: var(--text-muted); line-height: 1.5; }
.specialty-badge {
  display: inline-block;
  padding: .25rem .7rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-size: var(--fs-xs);
  font-weight: 700;
}

/* ── Profile Hero Banner ── */
.profile-hero-banner {
  height: 220px;
  background-size: cover;
  background-position: center 30%;
  position: relative;
}
.profile-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.08) 0%,
    rgba(255,255,255,0.6) 70%,
    #ffffff 100%
  );
}
@media (max-width: 767px) {
  .profile-hero-banner { height: 150px; }
}

/* ── Profile Page ── */
.profile-sidebar-sticky {
  position: sticky;
  top: 80px;
  align-self: start;
}

.profile-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
}
.profile-avatar { font-size: 5rem; color: #d1d5db; margin-bottom: 1rem; }
.profile-avatar-initials {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: hsl(var(--vet-hue, 200), 55%, 88%);
  color: hsl(var(--vet-hue, 200), 45%, 30%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 auto;
  letter-spacing: -.02em;
}
.profile-specialty {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary);
  margin-bottom: .4rem;
}
.profile-name { font-size: 1.5rem; font-weight: 800; margin-bottom: .25rem; }
.profile-rating { display: flex; flex-direction: column; align-items: center; }

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.info-card-heading {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .875rem; color: var(--text-main);
  padding: .4rem 0;
}
.info-list li:not(:last-child) { border-bottom: 1px solid var(--border); }
.info-link { color: var(--primary); text-decoration: none; }
.info-link:hover { text-decoration: underline; }

/* ── Star Picker ── */
@keyframes star-nudge {
  0%, 100% { transform: scale(1); }
  40%       { transform: scale(1.2); }
  60%       { transform: scale(1.1); }
}
.star-picker { display: flex; gap: .5rem; }
.star-picker.unrated {
  background: #fffbeb;
  border: 1px dashed #f59e0b;
  border-radius: 8px;
  padding: .4rem .6rem;
}
.star-picker.unrated .star-btn {
  animation: star-nudge .6s ease both;
}
.star-picker.unrated .star-btn:nth-child(1) { animation-delay: .05s; }
.star-picker.unrated .star-btn:nth-child(2) { animation-delay: .12s; }
.star-picker.unrated .star-btn:nth-child(3) { animation-delay: .19s; }
.star-picker.unrated .star-btn:nth-child(4) { animation-delay: .26s; }
.star-picker.unrated .star-btn:nth-child(5) { animation-delay: .33s; }
.star-btn {
  background: none; border: none;
  font-size: 2rem;
  color: #d1d5db;
  cursor: pointer;
  padding: 0;
  transition: color .15s, transform .1s;
  line-height: 1;
}
.star-btn:hover,
.star-btn.active { color: var(--star-color); transform: scale(1.15); }
.star-btn i.bi-star-fill { color: var(--star-color); }

/* ── Dollar Picker ── */
.dollar-picker { display: flex; gap: .4rem; }
.dollar-btn {
  background: none; border: none;
  font-size: 1.25rem; font-weight: 700;
  color: #d1d5db; cursor: pointer;
  padding: .2rem .35rem;
  transition: color .12s, transform .12s;
  line-height: 1;
}
.dollar-btn:hover,
.dollar-btn.active { color: #16a34a; transform: scale(1.15); }

/* Price badge on review cards */
.review-price-badge {
  font-size: .75rem; font-weight: 700;
  color: #16a34a;
  letter-spacing: .02em;
}

/* ── Review Form Card ── */
.review-form-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

/* ── Review Cards ── */
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.reviewer-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
  flex-shrink: 0;
}
.review-title { font-size: .95rem; font-weight: 700; margin-bottom: .5rem; }
.review-body { font-size: .875rem; color: #374151; line-height: 1.7; }
.report-link { opacity: 0; transition: opacity .15s; }
.review-card:hover .report-link { opacity: 1; }
.review-card.review-verified {
  border-left: 3px solid var(--dodger-blue);
  box-shadow: 0 2px 10px rgba(30, 136, 229, .09);
}
.review-card.review-verified .reviewer-avatar {
  background: var(--dodger-blue);
}

/* ── Financial Experience toggle card ── */
.fin-toggle-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius);
  background: var(--primary-light);
  cursor: pointer;
  transition: background .15s, box-shadow .15s;
  user-select: none;
}
.fin-toggle-card:hover {
  background: #ffe8d6;
  box-shadow: var(--shadow-sm);
}
.fin-toggle-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.fin-toggle-body {
  flex: 1;
  min-width: 0;
}
.fin-toggle-title {
  font-weight: 700;
  font-size: .95rem;
  color: var(--text-main);
  margin-bottom: .15rem;
}
.fin-toggle-desc {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.fin-toggle-chevron {
  font-size: 1rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform .25s;
}

/* ── Financial Experience Form ── */
.fin-section-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .75rem;
}
.fin-question {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: .5rem;
}
.fin-options {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.fin-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.fin-option-label {
  display: inline-block;
  padding: .3rem .8rem;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color .12s, background .12s, color .12s;
  user-select: none;
}
.fin-option-label:hover {
  border-color: var(--dodger-blue);
  color: var(--dodger-blue);
}
.fin-radio:checked + .fin-option-label {
  background: var(--dodger-blue);
  border-color: var(--dodger-blue);
  color: #fff;
  font-weight: 600;
}

/* Scale (1–5) variant */
.fin-scale { align-items: flex-start; }
.fin-scale-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
}
.fin-scale-label {
  width: 2.6rem;
  text-align: center;
  padding: .3rem .4rem;
}
.fin-scale-text {
  font-size: .68rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 58px;
  line-height: 1.2;
}

/* Financial summary on review cards */
.fin-summary {
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.fin-tag {
  display: inline-flex;
  align-items: center;
  font-size: .85rem;
  color: var(--text-muted);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .2rem .55rem;
}
.fin-tag.fin-tag-warn {
  color: #b45309;
  background: #fffbeb;
  border-color: #fcd34d;
}

/* ── Add Vet Form ── */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
}
.form-section-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: .75rem;
  margin-bottom: 1.25rem;
}

/* ── Empty state ── */
.empty-state { padding: 3rem 1rem; }
.empty-icon { font-size: 3rem; color: #d1d5db; }

/* ── Rating breakdown ── */
.rating-breakdown { text-align: left; width: 100%; }

/* ── Dodger Blue utility ── */
.dodger-blue-icon { color: var(--dodger-blue) !important; }

/* ── Footer ── */
.footer-blue { background: linear-gradient(135deg, #3d5a75 0%, #1e3347 100%); }
.footer-muted { color: #8aafc7; }
.footer-divider { border-color: #3d5a75; }
.brand-icon-footer { color: var(--primary); font-size: 1.4rem; }
.footer-link {
  display: block;
  color: #a8c4d8;
  text-decoration: none;
  font-size: .875rem;
  margin-bottom: .4rem;
  transition: color .15s;
}
.footer-link:hover { color: var(--accent); }

/* ── Explore More ── */
.explore-more-card { transition: background .15s, border-color .15s; }
.explore-more-card:hover { background: var(--primary-light); border-color: var(--primary) !important; }

/* ── Map ── */
.vet-map {
  width: 100%;
  height: 480px;
  border: 1px solid var(--border);
  z-index: 0;
}

/* Custom pin */
.map-pin {
  width: 26px;
  height: 26px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #fff;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(217,95,75,.3);
}
.map-pin i,
.leaflet-container .map-pin i {
  transform: rotate(45deg);
  color: var(--accent);
  font-size: .7rem;
}
.map-pin-user {
  background: #f59e0b;
  box-shadow: 0 2px 8px rgba(245,158,11,.35);
}
.map-pin-current {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(217,95,75,.4);
}
.map-pin-current i,
.leaflet-container .map-pin-current i { color: var(--accent); }
.map-pin-nearby {
  width: 18px;
  height: 18px;
  border-color: #9ca3af;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
  opacity: 0.7;
}
.map-pin-nearby i,
.leaflet-container .map-pin-nearby i { color: #9ca3af; font-size: .55rem; }

/* Profile page map */
.profile-map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.profile-map {
  height: 320px;
}
.profile-map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem .9rem;
  background: #fff;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  flex-wrap: wrap;
  gap: .5rem;
}
.profile-map-link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--dodger-blue);
  text-decoration: none;
  white-space: nowrap;
}
.profile-map-link:hover {
  color: var(--dodger-blue);
  text-decoration: underline;
}
@media (max-width: 767px) {
  .profile-map { height: 220px; }
}

/* Popup */
.map-popup { font-family: inherit; min-width: 200px; }
.map-popup-specialty {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary);
  margin-bottom: 2px;
}
.map-popup-name,
.leaflet-container .map-popup-name { font-size: .95rem; font-weight: 700; color: var(--text-main); margin-bottom: 2px; text-decoration: none; display: block; }
.map-popup-name:hover,
.leaflet-container .map-popup-name:hover { color: var(--primary); text-decoration: underline; }
.map-popup-practice { font-size: .8rem; color: var(--text-muted); margin-bottom: 4px; }
.map-popup-address,
.map-popup-phone { font-size: .80rem; color: var(--text-muted); margin-bottom: 2px; }
.map-popup-rating { display: flex; align-items: center; margin: 6px 0; }
.map-popup-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 50px;
  margin-bottom: 8px;
}
.map-popup-badge-open  { background: #d1fae5; color: #065f46; }
.map-popup-badge-closed { background: #f3f4f6; color: #6b7280; }
.map-popup-link {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  margin-top: 4px;
}
.map-popup-link:hover { text-decoration: underline; }

/* ── Hours of operation – profile display ── */
.hours-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table tr.today { background: var(--primary-light); font-weight: 600; }
.hours-day { color: var(--text-muted); padding: 5px 0; width: 110px; }
.hours-val { color: var(--text-main); padding: 5px 0; }

/* ── Hours of operation – form grid ── */
.hours-form-grid { display: flex; flex-direction: column; gap: .55rem; }
.hours-form-row { display: flex; align-items: center; gap: .5rem; flex-wrap: nowrap; }
.hours-form-day { width: 84px; min-width: 84px; font-size: .875rem; font-weight: 500; color: var(--text-main); }
.hours-selects { display: flex; align-items: center; gap: .35rem; flex: 1; min-width: 0; }
.hours-selects .form-select { flex: 1; min-width: 0; font-size: .8rem; }
.hours-selects .form-select:disabled { opacity: .35; }
.hours-sep { font-size: .75rem; color: var(--text-muted); flex-shrink: 0; padding: 0 .1rem; }
.hours-closed-btn {
  flex-shrink: 0;
  font-size: .72rem;
  font-weight: 600;
  padding: .25rem .65rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  background: var(--white);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.hours-closed-btn:hover { border-color: #fca5a5; color: #b91c1c; }
.hours-closed-btn.active { background: #fee2e2; color: #b91c1c; border-color: #fca5a5; }
.hours-copy-btn { color: var(--text-muted) !important; flex-shrink: 0; line-height: 1; }
.hours-copy-btn:hover { color: var(--primary) !important; }
@media (max-width: 576px) {
  .hours-form-row { flex-wrap: wrap; gap: .4rem; }
  .hours-form-day { width: 100%; min-width: 0; font-size: .8rem; margin-bottom: -.15rem; }
  .hours-selects { flex: 1 1 auto; }
}

/* ── A–Z Directory ── */
.alpha-bar {
  position: sticky;
  top: 57px;          /* below the sticky navbar */
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: .5rem 0;
  margin-bottom: 2rem;
}
.alpha-bar-inner {
  display: flex;
  flex-wrap: nowrap;
  gap: .25rem;
  overflow-x: auto;
  scrollbar-width: none;   /* Firefox */
  -ms-overflow-style: none;
  padding-bottom: 2px;     /* keep focus rings visible */
}
.alpha-bar-inner::-webkit-scrollbar { display: none; }

.alpha-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  font-size: .8rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.alpha-btn.active {
  color: var(--dodger-blue);
  border-color: var(--dodger-blue);
  background: #e8f3ff;
}
.alpha-btn.active:hover,
.alpha-btn.active:focus {
  background: var(--dodger-blue);
  color: var(--white);
  outline: none;
}
.alpha-btn.inactive {
  color: #c4c9d4;
  border-color: transparent;
  cursor: default;
  pointer-events: none;
}
.alpha-btn.current {
  background: var(--dodger-blue);
  color: var(--white);
  border-color: var(--dodger-blue);
}

.alpha-section-heading {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--dodger-blue);
}
.alpha-section-letter {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dodger-blue);
  line-height: 1;
  min-width: 1.8rem;
}
.alpha-section-count {
  font-size: .8rem;
  color: var(--text-muted);
}

.alpha-vet-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .15s, border-color .15s;
  margin-bottom: .5rem;
}
.alpha-vet-row:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  color: inherit;
}
.alpha-vet-name {
  font-weight: 600;
  font-size: .95rem;
  color: var(--text-main);
  flex: 1;
  min-width: 0;
}
.alpha-vet-meta {
  font-size: .80rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.alpha-vet-rating {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .80rem;
  white-space: nowrap;
  color: var(--text-muted);
}
.alpha-filter-bar {
  margin-bottom: 1.25rem;
}

/* Specialty filter pills on A–Z page */
.specialty-filter-pill {
  display: inline-flex;
  align-items: center;
  padding: .25rem .75rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  font-size: .8rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.specialty-filter-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.specialty-filter-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* hide sections/rows that don't match the filter */
.alpha-section.hidden { display: none; }
.alpha-vet-row.hidden { display: none; }

/* back-to-top button */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--dodger-blue);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  z-index: 200;
  box-shadow: var(--shadow-md);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ── Photo gallery strip (vet profile) ── */
.photo-strip {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.photo-strip::-webkit-scrollbar { height: 4px; }
.photo-strip::-webkit-scrollbar-track { background: transparent; }
.photo-strip::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.photo-strip-thumb {
  flex-shrink: 0;
  width: 160px;
  height: 120px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: #f1f5f9;
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color .15s, transform .15s;
}
.photo-strip-thumb:hover {
  border-color: var(--primary);
  transform: scale(1.02);
}
.photo-strip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Photo upload drop zone ── */
.photo-drop-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: #fafafa;
  cursor: pointer;
  position: relative;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s, background .15s;
  overflow: hidden;
}
.photo-drop-zone:hover,
.photo-drop-zone.dragging {
  border-color: var(--primary);
  background: var(--primary-light);
}
.photo-drop-zone-sm { min-height: 110px; }

.photo-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
  /* hidden behind the visual layer; click is forwarded via JS */
  display: none;
}
.photo-drop-content {
  text-align: center;
  pointer-events: none;
  padding: 1rem;
}
.photo-drop-icon {
  font-size: 2.2rem;
  color: var(--primary);
  display: block;
  margin-bottom: .35rem;
}
.photo-drop-label {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: .15rem;
}
.photo-drop-hint { font-size: .80rem; color: var(--text-muted); }

.photo-preview-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}
.photo-preview-img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: contain;
  display: block;
  background: #000;
}
.photo-preview-clear {
  position: absolute;
  top: .4rem;
  right: .4rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,.6);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  cursor: pointer;
  z-index: 3;
  transition: background .15s;
}
.photo-preview-clear:hover { background: rgba(0,0,0,.85); }

/* ── Photo role picker (submit photo page) ── */
.photo-role-option { position: relative; }
.photo-role-radio  { position: absolute; opacity: 0; width: 0; height: 0; }
.photo-role-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  min-width: 140px;
  text-align: center;
  transition: border-color .15s, background .15s, color .15s;
}
.photo-role-radio:checked + .photo-role-label {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}
.photo-role-label:hover { border-color: var(--primary); }

/* ── Helpful vote button ── */
.helpful-btn {
  font-size: .8rem;
  color: var(--text-muted);
  border-color: var(--border);
  padding: 3px 10px;
  transition: color .15s, border-color .15s, background .15s;
}
.helpful-btn:hover:not(:disabled) {
  color: var(--dodger-blue);
  border-color: var(--dodger-blue);
  background: #eff6ff;
}
.helpful-btn.voted,
.helpful-btn:disabled {
  color: var(--dodger-blue);
  border-color: var(--dodger-blue);
  background: #eff6ff;
  cursor: default;
}

/* ── Practice response ── */
.practice-response {
  background: #f0fdf4;
  border-left: 3px solid #16a34a;
  border-radius: 0 6px 6px 0;
  padding: .75rem 1rem;
}
.practice-response-header {
  font-size: .8rem;
  font-weight: 700;
  color: #15803d;
  margin-bottom: .35rem;
}
.practice-response-date {
  font-weight: 400;
  color: #6b7280;
}
.practice-response-body {
  font-size: .875rem;
  color: #374151;
  line-height: 1.55;
}

/* ── Review CTA card (vet profile) ── */
.review-cta-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f9fafb;
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: .875rem 1.25rem;
}
.review-cta-body {
  flex: 1;
  min-width: 0;
}
.review-cta-title {
  font-size: .9rem;
  font-weight: 600;
  color: var(--dark);
}
.review-cta-desc {
  font-size: .8rem;
  color: var(--text-muted);
}
.review-cta-btn {
  flex-shrink: 0;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .review-cta-card {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
  }
  .review-cta-btn { width: 100%; text-align: center; }
}

/* ══════════════════════════════════════════════════
   Vets-Near landing pages
   ══════════════════════════════════════════════════ */

/* Hero block */
.vets-near-hero {
  background: linear-gradient(135deg, #f0f4f8 0%, #e8f0f6 100%);
  border: 1px solid #c5d5e5;
  border-radius: 16px;
  padding: 2rem 2rem 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.vets-near-hero-body { flex: 1; min-width: 260px; }
.vets-near-hero-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
  margin-bottom: .4rem;
}
.vets-near-hero-h1 {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: .6rem;
}
.vets-near-hero-sub {
  font-size: .925rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 1.25rem;
}

/* Stats bar */
.vets-near-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.vets-near-stat { display: flex; flex-direction: column; }
.vets-near-stat-val { font-size: 1.3rem; font-weight: 800; color: var(--dark); line-height: 1.1; }
.vets-near-stat-lbl { font-size: var(--fs-xs); color: var(--text-muted); }
.vets-near-stat-divider { width: 1px; height: 32px; background: #c5d5e5; }

/* Quick-search form inside hero */
.vets-near-hero-search {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  min-width: 200px;
  max-width: 220px;
  flex-shrink: 0;
  align-self: center;
}
@media (max-width: 600px) {
  .vets-near-hero { flex-direction: column; }
  .vets-near-hero-search { max-width: 100%; width: 100%; }
  .vets-near-hero-h1 { font-size: 1.4rem; }
}

/* Section headings */
.vets-near-section-heading {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
  margin-bottom: .85rem;
}

/* Specialty chips */
.vets-near-specialty-chip,
.vets-near-related-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .75rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
  text-decoration: none;
  font-size: .82rem;
  color: var(--text-main);
  font-weight: 500;
  transition: border-color .15s, background .15s, color .15s;
}
.vets-near-specialty-chip:hover,
.vets-near-related-chip:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}
.vets-near-chip-label { }
.vets-near-chip-count {
  background: #f1f5f9;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 700;
  padding: 1px 6px;
  color: var(--text-muted);
}
.vets-near-specialty-chip:hover .vets-near-chip-count,
.vets-near-related-chip:hover .vets-near-chip-count {
  background: #fff;
  color: var(--primary);
}

/* Top-rated cards */
.vets-near-top-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  height: 100%;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.vets-near-top-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.vets-near-top-rank {
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary);
  margin-bottom: .2rem;
}
.vets-near-top-specialty {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: .3rem;
}
.vets-near-top-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .25rem;
  line-height: 1.3;
}
.vets-near-top-addr {
  font-size: .75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vets-near-top-rating {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-size: .8rem;
}

/* CTA strip */
.vets-near-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--primary-light);
  border: 1px solid #c5d5e5;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  flex-wrap: wrap;
}
.vets-near-cta-icon {
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

/* ── Vets-Near index page ── */
.vets-near-index-state-heading {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  margin-bottom: .75rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--border);
}
.vets-near-index-city-card {
  display: flex;
  flex-direction: column;
  padding: .6rem .85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  transition: border-color .15s, background .15s;
}
.vets-near-index-city-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}
.vets-near-index-city-card.vni-thin {
  opacity: .75;
}
.vni-city-name {
  font-size: .85rem;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vni-count {
  font-size: .7rem;
  color: var(--text-muted);
  margin-top: 1px;
}

/* ── Sub-rating star pickers (write review) ── */
.sub-star-btn {
  background: none;
  border: none;
  padding: 2px;
  cursor: pointer;
  line-height: 1;
}
.sub-star-icon {
  font-size: 1.1rem;
  color: #d1d5db;
  transition: color .1s;
}
.sub-star-btn:hover .sub-star-icon,
.sub-star-fill .sub-star-icon { color: var(--star-color); }
.bi-star-fill.sub-star-icon { color: var(--star-color); }

/* ── Resource articles ── */
.resource-article { line-height: 1.8; color: #1f2937; }
.resource-article h2 { font-size: 1.15rem; font-weight: 700; margin-top: 2rem; margin-bottom: .75rem; }
.resource-article p { margin-bottom: 1rem; }
.resource-article ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.resource-article li { margin-bottom: .4rem; }

/* ── Pull Quote Cards (homepage) ── */
.pull-quote-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pull-quote-icon {
  font-size: 2rem;
  color: var(--primary);
  opacity: .25;
  line-height: 1;
  margin-bottom: .5rem;
}
.pull-quote-body {
  font-size: .9rem;
  color: #374151;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1rem;
  font-style: italic;
}
.pull-quote-meta { margin-top: auto; }
.pull-quote-author {
  font-weight: 700;
  font-size: .85rem;
  color: var(--text-main);
}
.pull-quote-practice {
  font-size: .78rem;
  color: var(--text-muted);
}

/* ── Resource Guide Cards (homepage) ── */
.resource-guide-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-main);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.resource-guide-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  color: var(--text-main);
}
.resource-guide-icon {
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: .1rem;
}
.resource-guide-title {
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: .2rem;
}
.resource-guide-desc {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Responsive tweaks ── */
@media (max-width: 768px) {
  .hero-section { padding: 50px 0 40px; }
  .nav-search-form { display: none !important; }
  .search-result-avatar { display: none; }
  .form-card { padding: 1.5rem; }
  .vet-map { height: 280px; }
}

/* ── Sticky Write-a-Review FAB (vet profile) ── */
.review-fab {
  position: fixed;
  bottom: 5rem;   /* above back-to-top */
  right: 1.5rem;
  z-index: 1040;
  border-radius: 50px;
  padding: .55rem 1.1rem;
  font-size: .875rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,.22);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
  white-space: nowrap;
}
.review-fab.fab-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
@media (max-width: 576px) {
  .review-fab {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    text-align: center;
  }
}

/* ── Claim listing card ── */
.claim-card {
  background: #f0f4f8;
  border: 1px solid #c5d5e5;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.claim-card .claim-icon {
  font-size: 1.4rem;
  color: var(--primary);
}

/* ── Link affordance in body copy ── */
.review-body a,
.profile-bio-text a,
.info-card p a {
  color: var(--primary);
  text-decoration: underline;
}
.review-body a:hover,
.profile-bio-text a:hover,
.info-card p a:hover {
  color: var(--primary-dark);
}

/* ── Profile Jump Navigation ── */
.profile-jump-nav {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}
.profile-jump-link {
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: .3rem .7rem;
  border-radius: 999px;
  transition: background .15s, color .15s;
}
.profile-jump-link:hover {
  background: var(--bg-light);
  color: var(--primary);
}
.profile-jump-cta {
  margin-left: auto;
  background: var(--primary);
  color: #fff !important;
  font-weight: 600;
}
.profile-jump-cta:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* ── Map Scroll Overlay ── */
.map-scroll-overlay {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .78rem;
  padding: .35rem .85rem;
  border-radius: 999px;
  pointer-events: none;
  white-space: nowrap;
  z-index: 500;
  transition: opacity .3s;
}

/* ── Mobile filter panel collapse chevron ── */
[data-bs-target="#filterPanel"] .bi-chevron-down {
  transition: transform .2s;
}
[data-bs-target="#filterPanel"][aria-expanded="true"] .bi-chevron-down {
  transform: rotate(180deg);
}


/* ── Coverage overlay tooltip ── */
.coverage-tooltip {
  background: rgba(30, 41, 59, 0.85);
  border: none;
  border-radius: 6px;
  color: #f1f5f9;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 5px 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.coverage-tooltip::before { display: none; }

/* ── Active filter chips (search results) ── */
.filter-chip {
  display: inline-flex;
  align-items: center;
  padding: .3rem .7rem;
  background: #e0f2fe;
  color: #0369a1;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  transition: background .15s, color .15s;
}
.filter-chip:hover { background: #bae6fd; color: #075985; }
.filter-chip-danger { background: #fee2e2; color: #b91c1c; }
.filter-chip-danger:hover { background: #fecaca; color: #991b1b; }
.filter-chip-success { background: #dcfce7; color: #15803d; }
.filter-chip-success:hover { background: #bbf7d0; color: #166534; }

/* ── Avatar wrap + specialty icon badge ── */
.avatar-wrap {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}
.avatar-specialty-badge {
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 22px;
  height: 22px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--primary);
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
}

/* ── Vet profile highlight chips ── */
.highlight-chip {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  padding: .4em .85em;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(78,109,140,.18);
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
}
