/* ==========================================================================
   SHE MATTERS - DOCTOR PROFILE & CLINICAL APPOINTMENT SYSTEM
   Centre of Excellence in Intimate Health, Aesthetic & Regenerative Medicine
   Theme: Punchy, Multi-Color, Radiant Fuchsia/Magenta (#E60067) & Luxury Violet
   Ultra-responsive, accessible, and 100% brand-harmonized.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CORE TOKENS & CANVAS SETUP
   -------------------------------------------------------------------------- */
.doc-profile-page {
  background-color: var(--bg-clinical-slate, #FCF8FA);
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(230, 0, 103, 0.035) 0%, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(121, 40, 202, 0.035) 0%, transparent 45%);
  color: var(--text-dark, #180927);
  min-height: 100vh;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   2. LUXURY DOCTOR PROFILE HERO & BREADCRUMB HEADER
   -------------------------------------------------------------------------- */
.doc-profile-hero {
  position: relative;
  background: linear-gradient(135deg, #1B0A2A 0%, #2D1445 60%, #3B1238 100%);
  color: #FFFFFF;
  padding: 30px 0 24px;
  overflow: hidden;
  border-bottom: 2px solid rgba(230, 0, 103, 0.35);
}

.doc-profile-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -8%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 0, 103, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.doc-profile-hero::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(121, 40, 202, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.doc-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 10px;
}

.doc-breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: var(--transition-fast, all 0.2s ease);
  display: inline-flex;
  align-items: center;
}

.doc-breadcrumb a:hover {
  color: var(--primary-color, #E60067);
}

.doc-breadcrumb .active-doc {
  color: #FFFFFF;
  font-weight: 700;
}

.badge-hero-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill, 9999px);
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34D399;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-hero-avail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill, 9999px);
  background: rgba(230, 0, 103, 0.16);
  border: 1px solid rgba(230, 0, 103, 0.35);
  color: #FFB3D9;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Quick Doctor Switcher in Hero */
.doc-quick-switcher-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 10px 16px;
  max-width: 520px;
  width: 100%;
}

.quick-switcher-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.doc-quick-switcher-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.doc-quick-switcher-pills::-webkit-scrollbar {
  display: none;
}

.doc-switch-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: var(--radius-pill, 9999px);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.doc-switch-pill:hover,
.doc-switch-pill.active {
  background: var(--primary-color, #E60067);
  border-color: var(--primary-color, #E60067);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(230, 0, 103, 0.45);
}

/* --------------------------------------------------------------------------
   3. DOCTOR HEADER CARD (HERO PROFILE OVERVIEW)
   -------------------------------------------------------------------------- */
.doc-header-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1.5px solid rgba(230, 0, 103, 0.14);
  box-shadow: 0 12px 30px rgba(27, 10, 42, 0.05);
  padding: 28px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.doc-header-card:hover {
  border-color: rgba(230, 0, 103, 0.28);
  box-shadow: 0 16px 36px rgba(230, 0, 103, 0.09);
}

.doc-header-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color, #E60067) 0%, var(--color-violet, #7928CA) 100%);
}

.doc-avatar-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(230, 0, 103, 0.16);
  border: 3px solid #FFFFFF;
  background: #F3E8FF;
}

.doc-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.4s ease;
}

.doc-avatar-wrapper:hover .doc-avatar-img {
  transform: scale(1.06);
}

/* Auto-Slider for Doctor Avatar Card */
.doc-avatar-slider-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(230, 0, 103, 0.16);
  border: 3px solid #FFFFFF;
  background: #F3E8FF;
}

.doc-avatar-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  transform: scale(1.03);
}

.doc-avatar-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.doc-avatar-slide .doc-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.doc-avatar-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  z-index: 10;
  pointer-events: none;
}

.avatar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.avatar-dot.active {
  width: 16px;
  border-radius: 9999px;
  background: var(--primary-color, #E60067);
  box-shadow: 0 2px 6px rgba(230, 0, 103, 0.6);
}

.doc-online-dot {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 16px;
  height: 16px;
  background-color: #10B981;
  border: 2.5px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.35);
}

.doc-main-info {
  flex-grow: 1;
}

.doc-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}

.doc-profile-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-dark, #180927);
  margin: 0;
  line-height: 1.2;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  background: #ECFDF5;
  color: #047857;
  border: 1px solid rgba(4, 120, 87, 0.25);
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.78rem;
  font-weight: 600;
}

.prime-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  background: linear-gradient(135deg, rgba(230, 0, 103, 0.1) 0%, rgba(121, 40, 202, 0.1) 100%);
  color: var(--primary-color, #E60067);
  border: 1px solid rgba(230, 0, 103, 0.25);
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.78rem;
  font-weight: 700;
}

.doc-specialty-line {
  color: var(--text-muted, #6B5E78);
  font-size: 0.96rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.doc-degrees-tag {
  color: var(--text-dark, #180927);
  font-weight: 700;
}

.doc-experience-line {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #4A3E56;
  margin-bottom: 12px;
}

.doc-experience-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.doc-experience-item i {
  color: var(--primary-color, #E60067);
}

.doc-metrics-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(230, 0, 103, 0.16);
}

.doc-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FAF5FF;
  border: 1px solid rgba(121, 40, 202, 0.14);
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-dark, #180927);
}

.doc-metric-pill.success {
  background: #ECFDF5;
  border-color: rgba(16, 185, 129, 0.25);
  color: #047857;
}

.doc-metric-pill.highlight {
  background: #FDF2F8;
  border-color: rgba(230, 0, 103, 0.25);
  color: var(--primary-color, #E60067);
}

.doc-actions-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 130px;
}

.btn-doc-action {
  background: #FFFFFF;
  border: 1.5px solid rgba(230, 0, 103, 0.18);
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark, #180927);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-doc-action:hover,
.btn-doc-action.active {
  background: #FDF2F8;
  color: var(--primary-color, #E60067);
  border-color: var(--primary-color, #E60067);
  box-shadow: 0 4px 12px rgba(230, 0, 103, 0.18);
}

/* --------------------------------------------------------------------------
   4. STICKY SUB-NAVIGATION TABS (INFO, STORIES, SERVICES, CLINICS, FAQ)
   -------------------------------------------------------------------------- */
.doc-nav-tabs-wrapper {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1.5px solid rgba(230, 0, 103, 0.14);
  box-shadow: 0 6px 20px rgba(27, 10, 42, 0.04);
  margin-bottom: 24px;
  position: sticky;
  top: 76px;
  z-index: 90;
  backdrop-filter: blur(10px);
}

.doc-tabs-list {
  display: flex;
  list-style: none;
  padding: 4px;
  margin: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.doc-tabs-list::-webkit-scrollbar {
  display: none;
}

.doc-tab-item {
  flex-shrink: 0;
}

.doc-tab-btn {
  background: none;
  border: none;
  padding: 12px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted, #6B5E78);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  border-radius: 12px;
}

.doc-tab-btn:hover {
  color: var(--primary-color, #E60067);
  background: #FDF2F8;
}

.doc-tab-btn.active {
  color: var(--primary-color, #E60067);
  background: #FDF2F8;
  font-weight: 700;
}

.doc-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 15%;
  width: 70%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color, #E60067) 0%, var(--color-violet, #7928CA) 100%);
  border-radius: 3px 3px 0 0;
}

.doc-tab-btn .badge-count {
  font-size: 0.74rem;
  background: rgba(230, 0, 103, 0.1);
  color: var(--primary-color, #E60067);
  padding: 2px 7px;
  border-radius: var(--radius-pill, 9999px);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   5. LEFT COLUMN SECTION CARDS (CLINIC, SERVICES, CREDENTIALS, REVIEWS, FAQS)
   -------------------------------------------------------------------------- */
.doc-section-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1.5px solid rgba(230, 0, 103, 0.12);
  box-shadow: 0 8px 24px rgba(27, 10, 42, 0.035);
  padding: 28px;
  margin-bottom: 24px;
  transition: border-color 0.25s ease;
}

.doc-section-card:hover {
  border-color: rgba(230, 0, 103, 0.24);
}

.doc-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark, #180927);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.doc-section-title i {
  color: var(--primary-color, #E60067);
  margin-right: 8px;
}

/* Clinic Details Card */
.clinic-detail-card {
  border: 1.5px solid rgba(230, 0, 103, 0.12);
  border-radius: 16px;
  padding: 22px;
  background: #FAF8FA;
  transition: all 0.25s ease;
}

.clinic-detail-card:hover {
  border-color: rgba(230, 0, 103, 0.3);
  box-shadow: 0 10px 24px rgba(230, 0, 103, 0.07);
}

.clinic-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 8px;
}

.clinic-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-dark, #180927);
  margin: 0;
}

.clinic-verified-tag {
  color: var(--color-violet, #7928CA);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #F3E8FF;
  padding: 3px 10px;
  border-radius: var(--radius-pill, 9999px);
}

.clinic-address {
  font-size: 0.88rem;
  color: var(--text-muted, #6B5E78);
  margin-bottom: 12px;
  line-height: 1.55;
}

.clinic-directions-link {
  color: var(--primary-color, #E60067);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.86rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.clinic-directions-link:hover {
  text-decoration: underline;
  color: var(--primary-hover, #C2185B);
}

.clinic-fee-box {
  display: none !important;
}

.timings-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 10px;
}

.timings-table td {
  padding: 8px 12px;
  font-size: 0.85rem;
  border-bottom: 1px dashed rgba(27, 10, 42, 0.08);
}

.timings-table tr:last-child td {
  border-bottom: none;
}

.timings-table tr.today-highlight td {
  color: var(--primary-color, #E60067);
  font-weight: 700;
  background: #FDF2F8;
  border-radius: 6px;
}

.clinic-photos-strip {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.clinic-photo-thumb {
  width: 90px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid rgba(230, 0, 103, 0.15);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.clinic-photo-thumb:hover {
  transform: scale(1.05);
  border-color: var(--primary-color, #E60067);
}

/* Services & Specializations Grid */
.services-pills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-pill-item {
  background: #FDF2F8;
  color: #9D174D;
  border: 1.5px solid rgba(230, 0, 103, 0.16);
  border-radius: 12px;
  padding: 10px 15px;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.service-pill-item:hover {
  background: linear-gradient(135deg, var(--primary-color, #E60067) 0%, var(--color-violet, #7928CA) 100%);
  color: #FFFFFF;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230, 0, 103, 0.25);
}

.service-pill-item i {
  font-size: 0.85rem;
  color: var(--primary-color, #E60067);
}

.service-pill-item:hover i {
  color: #FFFFFF;
}

/* Timeline / Experience / Education */
.doc-timeline {
  position: relative;
  padding-left: 24px;
}

.doc-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(230, 0, 103, 0.25);
}

.doc-timeline-item {
  position: relative;
  margin-bottom: 18px;
}

.doc-timeline-dot {
  position: absolute;
  left: -24px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid var(--primary-color, #E60067);
  box-shadow: 0 0 0 3px rgba(230, 0, 103, 0.2);
}

.doc-timeline-title {
  font-weight: 700;
  color: var(--text-dark, #180927);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.doc-timeline-sub {
  color: var(--text-muted, #6B5E78);
  font-size: 0.85rem;
}

/* Patient Reviews / Feedback Section */
.rating-overview-card {
  background: linear-gradient(135deg, rgba(230, 0, 103, 0.05) 0%, rgba(121, 40, 202, 0.05) 100%);
  border-radius: 16px;
  padding: 24px;
  border: 1.5px solid rgba(230, 0, 103, 0.14);
  margin-bottom: 22px;
}

.big-rating-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--primary-color, #E60067);
  line-height: 1;
}

.star-rating-stars {
  color: var(--color-amber, #F59E0B);
  font-size: 1rem;
  margin: 6px 0;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.84rem;
}

.rating-bar-label {
  width: 160px;
  font-weight: 600;
  color: var(--text-dark, #180927);
  flex-shrink: 0;
}

.rating-bar-progress {
  flex-grow: 1;
  height: 8px;
  background: rgba(27, 10, 42, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color, #E60067) 0%, var(--color-violet, #7928CA) 100%);
  border-radius: 99px;
}

.rating-bar-percent {
  width: 40px;
  font-weight: 700;
  color: var(--text-dark, #180927);
  text-align: right;
  flex-shrink: 0;
}

.review-filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.review-filter-chip {
  background: #FFFFFF;
  border: 1.5px solid rgba(230, 0, 103, 0.16);
  border-radius: var(--radius-pill, 9999px);
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark, #180927);
  cursor: pointer;
  transition: all 0.2s ease;
}

.review-filter-chip.active,
.review-filter-chip:hover {
  background: var(--primary-color, #E60067);
  color: #FFFFFF;
  border-color: var(--primary-color, #E60067);
  box-shadow: 0 4px 12px rgba(230, 0, 103, 0.25);
}

.patient-review-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(230, 0, 103, 0.14);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(27, 10, 42, 0.035);
  transition: all 0.25s ease;
}

.patient-review-card:hover {
  border-color: rgba(230, 0, 103, 0.3);
  box-shadow: 0 8px 24px rgba(230, 0, 103, 0.08);
  transform: translateY(-2px);
}

.patient-review-card:last-child {
  margin-bottom: 0;
}

.reviewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.reviewer-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color, #E60067) 0%, var(--color-violet, #7928CA) 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 4px 10px rgba(230, 0, 103, 0.25);
}

.reviewer-name {
  font-weight: 700;
  color: var(--text-dark, #180927);
  font-size: 0.96rem;
  margin: 0;
}

.reviewer-badge-verified {
  font-size: 0.76rem;
  color: #059669;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.reviewer-date {
  font-size: 0.78rem;
  color: var(--text-muted, #6B5E78);
}

.review-treatment-tag {
  display: inline-block;
  background: #FDF2F8;
  color: #9D174D;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 8px;
  border: 1px solid rgba(230, 0, 103, 0.14);
}

.review-recommend-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #047857;
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.review-text {
  font-size: 0.91rem;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 10px;
}

.review-helpful-btn {
  background: #FFFFFF;
  border: 1.5px solid rgba(27, 10, 42, 0.1);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 0.78rem;
  color: #4A3E56;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.review-helpful-btn:hover,
.review-helpful-btn.voted {
  background: #FDF2F8;
  color: var(--primary-color, #E60067);
  border-color: rgba(230, 0, 103, 0.35);
}

/* --------------------------------------------------------------------------
   6. RIGHT COLUMN: CLINICAL APPOINTMENT BOOKING WIDGET (CORE PRACTO ARCHITECTURE)
   -------------------------------------------------------------------------- */
.sticky-appointment-panel {
  position: sticky;
  top: 86px;
  z-index: 95;
}

.booking-widget-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1.5px solid rgba(230, 0, 103, 0.22);
  box-shadow: 0 16px 45px rgba(27, 10, 42, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.booking-widget-card:hover {
  box-shadow: 0 20px 50px rgba(230, 0, 103, 0.12);
}

/* Widget Header */
.booking-widget-header {
  padding: 18px 22px;
  background: linear-gradient(135deg, var(--primary-color, #E60067) 0%, #C2185B 100%) !important;
  color: #FFFFFF !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.booking-widget-header .title-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.booking-widget-header .title-left i {
  font-size: 1.4rem;
  color: #FFFFFF !important;
}

.booking-widget-header .title-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: #FFFFFF !important;
}

.booking-widget-header .sub-text {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.92) !important;
}

.widget-header-fee .fee-badge,
.booking-widget-header .fee-badge {
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 5px 12px;
  border-radius: var(--radius-pill, 9999px);
  display: inline-block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Practice Locality Snippet */
.booking-clinic-snippet {
  padding: 12px 20px;
  background: #FAF5FF;
  border-bottom: 1px solid rgba(121, 40, 202, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.booking-clinic-snippet .clinic-title {
  font-weight: 700;
  color: var(--text-dark, #180927);
  font-size: 0.9rem;
}

.booking-clinic-snippet .verified-pill {
  font-size: 0.75rem;
  color: #059669;
  font-weight: 600;
  background: #ECFDF5;
  padding: 3px 8px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* --------------------------------------------------------------------------
   7. SELECT APPOINTMENT DATE SECTION (CAROUSEL & TIME SLOTS)
   -------------------------------------------------------------------------- */
.booking-calendar-section {
  padding: 16px 20px 10px 20px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.calendar-header-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark, #180927) !important;
  display: flex;
  align-items: center;
  gap: 6px;
}

.calendar-header-title i {
  color: var(--primary-color, #E60067) !important;
}

.calendar-nav-arrows {
  display: flex;
  gap: 5px;
}

.cal-nav-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(230, 0, 103, 0.2) !important;
  background: #FFFFFF !important;
  color: var(--text-dark, #180927) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cal-nav-btn:hover:not(:disabled) {
  background: var(--primary-color, #E60067) !important;
  color: #FFFFFF !important;
  border-color: var(--primary-color, #E60067) !important;
  box-shadow: 0 4px 10px rgba(230, 0, 103, 0.3);
}

.cal-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* 7-Day Date Cards Carousel */
.date-cards-carousel {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px;
}

.date-cards-carousel::-webkit-scrollbar {
  display: none;
}

.date-card-btn {
  flex: 0 0 102px;
  padding: 9px 6px;
  border-radius: 14px;
  border: 1.5px solid rgba(230, 0, 103, 0.16);
  background: #FFFFFF !important;
  color: var(--text-dark, #180927) !important;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s ease;
  outline: none;
  box-shadow: 0 2px 8px rgba(27, 10, 42, 0.04);
}

.date-card-btn .day-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark, #180927) !important;
  display: block;
}

.date-card-btn .date-label {
  font-size: 0.74rem;
  color: var(--text-muted, #6B5E78) !important;
  display: block;
  margin-top: 1px;
}

.date-card-btn .slots-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #059669 !important;
  background: #ECFDF5;
  display: inline-block;
  padding: 2px 7px;
  border-radius: 99px;
  margin-top: 4px;
}

.date-card-btn:hover {
  border-color: var(--primary-color, #E60067);
  background: #FDF2F8 !important;
  transform: translateY(-2px);
}

.date-card-btn.active {
  background: linear-gradient(135deg, var(--primary-color, #E60067) 0%, #C2185B 100%) !important;
  border-color: var(--primary-color, #E60067) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230, 0, 103, 0.35) !important;
}

.date-card-btn.active .day-label,
.date-card-btn.active .date-label {
  color: #FFFFFF !important;
}

.date-card-btn.active .slots-badge {
  background: #FFFFFF !important;
  color: var(--primary-color, #E60067) !important;
}

/* Time Slot Tabs (All, Morning, Afternoon, Evening) */
.time-filter-tabs {
  display: flex;
  gap: 6px;
  padding: 8px 20px;
  background: #FAF8FA !important;
  border-top: 1px solid rgba(230, 0, 103, 0.1) !important;
  border-bottom: 1px solid rgba(230, 0, 103, 0.1) !important;
  overflow-x: auto;
  scrollbar-width: none;
}

.time-filter-tabs::-webkit-scrollbar {
  display: none;
}

.time-filter-pill {
  padding: 5px 12px;
  border-radius: var(--radius-pill, 9999px);
  border: 1px solid rgba(230, 0, 103, 0.16) !important;
  background: #FFFFFF !important;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-dark, #180927) !important;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.time-filter-pill:hover,
.time-filter-pill.active {
  background: var(--primary-color, #E60067) !important;
  color: #FFFFFF !important;
  border-color: var(--primary-color, #E60067) !important;
  box-shadow: 0 3px 10px rgba(230, 0, 103, 0.25);
}

/* Time Slots Grid */
.slots-container {
  padding: 14px 20px;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.slot-time-btn {
  padding: 8px 6px;
  border-radius: 10px;
  border: 1.5px solid rgba(230, 0, 103, 0.2);
  background: #FFFFFF;
  color: var(--text-dark, #180927);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slot-time-btn:hover {
  background: #FDF2F8 !important;
  border-color: var(--primary-color, #E60067) !important;
  color: var(--primary-color, #E60067) !important;
  transform: translateY(-1px);
}

.slot-time-btn.selected {
  background: var(--primary-color, #E60067) !important;
  color: #FFFFFF !important;
  border-color: var(--primary-color, #E60067) !important;
  box-shadow: 0 4px 14px rgba(230, 0, 103, 0.35) !important;
}

/* Selected Slot Banner */
.selected-slot-preview {
  margin: 0 20px 14px 20px;
  padding: 10px 14px;
  background: #FDF2F8;
  border: 1.5px dashed var(--primary-color, #E60067);
  border-radius: 12px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.selected-slot-preview .slot-text {
  font-weight: 700;
  color: var(--primary-color, #E60067);
}

/* --------------------------------------------------------------------------
   8. CLINICAL APPOINTMENT IN-WIDGET FORM
   -------------------------------------------------------------------------- */
.booking-form-drawer {
  padding: 0 20px 20px 20px;
}

.booking-form-drawer .form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark, #180927);
  margin-bottom: 4px;
}

.booking-form-drawer .form-control,
.booking-form-drawer .form-select {
  border-radius: 10px;
  font-size: 0.86rem;
  padding: 8px 12px;
  border: 1.5px solid rgba(27, 10, 42, 0.15);
  background-color: #FFFFFF;
  color: var(--text-dark, #180927);
  transition: all 0.2s ease;
}

.booking-form-drawer .form-control:hover,
.booking-form-drawer .form-select:hover {
  border-color: var(--primary-color, #E60067);
  background-color: rgba(230, 0, 103, 0.02);
}

.booking-form-drawer .form-control:focus,
.booking-form-drawer .form-select:focus {
  border-color: var(--primary-color, #E60067) !important;
  box-shadow: 0 0 0 3px rgba(230, 0, 103, 0.2) !important;
  background-color: #FFFFFF !important;
  outline: none;
}

.btn-confirm-appointment {
  background: linear-gradient(135deg, var(--primary-color, #E60067) 0%, #C2185B 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 14px;
  padding: 13px 20px;
  font-weight: 700;
  font-size: 0.96rem;
  width: 100%;
  box-shadow: 0 8px 24px rgba(230, 0, 103, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-confirm-appointment:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(230, 0, 103, 0.45);
  color: #FFFFFF;
}

.btn-confirm-appointment:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.booking-guarantee-strip {
  padding: 12px 18px;
  background: #FAF8FA;
  border-top: 1px solid rgba(230, 0, 103, 0.1);
  font-size: 0.76rem;
  color: var(--text-muted, #6B5E78);
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.guarantee-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.guarantee-item i {
  color: #10B981;
}

/* --------------------------------------------------------------------------
   9. BOOKING RECEIPT & SUCCESS MODAL
   -------------------------------------------------------------------------- */
.booking-success-modal .modal-content {
  border-radius: 20px;
  border: 1.5px solid rgba(230, 0, 103, 0.25);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(27, 10, 42, 0.3);
}

.success-modal-header {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  color: #FFFFFF;
  padding: 24px 20px;
  text-align: center;
}

.success-check-circle {
  width: 64px;
  height: 64px;
  background: #FFFFFF;
  color: #059669;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  animation: bounceIn 0.8s ease;
}

.booking-receipt-body {
  padding: 24px;
  background: #FFFFFF;
}

.receipt-reference-box {
  background: #FAF5FF;
  border: 1px solid rgba(121, 40, 202, 0.16);
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.receipt-id {
  font-family: monospace;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary-color, #E60067);
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(27, 10, 42, 0.08);
  font-size: 0.88rem;
}

.receipt-row:last-child {
  border-bottom: none;
}

.receipt-row .label {
  color: var(--text-muted, #6B5E78);
}

.receipt-row .val {
  font-weight: 700;
  color: var(--text-dark, #180927);
  text-align: right;
}

/* --------------------------------------------------------------------------
   10. MOBILE FLOATING BOOKING BAR (FOR SCREENS < 992px)
   -------------------------------------------------------------------------- */
.mobile-sticky-booking-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1.5px solid rgba(230, 0, 103, 0.25);
  box-shadow: 0 -8px 24px rgba(27, 10, 42, 0.12);
  padding: 12px 20px;
  z-index: 999;
}

/* --------------------------------------------------------------------------
   11. RESPONSIVENESS (EVERY TYPE & SIZE OF SCREEN)
   -------------------------------------------------------------------------- */

/* Large Screens (>= 1200px) */
@media (min-width: 1200px) {
  .doc-avatar-wrapper {
    width: 150px;
    height: 150px;
  }
}

/* Medium Tablets & Below (< 992px) */
@media (max-width: 991.98px) {
  .mobile-sticky-booking-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-bar-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color, #E60067);
    line-height: 1;
    font-family: 'Outfit', sans-serif;
  }

  .mobile-bar-sub {
    font-size: 0.74rem;
    color: #059669;
    font-weight: 600;
  }

  .btn-mobile-book-now {
    background: linear-gradient(135deg, var(--primary-color, #E60067) 0%, #C2185B 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(230, 0, 103, 0.35);
    text-decoration: none;
  }

  .btn-mobile-book-now:hover {
    color: #FFFFFF;
  }

  .sticky-appointment-panel {
    position: static;
    margin-top: 24px;
    margin-bottom: 76px;
  }

  .doc-profile-hero {
    padding: 24px 0 18px;
  }

  .doc-quick-switcher-box {
    max-width: 100%;
    margin-top: 8px;
  }

  .doc-nav-tabs-wrapper {
    top: 68px;
  }

  .doc-actions-col {
    flex-direction: row;
    width: 100%;
    margin-top: 8px;
  }

  .btn-doc-action {
    flex: 1;
  }
}

/* Small Tablets & Mobile Phones (< 768px) */
@media (max-width: 767.98px) {
  .doc-header-card {
    padding: 20px;
  }

  .doc-avatar-wrapper {
    width: 110px;
    height: 110px;
    margin: 0 auto 10px auto;
  }

  .doc-header-card .d-flex.align-items-start {
    text-align: center;
    align-items: center !important;
  }

  .doc-name-row {
    justify-content: center;
  }

  .doc-profile-name {
    font-size: 1.5rem;
    width: 100%;
  }

  .doc-experience-line {
    justify-content: center;
  }

  .doc-metrics-row {
    justify-content: center;
  }

  .doc-section-card {
    padding: 20px;
  }

  .rating-bar-label {
    width: 120px;
    font-size: 0.78rem;
  }

  .clinic-fee-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Small Mobile Screens (< 480px) */
@media (max-width: 479.98px) {
  .doc-profile-name {
    font-size: 1.35rem;
  }

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

  .date-card-btn {
    flex: 0 0 94px;
    padding: 8px 4px;
  }

  .doc-tab-btn {
    padding: 10px 14px;
    font-size: 0.84rem;
  }

  .rating-bar-row {
    flex-wrap: wrap;
    gap: 4px;
  }

  .rating-bar-label {
    width: 100%;
  }

  .rating-bar-progress {
    width: calc(100% - 46px);
  }
}

/* Keyframe Animations */
@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   SIMPLIFIED MODERN DOCTOR PROFILE DESIGN & RIGHT SIDE FORM
   ========================================================================== */
.verified-badge,
.prime-badge,
.clinic-verified-tag,
.verified-pill,
.reviewer-badge-verified,
.review-recommend-pill,
.badge-count,
.doc-online-dot,
.booking-guarantee-strip,
.badge-hero-verified,
.badge-hero-avail {
  display: none !important;
}

/* Simple Clean Rating Line */
.doc-rating-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  margin-top: 10px;
  font-weight: 600;
  color: var(--text-dark, #180927);
}

.doc-rating-summary .rating-stars {
  color: var(--primary-color, #E60067);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.doc-rating-summary .rating-count {
  color: var(--text-muted, #6B5E78);
  font-weight: 500;
}

/* Simplified Right Side Booking Form Card */
.simple-booking-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1.5px solid rgba(230, 0, 103, 0.16);
  box-shadow: 0 10px 30px rgba(24, 9, 39, 0.05);
  padding: 26px 24px;
  position: sticky;
  top: 96px;
  z-index: 20;
}

.simple-booking-header {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(230, 0, 103, 0.12);
}

.simple-booking-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark, #180927);
  margin: 0 0 4px;
}

.simple-booking-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted, #6B5E78);
  margin: 0;
}

.simple-form-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-dark, #180927);
  margin-bottom: 6px;
  display: block;
}

.simple-form-control {
  height: 44px;
  border: 1.5px solid #E2D9E2;
  border-radius: 10px;
  font-size: 0.92rem;
  padding: 8px 14px;
  color: var(--text-dark, #180927);
  background-color: #FFFFFF;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.simple-form-control:focus {
  border-color: var(--primary-color, #E60067);
  box-shadow: 0 0 0 3px rgba(230, 0, 103, 0.15);
  outline: none;
  background-color: #FFFFFF;
}

.btn-book-appointment {
  background: var(--primary-color, #E60067);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1rem;
  height: 48px;
  border-radius: 10px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(230, 0, 103, 0.25);
}

.btn-book-appointment:hover {
  background: var(--primary-hover, #C2185B);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(230, 0, 103, 0.35);
}

.simple-form-privacy {
  font-size: 0.78rem;
  color: var(--text-muted, #6B5E78);
  text-align: center;
  margin-top: 14px;
  line-height: 1.4;
}

