/* ==========================================================================
   Mayank Sonography & Diagnostic Center - main stylesheet
   Hand-written, no framework. Mobile-first, CSS Grid + Flexbox.
   ========================================================================== */

:root {
  /* Brand palette */
  --color-primary: #0f8c5b;
  --color-primary-dark: #0b6b45;
  --color-primary-light: #e6f5ee;
  --color-secondary: #12406b;
  --color-secondary-light: #1c8adb;
  --color-accent: #e7a93c;
  --color-accent-dark: #c98f28;

  --color-surface: #ffffff;
  --color-bg: #eef1f3;
  --color-text: #1e2a32;
  --color-text-muted: #5b6b74;
  --color-border: #e3e8ea;

  --color-success: #2e9e5b;
  --color-error: #d64545;

  --font-base: "Noto Sans", "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 8px rgba(18, 41, 54, 0.06);
  --shadow-md: 0 4px 16px rgba(18, 41, 54, 0.08);
  --shadow-lg: 0 12px 32px rgba(18, 41, 54, 0.12);

  --container-width: 1200px;
  --header-height: 72px;
}

/* ---------------------------------------------------------------------- */
/* Reset / base                                                            */
/* ---------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1, h2, h3, h4, p {
  margin: 0;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-secondary);
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 20px;
}

section {
  padding-block: clamp(40px, 6vw, 80px);
}

.section-alt {
  background: var(--color-surface);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(28px, 4vw, 48px);
}

.section-head .eyebrow {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 38px);
}

.section-head p {
  color: var(--color-text-muted);
  margin-top: 12px;
  font-size: clamp(15px, 2vw, 17px);
}

/* ---------------------------------------------------------------------- */
/* Buttons                                                                 */
/* ---------------------------------------------------------------------- */
.icon-inline {
  vertical-align: -3px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

.btn-accent {
  background: var(--color-accent);
  color: #1e2a32;
  box-shadow: var(--shadow-md);
}

.btn-accent:hover {
  background: var(--color-accent-dark);
}

.btn-outline-primary {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline-primary:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

/* ---------------------------------------------------------------------- */
/* Header / Nav                                                           */
/* ---------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(230, 245, 238, 0.92) 55%, rgba(255, 249, 235, 0.92) 100%);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: var(--header-height);
  gap: 36px;
}

.header-inner .header-cta {
  margin-left: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-text {
  min-width: 0;
}

.brand-text strong,
.brand-text span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  object-fit: contain;
}

/* Wide wordmark-style uploaded logo (business name baked into the image),
   sized by height with the width following its own aspect ratio - unlike
   .brand-mark this isn't forced into a square icon slot. */
.brand-logo {
  height: 64px;
  width: auto;
  max-width: 280px;
  flex-shrink: 0;
}

@media (max-width: 420px) {
  .brand-logo {
    height: 48px;
    max-width: 48vw;
  }
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 17px;
  color: var(--color-secondary);
  font-weight: 800;
}

.brand-text span {
  font-size: 11px;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.main-nav > a,
.nav-dropdown-toggle {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--color-text);
  position: relative;
  padding: 6px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.main-nav > a::after,
.nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--color-primary);
  transition: width 0.2s ease;
}

.main-nav > a:hover::after,
.main-nav > a.active::after,
.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown.active .nav-dropdown-toggle::after,
.nav-dropdown.open .nav-dropdown-toggle::after {
  width: 100%;
}

.main-nav > a.active,
.nav-dropdown.active .nav-dropdown-toggle,
.nav-dropdown.open .nav-dropdown-toggle {
  color: var(--color-primary);
}

.nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 120;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #fff;
  border-left: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
  transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown.open .nav-chevron,
.nav-dropdown:focus-within .nav-chevron {
  transform: rotate(180deg);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-secondary);
  position: relative;
  transition: 0.2s;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #eef8f3 0%, var(--color-surface) 60%);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

/* Soft brand-color glow behind the banner/headline - purely decorative,
   sits below the content via z-index so it never interferes with it. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(48% 55% at 12% 8%, rgba(15, 140, 91, 0.14), transparent 70%),
    radial-gradient(40% 45% at 92% 0%, rgba(231, 169, 60, 0.16), transparent 70%),
    radial-gradient(50% 50% at 75% 90%, rgba(18, 64, 107, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  align-items: start;
  padding-block: clamp(20px, 3vw, 36px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(231, 169, 60, 0.12);
  color: var(--color-accent-dark);
  border: 1px solid rgba(231, 169, 60, 0.35);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-tagline-hi {
  font-size: clamp(12px, 1.4vw, 14px);
  color: var(--color-primary-dark);
  font-weight: 600;
  margin-bottom: 6px;
}

.hero h1 {
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero p.lead {
  font-size: clamp(13px, 1.5vw, 15px);
  color: var(--color-text-muted);
  max-width: 480px;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.hero-stats .stat strong {
  display: block;
  font-size: 20px;
  color: var(--color-secondary);
}

.hero-stats .stat span {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ---------------------------------------------------------------------- */
/* Homepage banner slider (admin-managed, optional - sits in the hero's   */
/* media slot; falls back to the static hero image when no banners exist) */
/* ---------------------------------------------------------------------- */
.hero-media {
  position: relative;
}

.banner-slider {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.banner-slider-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.banner-slider-track::-webkit-scrollbar {
  display: none;
}

.banner-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.banner-slide-link {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-primary-light);
}

@media (min-width: 768px) {
  .banner-slide-link {
    aspect-ratio: 16 / 10;
  }
}

.banner-slide-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(16px, 4vw, 32px);
  background: linear-gradient(0deg, rgba(10, 20, 25, 0.75) 0%, rgba(10, 20, 25, 0) 70%);
  color: #fff;
}

.banner-caption h3 {
  color: #fff;
  font-size: clamp(16px, 2.4vw, 22px);
  margin-bottom: 4px;
}

.banner-caption p {
  font-size: clamp(12px, 1.4vw, 14px);
  color: #e6eef2;
  max-width: 420px;
  margin-bottom: 10px;
}

.banner-nav {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  font-size: 20px;
  line-height: 1;
  color: var(--color-secondary);
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .banner-nav {
    display: flex;
  }
}

.banner-prev { left: 12px; }
.banner-next { right: 12px; }

.banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 7px;
  z-index: 2;
}

.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.55);
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.banner-dot.active {
  background: #fff;
  width: 20px;
  border-radius: var(--radius-full);
  transition: width 0.2s ease;
}

/* ---------------------------------------------------------------------- */
/* Trust strip                                                             */
/* ---------------------------------------------------------------------- */
.trust-strip {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding-block: 22px;
}

.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-secondary);
}

.trust-item svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ---------------------------------------------------------------------- */
/* Cards grid                                                              */
/* ---------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 24px;
}

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

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Doctor card */
.doctor-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.doctor-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.doctor-photo-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--color-primary-light);
  overflow: hidden;
}

.doctor-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.doctor-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doctor-avatar-placeholder svg {
  width: 100%;
  height: 100%;
}

.doctor-featured-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-accent);
  color: #1e2a32;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.doctor-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.doctor-info h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.doctor-qualification {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.doctor-designation {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 10px;
}

.doctor-specialty-chip {
  display: inline-block;
  align-self: flex-start;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.doctor-info .btn {
  margin-top: auto;
}

/* Doctor slider (homepage) - flex/scroll-snap track, same pattern as the
   banner slider. Slide width is deliberately capped per breakpoint so a
   portrait doctor photo never dominates the screen on mobile. */
.doctor-slider {
  position: relative;
}

.doctor-slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.doctor-slider-track::-webkit-scrollbar {
  display: none;
}

.doctor-slide {
  flex: 0 0 78%;
  max-width: 280px;
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .doctor-slide { flex-basis: 46%; max-width: none; }
}

@media (min-width: 900px) {
  .doctor-slide { flex-basis: 31%; }
}

@media (min-width: 1200px) {
  .doctor-slide { flex-basis: 23%; }
}

.doctor-slider-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.doctor-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-secondary);
  font-size: 22px;
  line-height: 1;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.doctor-nav-btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* Testimonial card (approved patient feedback, homepage) */
.testimonial-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.testimonial-stars {
  color: var(--color-accent);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.testimonial-message {
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
}

.testimonial-author strong {
  color: var(--color-secondary);
  font-size: 14px;
}

.testimonial-author span {
  color: var(--color-text-muted);
  font-size: 13px;
}

/* Service card */
.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card.featured {
  border-color: var(--color-accent);
}

.service-ribbon {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--color-accent);
  color: #1e2a32;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-icon svg {
  width: 30px;
  height: 30px;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.service-card .link-more {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 14px;
}

/* ---------------------------------------------------------------------- */
/* Tests & Pricing rate list                                               */
/* ---------------------------------------------------------------------- */
.price-groups {
  display: grid;
  gap: 24px;
}

@media (min-width: 800px) {
  .price-groups {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
}

.price-group {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.price-group h3 {
  font-size: 18px;
  color: var(--color-primary-dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary-light);
}

.price-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--color-border);
  font-size: 14px;
}

.price-list li:last-child {
  border-bottom: none;
}

.price-list-name {
  color: var(--color-text);
  font-weight: 600;
}

.price-list-dots {
  flex: 1;
  border-bottom: 1px dotted var(--color-border);
  margin-bottom: 4px;
  min-width: 12px;
}

.price-list-amount {
  color: var(--color-primary-dark);
  font-weight: 800;
  white-space: nowrap;
  text-align: right;
}

.price-list-amount small {
  display: block;
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 11px;
}

/* Multi-select test/service checkboxes on the appointment booking form,
   grouped by department like the price list, but scrollable since a full
   rate list can run to 20+ items. */
.test-select-groups {
  max-height: 300px;
  overflow-y: auto;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 6px 16px;
  background: #fff;
}

.test-select-group {
  padding: 12px 0;
  border-bottom: 1px dashed var(--color-border);
}

.test-select-group:last-child {
  border-bottom: none;
}

.test-select-group h4 {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.test-select-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 4px 12px;
}

.test-select-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  padding: 5px 0;
  cursor: pointer;
}

.test-select-item input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
  cursor: pointer;
}

/* The appointment form has more fields than the site's other forms
   (feedback/contact) - compact it specifically so it doesn't tower over
   the page, without changing the shared .form-control size everywhere
   else. */
#appointmentForm .form-group {
  margin-bottom: 13px;
}

#appointmentForm .form-control {
  padding: 9px 12px;
  font-size: 14px;
}

#appointmentForm .form-group label {
  font-size: 12.5px;
  margin-bottom: 5px;
}

#appointmentForm .test-select-groups {
  max-height: 220px;
  padding: 4px 14px;
}

#appointmentForm .test-select-group {
  padding: 9px 0;
}

#appointmentForm .test-select-item {
  font-size: 13px;
  padding: 3px 0;
}

#appointmentForm .test-select-item input[type="checkbox"] {
  width: 15px;
  height: 15px;
}

#appointmentForm textarea.form-control {
  min-height: 80px;
}

/* ---------------------------------------------------------------------- */
/* About / feature blocks                                                  */
/* ---------------------------------------------------------------------- */
.feature-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
}

.feature-list svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.split {
  display: grid;
  gap: 40px;
  align-items: center;
}

#book-appointment .split,
.split-align-top {
  align-items: start;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split.reverse > *:first-child {
    order: 2;
  }
}

.split img,
.split .split-media {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Fixed-aspect frame for content photos (e.g. service images) whose source
   file dimensions aren't guaranteed - keeps them from rendering oversized
   on narrow/mobile viewports. */
.media-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-poster-wrap {
  display: flex;
  justify-content: center;
}

.about-poster-img {
  max-width: 340px;
  width: 100%;
  height: auto;
  box-shadow: var(--shadow-md);
}

/* ---------------------------------------------------------------------- */
/* Filter tabs (Doctors / Services listing)                                */
/* ---------------------------------------------------------------------- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.filter-tab {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  transition: all 0.15s ease;
}

.filter-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-tab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ---------------------------------------------------------------------- */
/* Gallery                                                                 */
/* ---------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--color-border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 25, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ---------------------------------------------------------------------- */
/* Forms                                                                   */
/* ---------------------------------------------------------------------- */
.form-group {
  margin-bottom: 18px;
}

.form-row {
  display: flex;
  gap: 16px;
}

@media (max-width: 480px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 7px;
  color: var(--color-secondary);
  letter-spacing: 0.01em;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(15, 140, 91, 0.12);
}

.form-control:hover {
  border-color: #c9d3d8;
}

/* Card wrapper for standalone forms (appointment, feedback, enquiry) - a
   soft brand-tinted panel so plain white inputs don't disappear against a
   white section background. */
.form-card {
  background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-surface) 220px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-lg);
}

.form-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.form-card-icon svg {
  width: 22px;
  height: 22px;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  color: var(--color-error);
  font-size: 13px;
  margin-top: 4px;
  display: none;
}

.form-error.show {
  display: block;
}

.form-alert {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  display: none;
}

.form-alert.show {
  display: block;
}

.form-alert.success {
  background: #e7f7ee;
  color: var(--color-success);
  border: 1px solid #b9e6cc;
}

.form-alert.error {
  background: #fdecec;
  color: var(--color-error);
  border: 1px solid #f5c2c2;
}

/* honeypot field - hidden from real users, visible to bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* arithmetic captcha - a distinct dashed "security check" box, question
   and answer box sitting on one line rather than reading like a normal
   stacked label+field. */
.captcha-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-bg);
  border: 1.5px dashed #b9c3c8;
  border-radius: var(--radius-md);
  padding: 12px 16px;
}

.captcha-icon {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.captcha-box label {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
  font-size: 14px;
  color: var(--color-text);
}

.captcha-input {
  width: 64px;
  flex-shrink: 0;
  text-align: center;
  font-weight: 800;
  padding: 10px 8px;
}

@media (max-width: 420px) {
  .captcha-box label { font-size: 13px; }
  .captcha-input { width: 52px; padding: 8px 6px; }
}

/* ---------------------------------------------------------------------- */
/* Footer                                                                  */
/* ---------------------------------------------------------------------- */
.site-footer {
  background: var(--color-secondary);
  color: #cddce6;
  padding-block: 56px 24px;
}

.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  }
}

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.footer-col p,
.footer-col a {
  font-size: 14px;
  color: #b9cad6;
  line-height: 1.8;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand strong {
  color: #fff;
  font-size: 17px;
}

.footer-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-map iframe {
  width: 100%;
  height: 180px;
  border: 0;
  display: block;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 13px;
  color: #92a7b6;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

/* ---------------------------------------------------------------------- */
/* Sticky mobile call bar + floating WhatsApp bubble                      */
/* ---------------------------------------------------------------------- */
.mobile-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  z-index: 90;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
}

.mobile-call-bar a {
  flex: 1;
  text-align: center;
  padding: 14px 10px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mobile-call-bar .call { background: var(--color-secondary); color: #fff; }
.mobile-call-bar .whatsapp { background: #25d366; color: #fff; }

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 90;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

@media (max-width: 767px) {
  body { padding-bottom: 58px; }
  .whatsapp-float { display: none; }
}

@media (min-width: 768px) {
  .mobile-call-bar { display: none; }
}

/* Floating vertical side tabs (quick-access to Book Appointment / Feedback) */
.side-tabs {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-tab {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 16px 10px;
  /* rotate(180deg) flips which physical corner this lands on - rounding
     top-right/bottom-right here is what actually renders as the curved
     *outer* edge (facing the page); the screen-edge side stays flush. */
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: var(--shadow-md);
  transition: padding-right 0.2s ease, box-shadow 0.2s ease, background 0.15s ease;
}

/* Same solid-color pairing as .btn-primary / .btn-accent elsewhere on the
   site - a gradient here read as washed-out and hurt text contrast. */
.side-tab.tab-primary {
  background: var(--color-primary);
  color: #fff;
}

.side-tab.tab-primary:hover {
  background: var(--color-primary-dark);
}

.side-tab.tab-secondary {
  background: var(--color-secondary);
  color: #fff;
}

.side-tab.tab-secondary:hover {
  background: #0d3254;
}

.side-tab.tab-accent {
  background: var(--color-accent);
  color: #1e2a32;
}

.side-tab.tab-accent:hover {
  background: var(--color-accent-dark);
}

.side-tab:hover {
  padding-right: 16px;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 767px) {
  .side-tab {
    font-size: 11.5px;
    padding: 12px 8px;
  }
}

/* ---------------------------------------------------------------------- */
/* Page header (inner pages banner)                                       */
/* ---------------------------------------------------------------------- */
.page-banner {
  background: linear-gradient(120deg, var(--color-primary-dark), var(--color-secondary));
  color: #fff;
  padding-block: 48px;
  text-align: center;
}

.page-banner h1 {
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: #cfe9dd;
  margin-top: 10px;
}

.breadcrumb a { color: #cfe9dd; font-weight: 600; }
.breadcrumb a:hover { color: #fff; }

/* ---------------------------------------------------------------------- */
/* Utilities / reveal animation                                           */
/* ---------------------------------------------------------------------- */
/* Content is visible by default (no-JS / JS-not-yet-run baseline).
   Only once .js is confirmed on <html> do reveal targets start hidden
   and wait for IntersectionObserver to add .in-view - this is a
   progressive enhancement, never a requirement to see the content. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------------------------------------------------------------------- */
/* Responsive: nav collapse for mobile                                    */
/* ---------------------------------------------------------------------- */
@media (max-width: 991px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    border-bottom: 1px solid var(--color-border);
  }

  .main-nav.open {
    max-height: 85vh;
    overflow-y: auto;
  }

  .main-nav > a {
    width: 100%;
    padding: 14px 20px;
    border-top: 1px solid var(--color-border);
  }

  .nav-dropdown {
    width: 100%;
    border-top: 1px solid var(--color-border);
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 14px 20px;
    text-align: left;
  }

  .nav-dropdown-toggle::after {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    min-width: 0;
    width: 100%;
    background: #f8fafb;
    transition: max-height 0.25s ease, padding 0.25s ease;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  /* Override desktop flyout transform on mobile accordion */
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu,
  .nav-dropdown.open .nav-dropdown-menu {
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    pointer-events: auto;
    max-height: 280px;
    padding: 4px 0 8px;
  }

  .nav-dropdown-menu a {
    display: block;
    padding: 12px 28px;
    border-radius: 0;
    white-space: normal;
  }

  .header-cta .btn span.txt {
    display: none;
  }

  .header-cta .btn {
    padding: 11px 14px;
  }

  .header-cta {
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .brand-text span {
    display: none;
  }

  .brand-text strong {
    max-width: 34vw;
  }
}

@media (min-width: 992px) {
  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

/* Compact SweetAlert notifications */
.swal-toast-popup {
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  border: 1px solid var(--color-border) !important;
  font-family: var(--font-base) !important;
  max-width: min(360px, calc(100vw - 32px)) !important;
}

.swal-toast-popup .swal2-icon.swal-toast-icon {
  width: 2rem !important;
  height: 2rem !important;
  min-width: 2rem !important;
  margin: 0 12px 0 0 !important;
  border-width: 2px !important;
}

.swal-toast-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--color-secondary) !important;
  margin: 0 !important;
  padding: 0 !important;
}

.swal-toast-text {
  font-size: 12.5px !important;
  color: var(--color-text-muted) !important;
  margin: 3px 0 0 !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
}

.swal-toast-progress {
  background: var(--color-primary) !important;
  height: 3px !important;
}

.swal-compact-popup {
  border-radius: 14px !important;
  box-shadow: 0 16px 44px rgba(18, 41, 54, 0.2) !important;
  font-family: var(--font-base) !important;
}

.swal-compact-popup .swal2-icon.swal-compact-icon {
  width: 2.75rem !important;
  height: 2.75rem !important;
  margin: 0 auto 10px !important;
  border-width: 2px !important;
}

.swal-compact-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--color-secondary) !important;
  padding: 0 !important;
}

.swal-compact-text {
  font-size: 13px !important;
  color: var(--color-text-muted) !important;
  line-height: 1.5 !important;
  margin-top: 6px !important;
  font-weight: 500 !important;
}

.swal-compact-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--color-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  padding: 8px 24px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  margin-top: 16px !important;
  cursor: pointer !important;
  transition: background-color 0.15s ease !important;
  box-shadow: none !important;
}

.swal-compact-btn:hover {
  background: var(--color-primary-dark) !important;
}

/* Quick action cards (homepage) */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.quick-action-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.quick-action-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.quick-action-card.accent {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-color: transparent;
  color: #fff;
}

.quick-action-card.accent strong,
.quick-action-card.accent span { color: #fff; }

.quick-action-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-action-card.accent .quick-action-icon {
  background: rgba(255,255,255,.18);
  color: #fff;
}

.quick-action-icon svg { width: 24px; height: 24px; }

.quick-action-card strong { font-size: 16px; color: var(--color-secondary); }
.quick-action-card span { font-size: 13px; color: var(--color-text-muted); }

/* Download report hero */
.report-hero {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  padding: 56px 0;
  color: #fff;
}

.report-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.report-hero-copy h1 {
  color: #fff;
  margin: 10px 0 14px;
}

.report-hero-copy p {
  color: rgba(255,255,255,.88);
  max-width: 480px;
  line-height: 1.6;
}

.report-hero-points {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.report-hero-points li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.92);
}

.report-hero-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.report-login-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-lg);
}

.report-login-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.report-login-icon svg { width: 26px; height: 26px; }

.report-login-card h2 {
  margin: 0 0 6px;
  color: var(--color-secondary);
  font-size: 22px;
}

.report-login-sub {
  color: var(--color-text-muted);
  font-size: 13.5px;
  margin: 0 0 20px;
}

.report-help {
  text-align: center;
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--color-text-muted);
}

.report-help a { color: var(--color-primary); font-weight: 700; }

/* Patient dashboard */
.report-dashboard {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.report-dashboard-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.report-dashboard-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.report-grid {
  display: grid;
  gap: 16px;
}

.report-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fafbfc;
}

.report-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.report-card-icon svg { width: 22px; height: 22px; }

.report-card-body h3 {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--color-secondary);
}

.report-card-body p {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-muted);
}

.report-expiry {
  margin-top: 4px !important;
  font-size: 12px !important;
  color: var(--color-primary) !important;
  font-weight: 600;
}

.report-payment-pending {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: #fff4e0;
  color: #b5790a;
  border: 1px solid #f5dfa8;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.report-empty {
  text-align: center;
  padding: 40px 20px;
}

.report-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.report-empty-icon svg { width: 30px; height: 30px; }

.page-banner.compact { padding: 36px 0; }

/* Public modal (patient password change) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 41, 54, 0.55);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  z-index: 200;
  overflow-y: auto;
}

.modal-overlay.open { display: flex; }

.modal-box {
  background: #fff;
  border-radius: var(--radius-md);
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--color-border);
}

.modal-head h3 { margin: 0; font-size: 16px; color: var(--color-secondary); }

.modal-close {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--color-text-muted);
  cursor: pointer;
}

.modal-body { padding: 22px; }
.modal-foot {
  padding: 16px 22px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 900px) {
  .quick-actions { grid-template-columns: 1fr; }
  .report-hero-inner { grid-template-columns: 1fr; }
  .report-card { grid-template-columns: 1fr; }
  .report-card .btn { justify-self: start; }
}
