/*
Theme Name: AshuCare
Theme URI: https://ashucare.in
Author: AshuCare Team
Description: Rajasthan Hospital Directory - Premium Healthcare Platform
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: rajcare
*/

/* ── FONTS ────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Rethink+Sans:ital,wght@0,400..800;1,400..800&display=swap');

/* ── TOKENS ───────────────────────────────────────────────────────────── */
:root {
  --font-display: 'Fraunces', serif;
  --font-body: 'Rethink Sans', sans-serif;

  --primary: #C1440E;
  --primary-dark: #932E05;
  --primary-light: #FDF0EB;
  --primary-mid: #E8846A;
  --primary-glow: rgba(193,68,14,.15);

  --accent: #1A6B52;
  --accent-light: #EAF5F1;
  --accent-dark: #0F4030;
  --gold: #C8861F;
  --gold-light: #FDF5E6;
  --blue: #1B5EA8;
  --blue-light: #EBF3FD;

  --white: #FFFFFF;
  --gray-50: #FAFAF9;
  --gray-75: #F6F5F3;
  --gray-100: #EEEDE9;
  --gray-150: #E5E3DE;
  --gray-200: #D8D5CE;
  --gray-300: #B8B5AC;
  --gray-400: #908E87;
  --gray-500: #6B6860;
  --gray-600: #504E48;
  --gray-700: #3A3831;
  --gray-800: #252420;
  --gray-900: #1A1916;

  --bg: var(--gray-50);
  --surface: #FFFFFF;
  --surface-alt: var(--gray-75);

  --shadow-xs: 0 1px 2px rgba(0,0,0,.05);
  --shadow-sm: 0 1px 4px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 8px 24px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.10), 0 16px 48px rgba(0,0,0,.07);
  --shadow-xl: 0 16px 48px rgba(0,0,0,.12), 0 32px 80px rgba(0,0,0,.08);
  --shadow-glow: 0 4px 24px rgba(193,68,14,.25);

  --r-xs: 4px; --r-sm: 8px; --r-md: 12px; --r-lg: 18px;
  --r-xl: 24px; --r-2xl: 32px; --r-full: 9999px;

  --ease-out: cubic-bezier(0.16,1,0.3,1);
  --t-fast: 120ms; --t-base: 200ms; --t-slow: 300ms;
}

/* ── RESET ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-size: 15px; line-height: 1.7;
  color: var(--gray-900); background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2 {
  font-family: var(--font-display); font-weight: 400;
  line-height: 1.12; letter-spacing: -0.3px; color: var(--gray-900);
}
h3, h4, h5 {
  font-family: var(--font-body); font-weight: 700;
  line-height: 1.2; letter-spacing: -0.2px; color: var(--gray-900);
}
h3 { font-size: clamp(1.05rem,1.6vw,1.3rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
h5 { font-size: 0.9rem; font-weight: 600; }
h1 { font-size: clamp(1.9rem,4vw,3.2rem); }
h2 { font-size: clamp(1.5rem,2.6vw,2.1rem); }
h3 { font-size: clamp(1.05rem,1.6vw,1.3rem); }
h1 em, h2 em { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--primary); }
p  { font-family: var(--font-body); line-height: 1.72; color: var(--gray-600); }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--font-body); cursor: pointer; }
input, select, textarea { font-family: var(--font-body); }

/* ── LAYOUT CONTAINERS ────────────────────────────────────────────────── */
.section { padding: 56px 0; }
.section-inner    { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; width: 100%; }
.page-hero-inner  { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; width: 100%; position: relative; z-index: 2; }
.hero-inner       { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; width: 100%; position: relative; z-index: 2; }

.section-label {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--primary); margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}

.section-title {
  font-family: var(--font-display); font-size: clamp(1.6rem,2.6vw,2.3rem);
  font-weight: 400; letter-spacing: -0.2px; color: var(--gray-900); line-height: 1.15;
}
.section-title em { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--primary); }
.section-subtitle { font-size: 15px; color: var(--gray-500); margin-top: 8px; line-height: 1.65; max-width: 540px; }
.section-header { margin-bottom: 36px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.view-all {
  font-size: 15px; font-weight: 700; color: var(--primary);
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 16px; border-radius: var(--r-full); border: 1.5px solid rgba(193,68,14,.2);
  transition: all var(--t-base) var(--ease-out);
}
.view-all:hover { background: var(--primary-light); border-color: var(--primary); }

/* ── EMERGENCY BAR ────────────────────────────────────────────────────── */
.emergency-bar { background: var(--primary); padding: 9px 1.5rem; text-align: center; }
.emergency-bar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap;
}
.emergency-bar strong { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.85); }
.emergency-bar a { font-size: 15px; font-weight: 700; color: white; text-decoration: underline; text-underline-offset: 2px; }
.pulse {
  display: inline-block; width: 7px; height: 7px; background: #FFD700;
  border-radius: 50%; animation: pulseAnim 1.8s ease-in-out infinite;
}
@keyframes pulseAnim {
  0%   { box-shadow: 0 0 0 0 rgba(255,215,0,.6); }
  70%  { box-shadow: 0 0 0 7px rgba(255,215,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,215,0,0); }
}

/* ── NAVIGATION ───────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-150); padding: 0 2.5rem;
  transition: box-shadow var(--t-base) var(--ease-out);
}
nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; height: 66px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg,var(--primary),var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(193,68,14,.3);
}
.logo-icon svg { width: 20px; height: 20px; fill: white; }
.logo-text { font-size: 19px; font-weight: 800; color: var(--gray-900); letter-spacing: -0.5px; }
.logo-text span { color: var(--primary); }
.nav-links { display: flex; gap: 4px; align-items: center; list-style: none; flex: 1; }
.nav-links li { list-style: none; }
.nav-links li a, .nav-links a {
  padding: 7px 11px; border-radius: var(--r-md); color: var(--gray-600);
  font-size: 15px; font-weight: 500; letter-spacing: 0.1px;
  transition: all var(--t-base) var(--ease-out); white-space: nowrap;
}
.nav-links li a:hover, .nav-links a:hover,
.nav-links .current-menu-item a, .nav-links li.current-menu-item a {
  color: var(--primary); background: var(--primary-light);
}
.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-login-pill {
  background: var(--primary); color: white; padding: 7px 18px; border-radius: 50px;
  font-size: 15px; font-weight: 700; text-decoration: none;
  transition: background var(--t-base); flex-shrink: 0; white-space: nowrap;
}
.nav-login-pill:hover { background: var(--primary-dark); color: white; }
.nav-user-pill {
  display: flex; align-items: center; gap: 6px;
  background: var(--primary-light); color: var(--primary);
  padding: 5px 12px 5px 5px; border-radius: 50px;
  font-size: 15px; font-weight: 700; text-decoration: none;
  flex-shrink: 0; white-space: nowrap; max-width: 150px;
  overflow: hidden; text-overflow: ellipsis; transition: opacity var(--t-base);
}
.nav-user-pill:hover { opacity: .85; color: var(--primary); }
.nav-user-avatar {
  width: 28px; height: 28px; background: var(--primary); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; flex-shrink: 0;
}
.nav-state-badge {
  display: flex; align-items: center; gap: 5px;
  background: var(--primary-light); border: 1.5px solid rgba(193,68,14,.15);
  padding: 5px 12px; border-radius: var(--r-full);
  font-size: 13px; font-weight: 700; color: var(--primary); flex-shrink: 0;
}
.nav-state-badge .dot {
  width: 6px; height: 6px; background: var(--primary);
  border-radius: 50%; animation: pulseAnim 2s infinite;
}
.hamburger {
  display: none; background: none; border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm); padding: 7px 10px; font-size: 17px;
  color: var(--gray-700); transition: all var(--t-fast);
}
.hamburger:hover { border-color: var(--primary); color: var(--primary); }
/* Mobile nav dropdown */
.nav-links.open {
  display: flex !important; flex-direction: column;
  position: absolute; top: 66px; left: 0; right: 0;
  background: white; border-bottom: 1px solid var(--gray-150);
  padding: 10px 16px 14px; gap: 2px; box-shadow: var(--shadow-md); z-index: 99;
}
/* Mobile bottom nav */
.mobile-bottom-nav { display: none !important; }

/* ── HERO ─────────────────────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(ellipse 80% 50% at 70% 50%, rgba(193,68,14,.18) 0%, transparent 60%),
    linear-gradient(155deg,#141210 0%,#1F1410 40%,#2A1508 70%,#180C04 100%);
  position: relative; overflow: hidden; padding: 64px 0 80px;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(193,68,14,.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(212,149,42,.06) 0%, transparent 35%);
}
.hero-bg-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2.2rem,4.8vw,3.8rem);
  font-weight: 400; color: #FFFFFF; line-height: 1.1; letter-spacing: -0.5px;
  margin-bottom: 20px; max-width: 700px;
}
.hero h1 em { font-family: var(--font-display); font-style: italic; font-weight: 400; color: #F5A96A; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  padding: 6px 16px; border-radius: var(--r-full); margin-bottom: 20px;
  font-size: 13px; font-weight: 700; color: rgba(255,255,255,.65);
  letter-spacing: 1.2px; text-transform: uppercase;
}
.hero-subtitle {
  color: rgba(255,255,255,.5); font-size: 15.5px; max-width: 520px;
  margin-bottom: 36px; line-height: 1.72; font-weight: 400;
}
/* Search box */
.search-box {
  background: white; border-radius: var(--r-xl); padding: 6px;
  display: flex; gap: 6px; max-width: 680px; align-items: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.25),0 2px 8px rgba(0,0,0,.15); flex-wrap: nowrap;
}
.search-box input {
  flex: 1; min-width: 0; padding: 14px 18px; border: none; outline: none;
  font-size: 14px; color: var(--gray-900); background: transparent;
}
.search-box input::placeholder { color: var(--gray-400); }
.search-select {
  flex: 0 0 auto; padding: 14px 14px; border: none; border-left: 1px solid var(--gray-150);
  font-size: 14px; color: var(--gray-700); background: transparent;
  outline: none; cursor: pointer; -webkit-appearance: none; white-space: nowrap;
}
.search-input-row, .search-select-row { display: none; }
.search-btn {
  flex-shrink: 0; white-space: nowrap;
  background: linear-gradient(135deg,var(--primary),var(--primary-dark));
  color: white; border: none; padding: 13px 22px; border-radius: var(--r-lg);
  font-size: 14px; font-weight: 700; cursor: pointer;
  transition: all var(--t-base) var(--ease-out);
  text-decoration: none; display: inline-flex; align-items: center;
  box-shadow: 0 4px 12px rgba(193,68,14,.3); letter-spacing: .2px;
}
.search-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(193,68,14,.4); color: white; }
/* Hero stats */
.hero-stats { display: flex; gap: 40px; margin-top: 48px; align-items: center; flex-wrap: wrap; }
.hero-stat { position: relative; }
.hero-stat::after {
  content: ''; position: absolute; right: -20px; top: 10%; height: 80%;
  width: 1px; background: rgba(255,255,255,.12);
}
.hero-stat:last-child::after { display: none; }
.hero-stat strong {
  display: block; font-family: var(--font-display); font-size: 28px;
  font-weight: 400; color: white; letter-spacing: -0.5px; line-height: 1;
}
.hero-stat span {
  font-size: 13px; color: rgba(255,255,255,.45); margin-top: 5px;
  display: block; text-transform: uppercase; letter-spacing: .8px; font-weight: 600;
}

/* ── PAGE HERO ────────────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(155deg,#141210 0%,#2A1508 100%);
  padding: 48px 0 52px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 100% at 10% 50%, rgba(193,68,14,.15) 0%, transparent 60%);
}
.page-hero h1 {
  font-family: var(--font-display); font-weight: 400; color: white;
  font-size: clamp(1.7rem,3.2vw,2.6rem); letter-spacing: -0.2px;
}
.page-hero p { color: rgba(255,255,255,.5); max-width: 540px; margin-top: 8px; font-size: 15px; }
.page-hero .section-label { color: rgba(193,68,14,.8); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 15px; color: rgba(255,255,255,.4); margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb span { color: rgba(255,255,255,.2); }
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: white; }

/* ── SPECIALTY CARDS ──────────────────────────────────────────────────── */
.categories-section { padding: 40px 0; background: white; }
.contact-section { padding: 40px 0; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(130px,1fr)); gap: 12px; }
.cat-card {
  background: var(--gray-50); border: 1.5px solid var(--gray-150); border-radius: var(--r-lg);
  padding: 20px 12px; text-align: center; cursor: pointer;
  transition: all var(--t-base) var(--ease-out);
  display: block; text-decoration: none; position: relative; overflow: hidden;
}
.cat-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg,var(--primary-light),transparent); opacity: 0; transition: opacity var(--t-base);
}
.cat-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cat-card:hover::before { opacity: 1; }
.cat-icon {
  width: 44px; height: 44px; border-radius: var(--r-md); background: white;
  border: 1.5px solid var(--gray-150); display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin: 0 auto 10px; transition: all var(--t-base) var(--ease-out); position: relative; z-index: 1;
}
.cat-card:hover .cat-icon { background: var(--primary); border-color: transparent; box-shadow: var(--shadow-glow); }
.cat-name { font-size: 14px; font-weight: 700; color: var(--gray-700); position: relative; z-index: 1; line-height: 1.3; }
.cat-card:hover .cat-name { color: var(--primary-dark); }
.cat-count { font-size: 12px; color: var(--gray-400); margin-top: 3px; font-weight: 500; position: relative; z-index: 1; }

/* ── HOSPITAL CARDS ───────────────────────────────────────────────────── */
.hospitals-section { padding: 40px 0; background: var(--gray-75); }
.type-tabs { display: flex; gap: 6px; margin-bottom: 24px; flex-wrap: wrap; }
.type-tab {
  padding: 8px 18px; border-radius: var(--r-full); border: 1.5px solid var(--gray-200);
  font-size: 15px; font-weight: 600; cursor: pointer; background: white; color: var(--gray-600);
  transition: all var(--t-base) var(--ease-out);
}
.type-tab.active { background: var(--primary); border-color: var(--primary); color: white; box-shadow: 0 2px 10px rgba(193,68,14,.25); }
.type-tab:hover:not(.active) { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.hospital-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 16px; }
.hospital-card, a.hospital-card {
  display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--gray-150); transition: all var(--t-slow) var(--ease-out);
  cursor: pointer; text-decoration: none; color: inherit; box-shadow: var(--shadow-xs);
}
.hospital-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.hc-head, .hospital-card-header {
  padding: 16px 18px 14px; display: flex; gap: 12px; align-items: flex-start;
  border-bottom: 1px solid var(--gray-100);
}
.hc-avatar, .hospital-avatar, .hcard-avatar {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; letter-spacing: -0.5px; overflow: hidden;
  background: var(--primary-light); color: var(--primary); box-shadow: 0 2px 8px rgba(193,68,14,.12);
}
.hc-avatar img, .hospital-avatar img, .hcard-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hc-info, .hospital-meta { flex: 1; min-width: 0; }
.hc-name, .hospital-name { font-size: 14px; font-weight: 700; color: var(--gray-900); line-height: 1.3; margin-bottom: 3px; }
.hc-addr, .hospital-addr { font-size: 14px; color: var(--gray-500); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-foot, .hospital-card-footer {
  padding: 10px 18px; display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap; background: var(--gray-50); margin-top: auto;
}
.hc-chip, .chip {
  font-size: 13px; font-weight: 600; padding: 3px 8px;
  border-radius: var(--r-full); background: white; color: var(--gray-600); border: 1px solid var(--gray-200);
}
.hc-arr {
  margin-left: auto; color: var(--primary); font-size: 16px; font-weight: 700;
  opacity: 0; transition: opacity var(--t-base),transform var(--t-base); transform: translateX(-4px);
}
.hospital-card:hover .hc-arr { opacity: 1; transform: translateX(0); }
.hospital-card-body { padding: 10px 18px; flex: 1; }
/* Badges */
.hospital-badges { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 6px; }
.badge { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: var(--r-xs); letter-spacing: .3px; }
.badge-govt, .badge-government { background: var(--accent-light); color: var(--accent-dark); }
.badge-private  { background: var(--primary-light); color: var(--primary-dark); }
.badge-trust, .badge-ngo { background: var(--gold-light); color: var(--gold); }
.badge-nabh { background: #FFF0F0; color: #B00000; }
.badge-nabl { background: #F0EDFF; color: #5B3FBA; }
.badge-jci  { background: var(--blue-light); color: var(--blue); }
.hospital-specialties { display: flex; gap: 5px; flex-wrap: wrap; }
.spec-tag { font-size: 12px; background: var(--gray-100); color: var(--gray-600); padding: 3px 8px; border-radius: var(--r-xs); font-weight: 500; }
.hospital-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.spec-label { font-size: 12px; color: var(--gray-400); text-transform: uppercase; letter-spacing: .4px; font-weight: 600; }
.spec-value { font-size: 15px; font-weight: 700; color: var(--gray-900); margin-top: 2px; }
.stars { color: var(--gold); font-size: 15px; }
.rating { display: flex; align-items: center; gap: 5px; }
.rating-num { font-size: 15px; font-weight: 700; color: var(--gray-900); }
.rating-count { font-size: 13px; color: var(--gray-400); }

/* ── DOCTOR CARDS ─────────────────────────────────────────────────────── */
.doctor-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(230px,1fr)); gap: 16px; }
.doctor-card {
  background: var(--surface); border-radius: var(--r-xl); border: 1px solid var(--gray-150);
  padding: 22px 18px; transition: all var(--t-slow) var(--ease-out); cursor: pointer; box-shadow: var(--shadow-xs);
}
.doctor-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.doctor-avatar {
  width: 68px; height: 68px; border-radius: 50%;
  background: linear-gradient(135deg,var(--primary-light),rgba(193,68,14,.05));
  border: 3px solid white; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: var(--primary); margin: 0 0 14px;
  overflow: hidden; box-shadow: 0 0 0 1px var(--gray-150),0 4px 12px rgba(193,68,14,.1); flex-shrink: 0;
}
.doctor-avatar img { width: 100%; height: 100%; object-fit: cover; }
.doctor-name { font-size: 16px; font-weight: 700; color: var(--gray-900); margin-bottom: 3px; }
.doctor-spec { font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.doctor-hospital { font-size: 14px; color: var(--gray-500); margin-bottom: 3px; display: flex; align-items: center; gap: 5px; }
.doctor-detail-row { font-size: 14px; color: var(--gray-500); margin-bottom: 3px; display: flex; align-items: center; gap: 5px; }

/* ── STATS ────────────────────────────────────────────────────────────── */
.stats-section {
  padding: 0; position: relative; overflow: hidden;
  background: linear-gradient(135deg,#141210 0%,#1F1410 50%,#1A0D04 100%);
}
.stats-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(193,68,14,.12) 0%, transparent 70%);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
  max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; position: relative;
}
.stat-card { text-align: center; padding: 48px 20px; position: relative; }
.stat-card::after {
  content: ''; position: absolute; right: 0; top: 20%; height: 60%;
  width: 1px; background: rgba(255,255,255,.08);
}
.stat-card:last-child::after { display: none; }
.stat-num {
  font-family: var(--font-display); font-size: 46px; font-weight: 400;
  color: white; letter-spacing: -1px; line-height: 1;
}
.stat-num span { color: #F5A96A; }
.stat-label { font-size: 15px; color: rgba(255,255,255,.4); margin-top: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; }
.stat-sub { font-size: 14px; color: rgba(255,255,255,.22); margin-top: 4px; }

/* ── DISTRICTS ────────────────────────────────────────────────────────── */
.dist-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(155px,1fr)); gap: 10px; }
.dist-card {
  display: flex; align-items: center; gap: 10px; padding: 13px 14px;
  background: var(--surface); border: 1px solid var(--gray-150); border-radius: var(--r-lg);
  text-decoration: none; color: inherit; transition: all var(--t-base) var(--ease-out);
}
.dist-card:hover { border-color: var(--primary); background: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.dist-icon { font-size: 20px; flex-shrink: 0; }
.dist-name { font-size: 15px; font-weight: 700; color: var(--gray-800); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dist-count { font-size: 12px; color: var(--gray-400); margin-top: 2px; font-weight: 500; }

/* ── NEWS CARDS ───────────────────────────────────────────────────────── */
.news-section { padding: 40px 0; background: white; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(290px,1fr)); gap: 18px; }
.news-card {
  background: var(--surface); border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--gray-150); transition: all var(--t-slow) var(--ease-out);
  cursor: pointer; display: flex; flex-direction: column; text-decoration: none; box-shadow: var(--shadow-xs);
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.news-img {
  height: 180px; background: linear-gradient(135deg,var(--primary-light),var(--gray-100));
  display: flex; align-items: center; justify-content: center; font-size: 48px;
  overflow: hidden; flex-shrink: 0;
}
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.news-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); margin-bottom: 6px; }
.news-title { font-size: 14px; font-weight: 700; color: var(--gray-900); line-height: 1.45; margin-bottom: 8px; }
.news-excerpt { font-size: 15px; color: var(--gray-500); line-height: 1.6; margin-bottom: 12px; flex: 1; }
.news-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.news-date { font-size: 13px; color: var(--gray-400); font-weight: 500; }
.read-more { font-size: 14px; font-weight: 700; color: var(--primary); }

/* ── LISTING PAGE ─────────────────────────────────────────────────────── */
.listing-layout {
  display: grid; grid-template-columns: 272px 1fr; gap: 28px;
  padding: 32px 2.5rem 60px; max-width: 1200px; margin: 0 auto; width: 100%;
}
.filter-sidebar {
  background: var(--surface); border-radius: var(--r-xl); border: 1px solid var(--gray-150);
  padding: 22px; height: fit-content; position: sticky; top: 82px; box-shadow: var(--shadow-xs);
}
.filter-group { padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
.filter-group:first-child { padding-top: 0; }
.filter-group:last-child { border-bottom: none; padding-bottom: 0; }
.filter-group h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--gray-700); margin-bottom: 10px; }
.filter-check {
  display: flex; align-items: center; gap: 8px; padding: 7px 10px;
  border-radius: var(--r-md); cursor: pointer; font-size: 15px; color: var(--gray-700);
  font-weight: 500; transition: background var(--t-fast); width: 100%;
}
.filter-check:hover { background: var(--gray-75); }
.filter-check input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--primary); cursor: pointer; flex-shrink: 0; }
.filter-toggle-btn { display: none; }
.filter-sidebar-inner { display: block; }
.filter-search {
  width: 100%; padding: 9px 12px; border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md); font-size: 15px; outline: none; margin-bottom: 10px;
  transition: border-color var(--t-base); font-family: var(--font-body);
}
.filter-search:focus { border-color: var(--primary); }
.clear-filters { font-size: 14px; font-weight: 600; color: var(--primary); background: none; border: none; cursor: pointer; padding: 0; }
/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span, .pagination .page-num {
  width: 40px; height: 40px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; border: 1.5px solid var(--gray-200);
  background: white; color: var(--gray-700); text-decoration: none; transition: all var(--t-base);
}
.pagination .current, .pagination a:hover, .pagination .active, .pagination .page-num:hover {
  background: var(--primary); border-color: var(--primary); color: white;
}

/* ── DETAIL / SINGLE PAGES ────────────────────────────────────────────── */
.detail-hero { background: white; border-bottom: 1px solid var(--gray-150); overflow: hidden;padding-bottom:10px; }
.detail-inner { max-width: 1200px; margin: 0 auto; padding: 20px 2.5rem 0; width: 100%; }
.detail-tabs-wrap {
  background: white; border-bottom: 1px solid var(--gray-150);
  position: sticky; top: 66px; z-index: 90;
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.detail-tabs-wrap::-webkit-scrollbar { display: none; }
.detail-tabs-inner { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }
.modal-tabs { display: flex; gap: 0; white-space: nowrap; border-bottom: none; margin-bottom: 0; }
.modal-tab {
  flex-shrink: 0; padding: 13px 20px; border: none; background: transparent;
  font-size: 15px; font-weight: 600; color: var(--gray-500); cursor: pointer;
  border-bottom: 2px solid transparent; transition: all var(--t-base); font-family: var(--font-body);
}
.modal-tab.active { color: var(--primary); border-bottom-color: var(--primary); background: rgba(193,68,14,.04); }
.modal-tab:hover:not(.active) { color: var(--gray-700); background: var(--gray-50); }
.modal-tab-content { display: none; }
.modal-tab-content.active { display: block; }
.detail-grid {
  display: grid; grid-template-columns: 1fr 340px; gap: 28px;
  max-width: 1200px; margin: 0 auto; padding: 28px 2.5rem 60px; width: 100%;
}
.detail-layout {
  display: grid; grid-template-columns: 1fr 340px; gap: 28px;
  max-width: 1200px; margin: 0 auto; padding: 28px 2.5rem 60px; width: 100%;
}
.detail-card {
  background: var(--surface); border-radius: var(--r-xl); border: 1px solid var(--gray-150);
  padding: 24px; margin-bottom: 18px; box-shadow: var(--shadow-sm);
}
.detail-card:last-child { margin-bottom: 0; }
.detail-card h3 { font-size: 15px; font-weight: 700; color: var(--gray-900); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--gray-100); }
/* Missing classes from single-hospital.php */
.contact-info-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.facility-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); gap: 8px; }
.facility-item {
  background: var(--gray-50); border: 1px solid var(--gray-150); border-radius: var(--r-md);
  padding: 10px 14px; font-size: 15px; font-weight: 500; color: var(--gray-700);
}
.insurance-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.insurance-tag {
  background: var(--accent-light); color: var(--accent-dark); border: 1px solid rgba(26,107,82,.2);
  border-radius: var(--r-full); padding: 5px 12px; font-size: 14px; font-weight: 600;
}
.rating-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rating-bar-label { font-size: 14px; font-weight: 600; color: var(--gray-600); width: 24px; flex-shrink: 0; }
.rating-bar { flex: 1; height: 6px; background: var(--gray-150); border-radius: 3px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: var(--gold); border-radius: 3px; }
.rating-bar-num { font-size: 13px; color: var(--gray-400); width: 28px; text-align: right; flex-shrink: 0; }

/* ── FORMS ────────────────────────────────────────────────────────────── */
.form-label {
  font-size: 13px; font-weight: 700; color: var(--gray-600);
  text-transform: uppercase; letter-spacing: .6px; display: block; margin-bottom: 5px;
}
.form-input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md); font-family: var(--font-body); font-size: 14px;
  color: var(--gray-900); background: var(--surface); outline: none;
  transition: border-color var(--t-base) var(--ease-out),box-shadow var(--t-base) var(--ease-out);
  margin-bottom: 14px; line-height: 1.5;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.form-input::placeholder { color: var(--gray-300); }
.form-input:disabled { background: var(--gray-75); color: var(--gray-400); cursor: not-allowed; }
.form-select { cursor: pointer; -webkit-appearance: none; }
.form-textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row > div > .form-input, .form-row > .form-input { margin-bottom: 0; }
.appt-form { background: white; border-radius: var(--r-2xl); padding: 28px; box-shadow: var(--shadow-lg); }
.appt-section { padding: 56px 0; background: linear-gradient(135deg,var(--primary-light),white); }
.appt-inner { max-width: 900px; margin: 0 auto; padding: 0 2.5rem; text-align: center; }

/* ── BUTTONS ──────────────────────────────────────────────────────────── */
.submit-btn {
  background: linear-gradient(135deg,var(--primary),var(--primary-dark)); color: white; border: none;
  padding: 14px 28px; border-radius: var(--r-lg); font-family: var(--font-body);
  font-size: 15px; font-weight: 700; cursor: pointer; transition: all var(--t-base) var(--ease-out);
  display: block; width: 100%; margin-top: 6px; letter-spacing: .2px;
  box-shadow: 0 4px 16px rgba(193,68,14,.2); position: relative; overflow: hidden;
}
.submit-btn::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.1); opacity: 0; transition: opacity var(--t-fast); }
.submit-btn:hover::after { opacity: 1; }
.submit-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(193,68,14,.3); }
.submit-btn:active { transform: translateY(0); }
.submit-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-sm {
  display: inline-block; align-items: center; gap: 6px; padding: 9px 18px;
  border-radius: var(--r-full); font-family: var(--font-body); font-size: 15px; font-weight: 600;
  cursor: pointer; border: none; transition: all var(--t-base) var(--ease-out);
  text-decoration: none; letter-spacing: .1px; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: white; box-shadow: 0 2px 8px rgba(193,68,14,.2); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); color: white; }
.btn-outline { background: white; border: 1.5px solid var(--gray-200); color: var(--gray-700); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.btn-accent { background: var(--accent); color: white; box-shadow: 0 2px 8px rgba(26,107,82,.2); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); color: white; }

/* ── ALERTS ───────────────────────────────────────────────────────────── */
.alert { padding: 11px 14px; border-radius: var(--r-md); font-size: 15px; font-weight: 500; margin-bottom: 12px; }
.alert-success { background: var(--accent-light); color: var(--accent-dark); border: 1px solid rgba(26,107,82,.2); }
.alert-error   { background: #FFF0F0; color: #900; border: 1px solid rgba(180,0,0,.15); }
.alert-warning { background: var(--gold-light); color: #7A4F00; border: 1px solid rgba(200,134,31,.2); }
.alert-info    { background: var(--blue-light); color: var(--blue); border: 1px solid rgba(27,94,168,.2); }

/* ── DASHBOARD ────────────────────────────────────────────────────────── */
.dash-wrap {
  max-width: 1100px; margin: 0 auto; padding: 28px 2rem 40px;
  display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start;
}
.dash-sidebar { position: sticky; top: 80px; height: fit-content; }
.dash-nav-card {
  background: white; border-radius: 18px; padding: 22px 16px;
  border: 1px solid var(--gray-150); box-shadow: 0 2px 12px rgba(0,0,0,.06); overflow: hidden;
}
.dash-avatar {
  width: 68px; height: 68px; border-radius: 50%; background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800; color: white; margin: 0 auto 10px; flex-shrink: 0;
}
.dash-user-name { font-size: 14px; font-weight: 700; color: var(--gray-900); text-align: center; margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-user-role { font-size: 13px; font-weight: 600; color: var(--primary); text-align: center; text-transform: uppercase; letter-spacing: .6px; }
.dash-nav-toggle {
  display: none; width: 100%; padding: 10px 14px; margin-top: 12px;
  background: var(--primary-light); border: 1.5px solid rgba(193,68,14,.2);
  border-radius: 10px; font-size: 15px; font-weight: 700; color: var(--primary);
  cursor: pointer; font-family: var(--font-body);
  align-items: center; justify-content: space-between; gap: 8px;
}
.dash-nav-toggle-arrow { font-size: 13px; transition: transform .2s; }
.dash-nav-toggle.open .dash-nav-toggle-arrow { transform: rotate(180deg); }
.dash-nav { margin-top: 14px; display: flex; flex-direction: column; gap: 2px;padding:0 }
.dash-nav-item {
  display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px;
  font-size: 13.5px; font-weight: 600; color: var(--gray-600); cursor: pointer; border: none;
  background: transparent; width: 100%; text-align: left; transition: all .15s;
  font-family: var(--font-body); white-space: normal; overflow: visible; text-overflow: unset;
  line-height: 1.3;
}
.dash-nav-item:hover { background: var(--gray-75); color: var(--gray-900); }
.dash-nav-item.active { background: var(--primary-light); color: var(--primary); }
.dash-nav-item .ni { font-size: 17px; line-height: 1; flex-shrink: 0; width: 22px; text-align: center; }
.dash-nav-divider { border: none; border-top: 1px solid var(--gray-150); margin: 8px 4px; }
.dash-logout-btn {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  font-size: 15px; font-weight: 700; color: #C53030; cursor: pointer;
  border: 1.5px solid #FEB2B2; background: #FFF5F5; width: 100%; text-align: left;
  transition: all .15s; font-family: var(--font-body); margin-top: 6px; margin-bottom: 15px;
}
.dash-logout-btn:hover { background: #FFE5E5; border-color: #FC8181; }
.dash-mobile-header { display: flex; align-items: center; gap: 14px; }
.dash-mobile-info { flex: 1; min-width: 0; }
.dash-panel { display: none; }
.dash-panel.active { display: block; }
.dash-card {
  background: white; border-radius: 16px; border: 1px solid var(--gray-150);
  padding: 22px; margin-bottom: 16px; box-shadow: var(--shadow-sm);
}
.dash-card:last-child { margin-bottom: 0; }
.dash-card-title { font-size: 15px; font-weight: 700; color: var(--gray-900); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 16px; }
.stat-box { background: var(--gray-50); border-radius: 12px; padding: 14px; text-align: center; border: 1px solid var(--gray-150); }
.stat-box .sv { font-size: 22px; font-weight: 800; color: var(--primary); }
.stat-box .sl { font-size: 13px; color: var(--gray-500); margin-top: 4px; }
.appt-row { background: var(--gray-50); border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.status-badge { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.status-badge.pending  { background: #FBF3E3; color: var(--gold); }
.status-badge.approved { background: var(--accent-light); color: var(--accent); }
.status-badge.rejected { background: #FFE9E9; color: #AA2B2B; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pf-field { display: flex; flex-direction: column; gap: 4px; }
.pf-label { font-size: 13px; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: .5px; }
.pf-val   { font-size: 14px; font-weight: 600; color: var(--gray-900); }

/* ── AUTH / LOGIN ─────────────────────────────────────────────────────── */
.auth-page {
  min-height: calc(100vh - 66px); display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#1A1916 0%,#2D1810 60%,#1A1916 100%);
  padding: 28px 16px 80px;
}
.auth-card {
  background: white; border-radius: 24px; box-shadow: 0 24px 80px rgba(0,0,0,.35);
  overflow: hidden; width: 100%; max-width: 440px;
}
.auth-card-top { background: linear-gradient(135deg,#1A1916,#3A1A08); padding: 28px 28px 24px; }
.auth-body { padding: 26px 28px 28px; }
.auth-tabs {
  display: grid; grid-template-columns: 1fr 1fr; background: rgba(255,255,255,.08);
  border-radius: 12px; padding: 4px; gap: 4px;
}
.auth-tab {
  padding: 10px; border-radius: 9px; font-size: 15px; font-weight: 700;
  color: rgba(255,255,255,.5); border: none; background: transparent; cursor: pointer; transition: all .2s;
}
.auth-tab.active { background: var(--primary); color: white; box-shadow: 0 2px 8px rgba(193,68,14,.4); }
.auth-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.auth-logo-icon { width: 40px; height: 40px; background: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.auth-logo-text { font-size: 22px; font-weight: 800; color: white; }
.auth-logo-text span { color: var(--primary-mid,#E8846A); }
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.auth-field { margin-bottom: 14px; }
.auth-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--gray-500); display: block; margin-bottom: 6px; }
.auth-input {
  width: 100%; border: 1.5px solid var(--gray-200); border-radius: 10px;
  padding: 13px 16px; font-size: 14px; font-family: var(--font-body);
  color: var(--gray-900); background: white; transition: border-color .15s; outline: none;
}
.auth-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.auth-input.has-error { border-color: #E53E3E; }
.pw-wrap { position: relative; }
.pw-wrap .auth-input { padding-right: 46px; }
.pw-toggle { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 16px; color: var(--gray-400); }
/* Captcha */
.captcha-row { display: flex; gap: 10px; align-items: center; }
.captcha-box {
  background: linear-gradient(135deg,#1A1916,#3A1A08); border-radius: 8px;
  padding: 10px 16px; font-family: monospace; font-size: 18px; font-weight: 800;
  color: white; letter-spacing: 4px; user-select: none; flex-shrink: 0;
}
.captcha-refresh { background: none; border: 1.5px solid var(--gray-200); border-radius: 8px; padding: 8px 10px; cursor: pointer; font-size: 16px; color: var(--gray-500); flex-shrink: 0; }
/* Divider */
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--gray-400); font-size: 14px; font-weight: 600; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-150); }
/* Google btn */
.google-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px; border: 1.5px solid var(--gray-200); border-radius: 10px; background: white;
  font-size: 14px; font-weight: 600; color: var(--gray-800); cursor: pointer; transition: all .15s;
}
.google-btn:hover { border-color: var(--gray-300); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
/* Role buttons */
.role-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 20px; }
.role-btn { border: 2px solid var(--gray-200); border-radius: 12px; padding: 12px 8px; background: var(--gray-50); cursor: pointer; transition: all .15s; text-align: center; }
.role-btn.active { border-color: var(--primary); background: var(--primary-light); }
.role-btn .role-icon { font-size: 22px; margin-bottom: 4px; }
.role-btn .role-name { font-size: 13px; font-weight: 700; color: var(--gray-700); }
/* Submit */
.auth-submit {
  width: 100%; padding: 14px; background: var(--primary); color: white; border: none;
  border-radius: 12px; font-size: 15px; font-weight: 700; font-family: var(--font-body);
  cursor: pointer; transition: all .2s; margin-top: 6px;
}
.auth-submit:hover { background: var(--primary-dark); transform: translateY(-1px); }
.auth-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
/* Message */
.auth-msg { border-radius: 10px; padding: 12px 14px; font-size: 15px; font-weight: 600; margin-bottom: 14px; display: none; }
.auth-msg.error   { background: #FFF5F5; border: 1px solid #FEB2B2; color: #C53030; }
.auth-msg.success { background: #F0FFF4; border: 1px solid #9AE6B4; color: #276749; }
/* Links */
.auth-footer-link { text-align: center; margin-top: 14px; font-size: 15px; color: var(--gray-500); }
.auth-footer-link a { color: var(--primary); font-weight: 700; }
.forgot-link { float: right; font-size: 14px; color: var(--primary); font-weight: 600; margin-top: -4px; }
.auth-terms { font-size: 13px; color: var(--gray-400); text-align: center; margin-top: 12px; line-height: 1.5; }
.auth-terms a { color: var(--primary); }

/* ── ABOUT PAGE ───────────────────────────────────────────────────────── */
.about-section { padding: 56px 0; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.about-content h2 { font-size: clamp(1.4rem,2.5vw,2rem); }
.about-content p { color: var(--gray-600); margin-bottom: 16px; line-height: 1.75; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(190px,1fr)); gap: 18px; }
.team-card { background: var(--surface); border-radius: var(--r-xl); border: 1px solid var(--gray-150); padding: 24px 18px; text-align: center; box-shadow: var(--shadow-xs); transition: all var(--t-slow) var(--ease-out); }
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.team-avatar { width: 76px; height: 76px; border-radius: 50%; background: linear-gradient(135deg,var(--primary-light),var(--gray-100)); margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-size: 26px; border: 3px solid white; box-shadow: 0 0 0 1px var(--gray-150),var(--shadow-sm); overflow: hidden; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-size: 14px; font-weight: 700; color: var(--gray-900); }
.team-role { font-size: 14px; font-weight: 600; color: var(--primary); margin-top: 3px; }

/* ── CONTACT / ARTICLE ────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.trust-item { text-align: center; padding: 20px; }
.trust-icon { font-size: 30px; margin-bottom: 10px; }
.trust-title { font-size: 14px; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
.trust-desc { font-size: 14px; color: var(--gray-500); line-height: 1.5; }
.article-section { padding: 36px 0 56px; }
.article-inner { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }
.article-grid { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.article-body { min-width: 0; }
.article-content { line-height: 1.85; color: var(--gray-700); }
.article-content p  { margin-bottom: 1.2em; }
.article-content h2 { margin: 1.6em 0 .6em; font-size: 1.4rem; }
.article-content h3 { margin: 1.4em 0 .5em; font-size: 1.15rem; }
.article-content img { border-radius: var(--r-md); margin: 1.5em 0; }
.article-content ul, .article-content ol { padding-left: 1.5em; margin-bottom: 1em; }
.article-content li { margin-bottom: .4em; }
.article-content blockquote { border-left: 4px solid var(--primary); padding: 12px 20px; margin: 1.5em 0; background: var(--primary-light); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-style: italic; color: var(--gray-700); }

/* ── FOOTER ───────────────────────────────────────────────────────────── */
footer {
  background: linear-gradient(165deg,#141210 0%,#1C1410 50%,#110C08 100%);
  color: white; position: relative; overflow: hidden;
}
footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,transparent,rgba(193,68,14,.4),transparent);
}
.footer-inner { width: 100%; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 48px;
  padding: 52px 2.5rem 44px; max-width: 1200px; margin: 0 auto;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo-icon { font-size: 22px; }
.footer-logo-text { font-size: 18px; font-weight: 800; letter-spacing: -0.5px; }
.footer-logo-text span { color: var(--primary); }
.footer-desc, .footer-about { font-size: 15px; color: rgba(255,255,255,.4); line-height: 1.7; margin-bottom: 18px; max-width: 240px; }
.social-links, .footer-social { display: flex; gap: 8px; }
.social-link, .footer-social a {
  width: 34px; height: 34px; border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: rgba(255,255,255,.5); transition: all var(--t-base);
}
.social-link:hover, .footer-social a:hover { border-color: var(--primary); color: white; background: rgba(193,68,14,.2); }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.3); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.footer-col li a { font-size: 15px; color: rgba(255,255,255,.5); transition: color var(--t-base); }
.footer-col li a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06); padding: 18px 2.5rem;
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 14px; color: rgba(255,255,255,.25); }
.footer-trust { display: flex; align-items: center; gap: 16px; }
.trust-badge { display: flex; align-items: center; gap: 5px; font-size: 13px; color: rgba(255,255,255,.28); font-weight: 600; }

/* ── MISC ─────────────────────────────────────────────────────────────── */
.error-section { text-align: center; padding: 80px 2rem; }
.error-code { font-family: var(--font-display); font-size: 120px; font-weight: 400; color: var(--gray-100); letter-spacing: -8px; line-height: 1; }

/* ════════════════════════════════════════════════════════════════════════
   TABLET — 769px to 1024px
════════════════════════════════════════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1024px) {
  .section-inner, .page-hero-inner, .hero-inner,
  .appt-inner, .article-inner, .detail-inner, .detail-tabs-inner {
    padding-left: 1.75rem; padding-right: 1.75rem;
  }
  .listing-layout, .detail-layout, .detail-grid {
    padding-left: 1.75rem; padding-right: 1.75rem;
  }
  .stats-grid, .footer-top, .footer-bottom {
    padding-left: 1.75rem; padding-right: 1.75rem;
  }
  .dash-wrap { padding-left: 1.75rem; padding-right: 1.75rem; }

  h1 { font-size: clamp(1.8rem,3.8vw,2.8rem) !important; }
  h2 { font-size: clamp(1.4rem,2.4vw,2rem) !important; }
  .hero h1 { font-size: clamp(2rem,4.2vw,3.2rem) !important; }
  .section-title { font-size: clamp(1.5rem,2.4vw,2rem) !important; }
  .stat-num { font-size: 36px; }

  .hero { padding: 56px 0 72px; }

  nav { padding: 0 1.75rem; }
  .hamburger { display: flex; }
  .nav-links { display: none !important; }
  .nav-links.open { display: flex !important; top: 66px; }
  .mobile-bottom-nav { display: none !important; }

  .hospital-grid { grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 14px; }
  .doctor-grid   { grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 14px; }
  .stats-grid    { grid-template-columns: repeat(2,1fr); }
  .stat-card     { padding: 36px 16px; }
  .stat-card:nth-child(2)::after { display: none; }
  .listing-layout { grid-template-columns: 230px 1fr; gap: 20px; padding-top: 24px; }
  .detail-layout  { grid-template-columns: 1fr 290px; gap: 20px; }
  .detail-grid    { grid-template-columns: 1fr 290px; gap: 20px; }
  .about-grid     { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid   { grid-template-columns: 1fr; gap: 28px; }
  .article-grid   { grid-template-columns: 1fr 260px; gap: 24px; }
  .footer-top     { grid-template-columns: 1fr 1fr; gap: 32px; }
  .trust-grid     { grid-template-columns: repeat(2,1fr); }
  .dash-wrap      { grid-template-columns: 210px 1fr; gap: 18px; }
  .detail-tabs-wrap { top: 66px; }
  .dash-sidebar { top: 74px; }
}

/* ════════════════════════════════════════════════════════════════════════
   MOBILE — ≤768px
════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  body { font-size: 14px; padding-bottom: 68px; }

  .section-inner, .page-hero-inner, .hero-inner, .appt-inner, .article-inner {
    padding-left: 14px !important; padding-right: 14px !important;
  }
  .stats-grid { padding-left: 14px !important; padding-right: 14px !important; }

  .section { padding-top: 28px; padding-bottom: 28px; }
  .categories-section, .hospitals-section, .doctors-section, .news-section { padding: 24px 0; }
  .stats-section { padding: 0; }
  .section-header { margin-bottom: 16px; }
  .appt-section { padding: 28px 0; }
  .appt-inner { text-align: left; padding-left: 14px !important; padding-right: 14px !important; }
  .appt-form { padding: 16px 14px; border-radius: 16px; }

  /* Desktop hide */
  .emergency-bar { display: none; }
  .nav-links { display: none !important; }
  .hamburger { display: none; }
  footer { display: none; }

  /* Nav */
  nav { position: sticky; top: 0; z-index: 200; background: white; padding: 0; box-shadow: 0 1px 0 var(--gray-200); }
  .nav-inner { max-width: 100%; margin: 0; height: 52px; padding: 0 14px; gap: 8px; }
  .logo { gap: 7px; flex-shrink: 0; }
  .logo-icon { width: 28px; height: 28px; border-radius: 7px; }
  .logo-text { font-size: 16px; }
  .nav-right { display: flex; align-items: center; gap: 6px; }
  .nav-login-pill { padding: 6px 12px; font-size: 14px; }
  .nav-user-pill { padding: 4px 10px 4px 4px; font-size: 13px; max-width: 96px; }
  .nav-user-avatar { width: 24px; height: 24px; font-size: 10px; }
  .nav-state-badge { display: flex !important; font-size: 10px; padding: 5px 9px; border-radius: 20px; white-space: nowrap; }

  /* Mobile bottom nav */
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important; left: 0 !important; right: 0 !important; top: auto !important;
    height: 60px; background: white; border-top: 1px solid var(--gray-200);
    z-index: 9999 !important; align-items: stretch; padding: 8px 2px;
    padding-bottom: env(safe-area-inset-bottom,0px); box-shadow: 0 -2px 12px rgba(0,0,0,.07);
    flex-direction: row !important; width: 100% !important;
  }
  .mobile-nav-item {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; font-size: 11px; font-weight: 600; color: var(--gray-400);
    text-decoration: none; padding: 4px 2px; -webkit-tap-highlight-color: transparent; transition: color .12s;
  }
  .mobile-nav-item.active { color: var(--primary); }
  .mobile-nav-item.active .mobile-nav-icon { background: var(--primary-light); border-radius: 8px; }
  .mobile-nav-icon { font-size: 20px; line-height: 1; padding: 2px 10px; transition: background .12s; }

  /* Typography */
  h1 { font-size: clamp(1.45rem,5vw,1.85rem) !important; }
  h2 { font-size: clamp(1.15rem,3.8vw,1.5rem) !important; }
  h3 { font-size: 1rem !important; }
  .section-title { font-size: clamp(1.3rem,4.5vw,1.6rem) !important; }
  .section-subtitle { font-size: 15px; }
  .section-label { font-size: 10px; letter-spacing: 1px; }

  /* Hero */
  .hero { padding: 20px 0 24px; }
  .hero h1 { font-size: clamp(1.6rem,5.5vw,2rem) !important; line-height: 1.15; }
  .hero-subtitle { font-size: 15px; margin-bottom: 18px; }
  .hero-tag { font-size: 10px; padding: 4px 12px; margin-bottom: 12px; }
  .hero-stats { gap: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin-top: 16px; }
  .hero-stats::-webkit-scrollbar { display: none; }
  .hero-stat { flex-shrink: 0; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: 10px; padding: 10px 12px; text-align: center; min-width: 66px; }
  .hero-stat::after { display: none; }
  .hero-stat strong { font-size: 15px !important; }
  .hero-stat span { font-size: 11px; }

  /* Page hero */
  .page-hero { padding: 20px 0 24px; }
  .page-hero h1 { font-size: 1.4rem !important; }

  /* Search */
  .search-box { flex-direction: column; gap: 0; padding: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 28px rgba(0,0,0,.22); max-width: 100%; flex-wrap: nowrap; }
  .search-box > input, .search-box > .search-select { display: none; }
  .search-input-row, .search-select-row { display: flex !important; align-items: center; gap: 10px; padding: 13px 14px; border-bottom: 1px solid var(--gray-100); background: white; width: 100%; }
  .search-select-row { border-bottom: none; }
  .search-input-row input { flex: 1; min-width: 0; border: none; outline: none; font-size: 14px; font-family: var(--font-body); color: var(--gray-900); background: transparent; padding: 0; }
  .search-select-row select { flex: 1; min-width: 0; border: none; outline: none; font-size: 14px; font-family: var(--font-body); color: var(--gray-600); background: transparent; padding: 0; -webkit-appearance: none; }
  .search-ico { font-size: 16px; flex-shrink: 0; }
  .search-btn { display: block !important; width: 100%; text-align: center; border-radius: 0; padding: 14px; font-size: 14px; }

  /* Grids */
  .hospital-grid  { grid-template-columns: 1fr; gap: 10px; }
  .doctor-grid    { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cat-grid       { grid-template-columns: repeat(3,1fr); gap: 8px; }
  .dist-grid      { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .news-grid      { grid-template-columns: 1fr; gap: 8px; }
  .stats-grid     { grid-template-columns: repeat(2,1fr); gap: 0; }
  .trust-grid     { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card      { padding: 24px 12px; }
  .stat-card::after { display: none; }
  .stat-card { border-bottom: 1px solid rgba(255,255,255,.06); border-right: 1px solid rgba(255,255,255,.06); }
  .stat-card:nth-child(even) { border-right: none; }
  .stat-num { font-size: 28px !important; }

  /* Cards */
  .hospital-card { border-radius: 14px; }
  .hc-head, .hospital-card-header { padding: 12px 13px; }
  .hc-avatar, .hospital-avatar, .hcard-avatar { width: 42px; height: 42px; border-radius: 10px; }
  .hc-name, .hospital-name { font-size: 15px; }
  .hc-addr, .hospital-addr { font-size: 13px; }
  .hc-foot, .hospital-card-footer { padding: 8px 13px; }
  .hospital-card-body { padding: 8px 13px; }
  .hc-chip, .chip { font-size: 10px; padding: 3px 7px; }
  .doctor-card { border-radius: 12px; padding: 14px 12px; }
  .doctor-avatar { width: 52px; height: 52px; margin-bottom: 10px; }
  .doctor-name { font-size: 15px; }
  .doctor-spec { font-size: 13px; }
  .cat-card { padding: 12px 8px; border-radius: 12px; }
  .cat-icon { width: 38px; height: 38px; font-size: 18px; margin-bottom: 4px; }
  .cat-name { font-size: 13px; }
  .dist-card { padding: 10px 10px; border-radius: 10px; gap: 8px; }
  .dist-name { font-size: 14px; }
  /* News horizontal */
  .news-card { flex-direction: row !important; align-items: stretch !important; border-radius: 12px; }
  .news-img { width: 92px !important; height: auto !important; min-height: 80px; flex-shrink: 0; border-radius: 0; font-size: 24px; }
  .news-body { padding: 10px 11px; flex: 1; min-width: 0; }
  .news-title { font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .news-excerpt { display: none; }
  .news-footer { margin-top: auto; padding-top: 6px; }
  .news-date, .read-more { font-size: 10px; }

  /* Listing */
  .listing-layout { grid-template-columns: 1fr !important; padding: 12px 12px 16px !important; gap: 10px; }
  .filter-sidebar { position: static; padding: 0; background: transparent; border: none; box-shadow: none; border-radius: 0; }
  .filter-sidebar-inner { display: none; background: white; border: 1px solid var(--gray-200); border-radius: 14px; padding: 16px; margin-bottom: 10px; box-shadow: 0 4px 16px rgba(0,0,0,.07); }
  .filter-sidebar-inner.open { display: block; }
  @keyframes slideDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
  .filter-toggle-btn {
    display: flex !important; align-items: center; justify-content: center; gap: 8px;
    background: white; border: 1.5px solid var(--gray-200); border-radius: 50px;
    padding: 9px 18px; font-size: 15px; font-weight: 600; color: var(--gray-700);
    width: 100%; margin-bottom: 10px; box-shadow: 0 2px 6px rgba(0,0,0,.05);
    cursor: pointer; font-family: var(--font-body);
  }

  /* Detail page */
  .detail-hero { padding: 0; }
  .detail-inner { padding: 14px 14px 0 !important; }
  .detail-tabs-wrap { top: 52px; }
  .modal-tab { font-size: 14px; padding: 10px 14px; }
  .detail-layout, .detail-grid { grid-template-columns: 1fr !important; padding: 14px 12px 48px !important; gap: 14px; }
  .detail-layout aside, .detail-grid aside { order: -1; }
  .detail-layout main, .detail-grid main { order: 1; }
  .detail-card { padding: 14px 13px; border-radius: 14px; margin-bottom: 12px; }
  .detail-card h3 { font-size: 14px; margin-bottom: 12px; padding-bottom: 10px; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row > div { margin-bottom: 12px; }
  .form-row > div:last-child { margin-bottom: 0; }
  .form-row > div > .form-input { margin-bottom: 0; }
  .form-input { font-size: 16px !important; padding: 12px 13px; margin-bottom: 12px; }
  .form-label { font-size: 10.5px; }

  /* Buttons */
  .submit-btn { font-size: 14.5px; padding: 14px; border-radius: 12px; position: sticky; bottom: 70px; z-index: 50; box-shadow: 0 4px 16px rgba(193,68,14,.35); margin-top: 4px; }
  .btn-sm { padding: 9px 14px; font-size: 14px; }

  /* Dashboard */
  .dash-wrap { display: block !important; padding: 14px 12px 80px !important; }
  .dash-sidebar { position: static; margin-bottom: 14px; }
  .dash-nav-card { padding: 14px 13px; border-radius: 16px; }
  .dash-mobile-header { display: flex; align-items: center; gap: 12px; }
  .dash-avatar { width: 48px; height: 48px; font-size: 20px; margin: 0; }
  .dash-mobile-info { flex: 1; min-width: 0; }
  .dash-user-name { text-align: left; font-size: 15px; }
  .dash-user-role { text-align: left; }
  .dash-nav-toggle { display: flex !important; }
  .dash-nav { display: none; margin-top: 8px; background: var(--gray-50); border-radius: 12px; padding: 8px; gap: 2px; }
  .dash-nav.open { display: flex; }
  .dash-nav-item { font-size: 15px; padding: 10px 12px; white-space: normal; overflow: visible; text-overflow: unset; }
  .dash-card { padding: 16px 13px; border-radius: 14px; margin-bottom: 12px; }
  .dash-card-title { font-size: 14px; margin-bottom: 12px; }
  .stat-row { gap: 8px; }
  .stat-box { padding: 12px 8px; }
  .stat-box .sv { font-size: 18px; }
  .profile-grid { grid-template-columns: 1fr; }
  .appt-row { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Auth */
  .auth-page { padding: 20px 12px 80px; align-items: flex-start; min-height: calc(100vh - 52px); }
  .auth-card-top { padding: 22px 20px 18px; }
  .auth-body { padding: 20px 20px 22px; }
  .auth-input { font-size: 16px !important; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .article-grid { grid-template-columns: 1fr; gap: 14px; }
  .article-section { padding: 14px 0 28px; }
  .article-inner { padding: 0 14px; }
  .about-section { padding: 32px 0; }
}

/* ════════════════════════════════════════════════════════════════════════
   SMALL MOBILE — ≤480px
════════════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  body { font-size: 15px; }
  .doctor-grid { grid-template-columns: 1fr !important; }
  .cat-grid    { grid-template-columns: repeat(3,1fr); }
  .dist-grid   { grid-template-columns: 1fr 1fr; }
  .team-grid   { grid-template-columns: 1fr; }
  .trust-grid  { grid-template-columns: 1fr; }
  .hero h1     { font-size: clamp(1.45rem,5vw,1.7rem) !important; }
  .section-title { font-size: clamp(1.2rem,4vw,1.45rem) !important; }
  .stat-num    { font-size: 24px !important; }
  .listing-layout { padding: 10px 10px 14px !important; }
  .modal-tab   { font-size: 13px; padding: 9px 12px; }
}

/* ════════════════════════════════════════════════════════════════════════
   DESKTOP — submit btn not sticky
════════════════════════════════════════════════════════════════════════ */
@media (min-width: 769px) {
  .submit-btn { position: static; bottom: auto; z-index: auto; }
}

/* Dashboard quick actions */
.dash-quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Dashboard — ensure sidebar doesn't show overflow */
.dash-nav-card { overflow: visible; }

/* Contact map placeholder */
.contact-map-placeholder {
  background: var(--gray-75); border-radius: var(--r-lg);
  min-height: 200px; display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--gray-400);
}

/* ── HOMEPAGE SECTION CLASSES ─────────────────────────────────────────── */
.districts-section { padding: 40px 0; background: white; }
.doctors-section   { padding: 40px 0; background: var(--gray-75); }

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .districts-section, .doctors-section { padding: 28px 0; }
}

/* Mobile */
@media (max-width: 768px) {
  .districts-section, .doctors-section { padding: 24px 0; }
  /* Reduce gap between Districts → Doctors → News on mobile */
  .districts-section + .doctors-section,
  .doctors-section + .news-section { margin-top: 0; }
}

/* ── DASHBOARD SIDEBAR — full text visible ────────────────────────────── */
@media (min-width: 769px) {
  .dash-nav-item {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.3;
  }
  .dash-wrap {
    grid-template-columns: 200px 1fr;
  }
}

/* ── CONTACT PAGE — map placeholder ─────────────────────────────────────*/
.contact-map-wrap {
  background: var(--gray-75); border-radius: var(--r-lg);
  min-height: 180px; max-height: 260px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gray-150);
}

/* ── SINGLE HOSPITAL — appointment sidebar sticky fix ────────────────── */
@media (min-width: 769px) {
  .detail-grid aside,
  .detail-layout aside {
    position: sticky;
    top: 130px;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
  }
}
