/* ==========================================================================
   Premium Doctor Profile Page — medp-* namespace
   Ultra-High-End Medical UX/UI Design
   ========================================================================== */

/* Global icon safe-guard */
.med-btn svg,
button svg,
a svg {
  flex-shrink: 0;
}

/* ── Page Wrapper ─────────────────────────────────────────────────────────── */
.medp-page {
  background: #f1f5f9;
  min-height: 100vh;
  padding-bottom: 80px;
}

/* ── Hero Banner ──────────────────────────────────────────────────────────── */
.medp-hero-banner {
  background: linear-gradient(135deg, #050e1f 0%, #0a1628 45%, #0c1f3f 75%, #071520 100%);
  position: relative;
  overflow: hidden;
  padding: 0 0 36px;
  border-bottom: 1px solid rgba(14, 165, 233, 0.15);
}

.medp-hero-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(14, 165, 233, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.medp-hero-inner {
  position: relative;
  z-index: 2;
}

/* Breadcrumb */
.medp-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 24px 0 28px;
  font-size: 13px;
  color: #64748b;
  flex-wrap: wrap;
  text-align: left;
}
.medp-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}
.medp-breadcrumb a:hover { color: #38bdf8; }
.medp-breadcrumb span:last-child { color: #cbd5e1; font-weight: 600; }

/* Doctor Identity Block — Desktop Horizontal Authority Layout */
.medp-identity {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  max-width: 100%;
  margin: 0 0 34px;
  gap: 36px;
}

.medp-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  margin: 0;
}

.medp-avatar {
  width: 160px;
  height: 160px;
  border-radius: 26px;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(14, 165, 233, 0.25);
  display: block;
  background: #ffffff;
}

.medp-status-badge-hero {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  border: 1.5px solid #10b981;
  padding: 3.5px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #34d399;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 12px rgba(16, 185, 129, 0.25);
}

.medp-available-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: medPulse 1.6s infinite;
}

.medp-identity-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex: 1;
  min-width: 0;
}

.medp-identity-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 12px;
}
.medp-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.medp-tag-specialty {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.3);
  transition: all 0.2s ease;
}
.medp-tag-specialty:hover {
  background: rgba(14, 165, 233, 0.25);
  color: #7dd3fc;
}
.medp-tag-verified {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.medp-tag-gold {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.medp-doctor-name {
  font-size: 38px;
  font-weight: 900;
  color: #f8fafc;
  letter-spacing: -0.8px;
  margin: 0 0 8px;
  line-height: 1.2;
  text-align: left;
}

.medp-doctor-subheading {
  font-size: 16px;
  color: #94a3b8;
  margin: 0 0 16px;
  line-height: 1.6;
  max-width: 820px;
  text-align: left;
}

.medp-identity-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: #94a3b8;
  margin-bottom: 22px;
  text-align: left;
}
.medp-stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #94a3b8;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.medp-stars:hover { opacity: 0.85; }
.medp-stars strong { color: #f8fafc; margin-left: 2px; }
.medp-meta-muted { color: #64748b; }
.medp-meta-sep { color: #334155; }
.medp-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.medp-meta-item strong { color: #f8fafc; }
.medp-location-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #cbd5e1;
}
.medp-location-inline svg { color: #38bdf8; }

/* Hero Action Buttons */
.medp-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

.medp-book-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #ffffff;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.4);
  transition: all 0.2s ease;
}
.medp-book-hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(14, 165, 233, 0.55);
  color: #ffffff;
}

.medp-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #16a34a;
  color: #ffffff;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
  transition: all 0.2s ease;
}
.medp-wa-btn:hover {
  background: #15803d;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.45);
}

.medp-btn-outline-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.medp-btn-outline-hero:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.medp-btn-share-hero {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  background: transparent;
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.medp-btn-share-hero:hover {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

/* Quick Metrics Floating Strip */
.medp-quick-stats {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  max-width: 100%;
  width: 100%;
  margin: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.medp-qstat {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.medp-qstat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  flex-shrink: 0;
}
.medp-qstat strong {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748b;
  display: block;
}
.medp-qstat span {
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
  display: block;
}
.medp-qstat-div {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

/* ── Sticky Sub-Navigation Bar ────────────────────────────────────────────── */
.medp-subnav-bar {
  position: sticky;
  top: 68px;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}
.medp-subnav-inner {
  display: flex;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 8px 0;
  scrollbar-width: none;
}
.medp-subnav-inner::-webkit-scrollbar { display: none; }

.medp-subnav-link {
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  text-decoration: none;
  transition: all 0.2s ease;
}
.medp-subnav-link:hover {
  color: #0284c7;
  background: #f0f9ff;
}
.medp-subnav-link.active {
  color: #0284c7;
  background: #e0f2fe;
}

/* ── Centered Two-Column Layout ───────────────────────────────────────────── */
.medp-page .med-container {
  max-width: 1240px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
  box-sizing: border-box;
}

.medp-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, 420px) !important;
  gap: 32px;
  margin: 36px auto 0 !important;
  max-width: 1240px !important;
  width: 100% !important;
  align-items: start;
  box-sizing: border-box;
}

/* ── Cards & Columns ──────────────────────────────────────────────────────── */
.medp-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.medp-right {
  position: sticky;
  top: 96px;
  min-width: 0;
  width: 100%;
  z-index: 10;
}

.medp-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 32px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.medp-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 22px;
  letter-spacing: -0.3px;
}

.medp-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.medp-card-icon--blue    { background: #e0f2fe; color: #0284c7; }
.medp-card-icon--teal    { background: #ccfbf1; color: #0d9488; }
.medp-card-icon--amber   { background: #fef3c7; color: #d97706; }
.medp-card-icon--emerald { background: #dcfce7; color: #16a34a; }

.medp-card-content {
  font-size: 15px;
  color: #334155;
  line-height: 1.8;
}
.medp-card-content p { margin-bottom: 14px; }

/* 3 Value Pillars — Perfectly Balanced */
.medp-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #f1f5f9;
}
@media (max-width: 900px) {
  .medp-pillars-grid {
    grid-template-columns: 1fr;
  }
}
.medp-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.medp-pillar-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.medp-pillar-item strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
  margin-bottom: 4px;
}
.medp-pillar-item p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Services List */
.medp-services-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.medp-service-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  transition: all 0.2s ease;
}
.medp-service-card:hover {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.08);
  transform: translateY(-2px);
}
.medp-service-info { flex: 1; }
.medp-service-name {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
}
.medp-service-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 8px;
}
.medp-service-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #0284c7;
  font-weight: 700;
}
.medp-service-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
.medp-service-price {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
}
.medp-btn-select-service {
  padding: 6px 14px;
  font-size: 12px;
}

/* Timeline */
.medp-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 20px;
}
.medp-timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 6px;
  width: 2px;
  background: #e2e8f0;
}
.medp-timeline-item {
  position: relative;
  padding-bottom: 22px;
}
.medp-timeline-item:last-child { padding-bottom: 0; }
.medp-timeline-dot {
  position: absolute;
  top: 6px;
  left: -20px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0284c7;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px #bae6fd;
}
.medp-timeline-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
}
.medp-timeline-meta {
  font-size: 13px;
  color: #64748b;
}

/* Insurance Chips */
.medp-insurance-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.medp-insurance-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  transition: all 0.2s ease;
}
.medp-insurance-badge:hover {
  background: #e0f2fe;
  color: #0284c7;
  border-color: #bae6fd;
}

/* Working Hours Strip */
.medp-days-strip {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.medp-day-pill {
  flex: 1;
  min-width: 60px;
  padding: 12px 8px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #f8fafc;
  color: #94a3b8;
  border: 1.5px solid #e2e8f0;
}
.medp-day-pill--active {
  background: #f0fdf4;
  color: #16a34a;
  border-color: #bbf7d0;
}
.medp-day-short {
  font-size: 13px;
  font-weight: 800;
}
.medp-day-status {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.medp-hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}
.medp-hours-item {
  background: #f8fafc;
  border-radius: 14px;
  padding: 14px 18px;
  border: 1px solid #e2e8f0;
}
.medp-hours-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 4px;
}
.medp-hours-val {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

/* Location Box & Amenities */
.medp-location-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 20px;
}
.medp-location-icon {
  width: 48px;
  height: 48px;
  background: #e0f2fe;
  color: #0284c7;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.medp-location-name {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  display: block;
  margin-bottom: 4px;
}
.medp-location-city {
  font-size: 13px;
  color: #64748b;
  display: block;
}
.medp-amenities-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #475569;
}
.medp-amenity-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Reviews Score Card */
.medp-reviews-score-card {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 24px;
  align-items: center;
}
.medp-score-big {
  text-align: center;
  border-right: 1px solid #e2e8f0;
  padding-right: 20px;
}
.medp-score-num {
  font-size: 48px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 6px;
}
.medp-score-stars {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-bottom: 6px;
}
.medp-score-total {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.medp-score-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.medp-score-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #334155;
}
.medp-score-bar-row span {
  width: 170px;
  flex-shrink: 0;
  font-size: 12px;
  color: #64748b;
}
.medp-bar-track {
  flex: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
}
.medp-bar-fill {
  height: 100%;
  background: #0284c7;
  border-radius: 99px;
}
.medp-score-bar-row strong {
  width: 28px;
  text-align: right;
  font-size: 12px;
  color: #0f172a;
}

/* Reviews List */
.medp-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.medp-review-item {
  padding: 20px;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
}
.medp-review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.medp-reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
}
.medp-reviewer-name {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  display: block;
}
.medp-review-stars {
  font-size: 12px;
  color: #f59e0b;
}
.medp-verified-badge-review {
  color: #16a34a;
  font-weight: 700;
  margin-left: 6px;
  font-size: 11px;
}
.medp-review-date {
  margin-left: auto;
  font-size: 12px;
  color: #94a3b8;
}
.medp-review-body {
  font-size: 14px;
  color: #334155;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}

/* FAQ List */
.medp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.medp-faq-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
}
.medp-faq-q {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}
.medp-faq-a {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ── Booking Widget ───────────────────────────────────────────────────────── */
/* ── Right Sidebar: High-Converting Doctor Action Card ────────────────────── */
.medp-right {
  position: sticky;
  top: 134px;
}

.medp-doctor-sidebar-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.1),
              0 4px 16px rgba(14, 165, 233, 0.08);
  overflow: hidden;
}

.medp-sb-top {
  background: linear-gradient(135deg, #050e1f 0%, #0a1628 60%, #0c1f3f 100%);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.medp-sb-fee-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  display: block;
  margin-bottom: 4px;
}
.medp-sb-fee {
  font-size: 34px;
  font-weight: 900;
  color: #f8fafc;
  letter-spacing: -1px;
  line-height: 1;
}
.medp-sb-currency {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  vertical-align: super;
  margin-left: 2px;
}
.medp-sb-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
}

.medp-sb-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Next Availability Box */
.medp-sb-next-avail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 14px;
}
.medp-sb-next-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.medp-sb-next-sub {
  display: block;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}
.medp-sb-next-date {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #0369a1;
}

/* Modalities */
.medp-sb-modalities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.medp-sb-mod-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  text-align: center;
}
.medp-sb-mod-badge {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2px;
}
.medp-sb-mod-item small {
  display: block;
  font-size: 11px;
  color: #64748b;
}

/* Checklist */
.medp-sb-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.medp-sb-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: #475569;
  line-height: 1.4;
}
.medp-sb-checklist svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.medp-sb-checklist strong {
  color: #0f172a;
}

/* Big Trigger CTA Button */
.medp-sb-cta-btn {
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff;
  border: none;
  border-radius: 16px;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}
.medp-sb-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(14, 165, 233, 0.5);
}
.medp-sb-cta-btn svg:first-child {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.medp-sb-cta-text {
  flex: 1;
}
.medp-sb-cta-text strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}
.medp-sb-cta-text span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
}
.medp-sb-cta-btn svg:last-child {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.medp-sb-cta-btn:hover svg:last-child {
  transform: translateX(3px);
}

/* WhatsApp Sidebar Button */
.medp-sb-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: #f0fdf4;
  color: #16a34a;
  border: 1.5px solid #bbf7d0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.medp-sb-wa-btn:hover {
  background: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
  transform: translateY(-1px);
}

/* Location Mini Card */
.medp-sb-location-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 12px;
}
.medp-sb-loc-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.medp-sb-location-card strong {
  display: block;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.3;
}
.medp-sb-location-card span {
  display: block;
  color: #64748b;
  font-size: 11px;
}

/* ══ Interactive Real-Time Multi-Step Booking Modal (Popup) ═══════════════ */
.medp-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: medpFadeIn 0.25s ease forwards;
}
@keyframes medpFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.medp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 14, 31, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.medp-modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 620px;
  max-height: 88vh;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: medpSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes medpSlideUp {
  from { transform: translateY(20px) scale(0.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

/* Modal Close Button */
.medp-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}
.medp-modal-close:hover {
  background: rgba(239, 68, 68, 0.9);
  border-color: #ef4444;
  color: #ffffff;
  transform: rotate(90deg);
}

/* Modal Header */
.medp-modal-header {
  background: linear-gradient(135deg, #050e1f 0%, #0a1628 55%, #0c1f3f 100%);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(14, 165, 233, 0.15);
}
.medp-modal-doc-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: #ffffff;
  flex-shrink: 0;
}
.medp-modal-header-info {
  flex: 1;
  min-width: 0;
}
.medp-modal-header-sub {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #38bdf8;
  display: block;
}
.medp-modal-doc-name {
  font-size: 18px;
  font-weight: 900;
  color: #f8fafc;
  margin: 1px 0;
  letter-spacing: -0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.medp-modal-doc-spec {
  font-size: 12px;
  color: #94a3b8;
  display: block;
}

/* Wizard Steps Bar */
.medp-modal-steps-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.medp-mstep {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  transition: all 0.2s ease;
}
.medp-mstep-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}
.medp-mstep.active {
  color: #0284c7;
}
.medp-mstep.active .medp-mstep-num {
  background: #0284c7;
  color: #ffffff;
}
.medp-mstep.completed {
  color: #10b981;
}
.medp-mstep.completed .medp-mstep-num {
  background: #10b981;
  color: #ffffff;
}
.medp-mstep-divider {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  margin: 0 10px;
}

/* Modal Form & Panes */
.medp-modal-form {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex: 1;
}

.medp-step-pane {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.medp-step-pane-body {
  padding: 18px 24px;
  overflow-y: auto;
  max-height: 52vh;
  scrollbar-width: thin;
}
.medp-step-pane-body::-webkit-scrollbar {
  width: 5px;
}
.medp-step-pane-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.medp-pane-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}
.medp-pane-label svg {
  color: #0284c7;
}

/* Modal Footer Action Bar */
.medp-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  gap: 12px;
}
.medp-footer-step-hint {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}
.medp-btn-modal-next,
.medp-btn-modal-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
  transition: all 0.2s ease;
}
.medp-btn-modal-next:hover,
.medp-btn-modal-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.45);
}
.medp-btn-modal-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.medp-btn-modal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #ffffff;
  color: #64748b;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.medp-btn-modal-back:hover {
  border-color: #0284c7;
  color: #0284c7;
  background: #f0f9ff;
}

/* Step 2 Elements */
.medp-recap-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  font-size: 12px;
  color: #0369a1;
  margin-bottom: 16px;
}
.medp-recap-pill strong {
  color: #0284c7;
  font-weight: 800;
}

.medp-select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 13px;
  color: #0f172a;
  background: #ffffff;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}
.medp-select:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

/* Step 3 Summary Box */
.medp-summary-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
}
.medp-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}
.medp-summary-title {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  display: block;
}
.medp-summary-doc {
  font-size: 11px;
  color: #64748b;
  display: block;
}
.medp-summary-fee {
  font-size: 18px;
  font-weight: 900;
  color: #0284c7;
}
.medp-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 12px;
}
.medp-summary-grid small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
}
.medp-summary-grid strong {
  display: block;
  font-size: 12.5px;
  color: #0f172a;
  margin-top: 1px;
}
.medp-summary-note {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #10b981;
  font-weight: 700;
}

.medp-booking-privacy-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #64748b;
  margin-top: 10px;
}

/* Step 4: Success Pane (Real-Time AJAX) */
.medp-success-pane {
  padding: 36px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.medp-success-confetti {
  font-size: 52px;
  line-height: 1;
  animation: medpPop 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes medpPop {
  0% { transform: scale(0.5); opacity: 0; }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
.medp-success-title {
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.4px;
}
.medp-success-text {
  font-size: 13.5px;
  color: #64748b;
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.5;
}
.medp-success-card {
  width: 100%;
  max-width: 440px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 20px;
  text-align: left;
  font-size: 13px;
  margin: 6px 0;
}
.medp-success-actions {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ══ Day Picker Header & Navigation ═════════════════════════════════════════ */
.medp-day-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.medp-day-picker-month {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #0284c7;
  text-transform: capitalize;
}

.medp-carousel-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.medp-nav-arrow {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}
.medp-nav-arrow:hover {
  background: #f0f9ff;
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-1px);
}
.medp-nav-arrow:active {
  transform: scale(0.94);
}

/* ══ 14-Day Cards Carousel Track ═══════════════════════════════════════════ */
.medp-quick-days-carousel {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.medp-quick-days-carousel::-webkit-scrollbar {
  height: 5px;
}
.medp-quick-days-carousel::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}
.medp-quick-days-carousel::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* ══ Modern Day Card Button ════════════════════════════════════════════════ */
.medp-day-btn {
  flex: 0 0 68px;
  min-width: 68px;
  padding: 10px 4px;
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.medp-day-btn-name {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
}
.medp-day-btn-num {
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  color: #0f172a;
}
.medp-day-btn-month {
  font-size: 9px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.4px;
}

.medp-day-btn-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 99px;
  background: #f1f5f9;
  color: #64748b;
  margin-top: 2px;
}
.medp-day-dot-green {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
}
.medp-day-dot-gray {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #94a3b8;
}

.medp-day-btn--available:hover {
  border-color: #38bdf8;
  background: #f0f9ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}
.medp-day-btn.selected {
  border-color: #0284c7;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
  transform: translateY(-2px);
}
.medp-day-btn.selected .medp-day-btn-name,
.medp-day-btn.selected .medp-day-btn-num,
.medp-day-btn.selected .medp-day-btn-month {
  color: #ffffff;
}
.medp-day-btn.selected .medp-day-btn-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
.medp-day-btn.selected .medp-day-dot-green {
  background: #ffffff;
}

.medp-day-btn--disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: #f8fafc;
  border-style: dashed;
}
.medp-day-btn--disabled:hover {
  transform: none;
  box-shadow: none;
}

/* ══ Alternative Date Input Row ═════════════════════════════════════════════ */
.medp-date-alt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px dashed #cbd5e1;
}
.medp-date-alt-text {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}
.medp-date-alt-input-wrap {
  flex-shrink: 0;
}
.medp-date-input {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: #1e293b;
  background: #ffffff;
  transition: all 0.2s ease;
  cursor: pointer;
}
.medp-date-input:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

/* ══ Slots Container & Groups ═══════════════════════════════════════════════ */
.medp-slots-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 56px;
}
.medp-slots-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  border: 1.5px dashed #cbd5e1;
  border-radius: 12px;
  font-size: 13px;
  color: #64748b;
  text-align: center;
}

.medp-slot-group {
  margin-bottom: 4px;
}
.medp-slot-group-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #475569;
  margin-bottom: 8px;
}
.medp-slot-group-header svg {
  color: #0284c7;
}
.medp-slot-group-badge {
  font-size: 10px;
  font-weight: 700;
  background: #e0f2fe;
  color: #0284c7;
  padding: 1px 7px;
  border-radius: 99px;
  text-transform: none;
  letter-spacing: 0;
  margin-left: auto;
}
.medp-slots-subgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

/* ══ Slot Button ═══════════════════════════════════════════════════════════ */
.med-slot-btn {
  padding: 10px 6px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.med-slot-btn:hover {
  border-color: #0284c7;
  background: #f0f9ff;
  color: #0284c7;
  transform: translateY(-1px);
}
.med-slot-btn.selected {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  border-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  transform: translateY(-1px);
}

/* ══ Selected Slot Callout Banner ══════════════════════════════════════════ */
.medp-selected-slot-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  border-radius: 12px;
  margin-top: 10px;
  animation: medSlotFadeIn 0.25s ease;
}
@keyframes medSlotFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.medp-selected-slot-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
}
.medp-selected-slot-text {
  font-size: 12.5px;
  color: #065f46;
}
.medp-selected-slot-label {
  font-weight: 600;
  margin-right: 4px;
}
#medp-selected-slot-val {
  font-weight: 800;
  color: #047857;
  font-size: 13px;
}

/* Form inputs & two-col */
.medp-field-group {
  margin-bottom: 14px;
}
.medp-field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #64748b;
  margin-bottom: 6px;
}
.medp-field-label svg {
  color: #0284c7;
}

.medp-input,
.medp-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  font-family: inherit;
  font-size: 13.5px;
  color: #0f172a;
  background: #ffffff;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.medp-input:focus,
.medp-textarea:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}
.medp-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Type Selector (Presencial / Online) */
.medp-type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.medp-type-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}
.medp-type-option input { display: none; }
.medp-type-option strong {
  display: block;
  font-size: 13px;
  color: #0f172a;
}
.medp-type-option small {
  display: block;
  font-size: 11px;
  color: #64748b;
}
.medp-type-option:hover {
  border-color: #0284c7;
  background: #f0f9ff;
}
.medp-type-active {
  background: #f0f9ff !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15);
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .medp-breadcrumb {
    justify-content: center;
    text-align: center;
  }
  .medp-identity {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-bottom: 28px;
  }
  .medp-avatar-wrap {
    margin: 0 auto;
  }
  .medp-avatar {
    width: 130px;
    height: 130px;
  }
  .medp-identity-info {
    align-items: center;
    text-align: center;
  }
  .medp-identity-tags {
    justify-content: center;
  }
  .medp-doctor-name {
    text-align: center;
    font-size: 30px;
  }
  .medp-doctor-subheading {
    text-align: center;
  }
  .medp-identity-meta {
    justify-content: center;
  }
  .medp-hero-actions {
    justify-content: center;
  }
  .medp-layout {
    grid-template-columns: 1fr !important;
  }
  .medp-right {
    position: static;
  }
  .medp-quick-stats {
    flex-wrap: wrap;
  }
  .medp-qstat-div { display: none; }
  .medp-qstat { flex: 1 1 45%; }
}

@media (max-width: 768px) {
  .medp-identity { flex-direction: column; gap: 20px; align-items: center; text-align: center; }
  .medp-avatar { width: 110px; height: 110px; }
  .medp-identity-tags { justify-content: center; }
  .medp-identity-meta { justify-content: center; font-size: 12px; gap: 8px; }
  .medp-hero-actions { justify-content: center; }
  .medp-doctor-name { font-size: 26px; }
  .medp-quick-stats { border-radius: 14px; }
  .medp-qstat { flex: 1 1 100%; padding: 12px 16px; }
  .medp-two-col { grid-template-columns: 1fr; }
  .medp-type-selector { grid-template-columns: 1fr 1fr; }
  .medp-card { padding: 22px; }
  .medp-booking-top { flex-direction: column; gap: 12px; align-items: flex-start; }
  .medp-slots-grid { grid-template-columns: repeat(3, 1fr); }
  .medp-reviews-score-card { grid-template-columns: 1fr; }
  .medp-score-big { border-right: none; border-bottom: 1px solid #e2e8f0; padding-bottom: 16px; padding-right: 0; }
  .medp-service-card { flex-direction: column; align-items: flex-start; }
  .medp-service-action { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (max-width: 480px) {
  .medp-hero-actions { flex-direction: column; width: 100%; }
  .medp-wa-btn, .medp-book-hero-btn, .medp-btn-outline-hero, .medp-btn-share-hero { width: 100%; justify-content: center; }
  .medp-hours-grid { grid-template-columns: 1fr; }
  .medp-slots-grid { grid-template-columns: repeat(2, 1fr); }
}
