/* ==========================================================================
   BEKAL AYURVEDIC CLINIC - ULTRA-LUXURY COMPONENTS (v24.0 WCAG AA DARK MODE)
   ========================================================================== */

:root {
  --primary-forest: #0E5A46;
  --deep-emerald: #155C48;
  --luxury-gold: #C8A44D;
  --gold-hover: #B08C1E;
  --soft-champagne: #FAF6EE;
  --ivory-white: #FFFDF8;
  --warm-beige: #F5F1E8;
  --glass-white: rgba(255, 255, 255, 0.76);
  --text-dark: #173B35;
}

/* --- Hero Section & General Layout --- */
.hero-section {
  position: relative;
  min-height: 88vh;
  padding-top: 6rem;
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  background: radial-gradient(circle at 80% 20%, rgba(200, 164, 77, 0.14) 0%, transparent 60%),
              radial-gradient(circle at 15% 85%, rgba(14, 90, 70, 0.16) 0%, transparent 55%),
              var(--bg-primary);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(200, 164, 77, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--primary-forest);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 5.5vw, 3.9rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1.2rem;
  color: var(--primary-forest);
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary-forest), var(--deep-emerald), var(--luxury-gold));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleGradientMove 8s ease infinite;
}

@keyframes titleGradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-subtitle {
  font-size: clamp(0.98rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 2.2rem;
  max-width: 640px;
  line-height: 1.8;
}

@media (max-width: 992px) {
  .hero-subtitle { margin-left: auto; margin-right: auto; }
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.8rem;
  width: 100%;
}

@media (max-width: 992px) {
  .hero-buttons { justify-content: center; }
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.8rem !important;
  }
  .hero-buttons .btn, .hero-buttons a {
    width: 100% !important;
    display: flex !important;
    box-sizing: border-box !important;
  }
}

/* Statistics Counter Layout (Desktop 4 Cards Grid) */
.hero-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 32px;
  padding-top: 2.5rem;
  margin-top: 2.2rem;
  border-top: 1px solid rgba(200, 164, 77, 0.25);
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1199px) and (min-width: 992px) {
  .hero-stats {
    grid-template-columns: repeat(4, minmax(180px, 1fr)) !important;
    gap: 20px !important;
  }
}

@media (max-width: 991px) and (min-width: 576px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.2rem !important;
  }
}

@media (max-width: 575px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem !important;
  }
}

.stat-card-glass {
  background: linear-gradient(180deg, #FFFDF8 0%, #FAF6EE 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(200, 164, 77, 0.28);
  border-radius: 26px;
  padding: 2.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 320px;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 14px 35px -10px rgba(14, 90, 70, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 450ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 450ms ease;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .stat-card-glass {
    min-height: 200px;
    padding: 1.4rem 0.9rem;
    border-radius: 20px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .stat-card-glass:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px -10px rgba(14, 90, 70, 0.18),
                0 0 30px rgba(200, 164, 77, 0.3);
    border-color: rgba(200, 164, 77, 0.6);
  }
}

.stat-card-glass:active { transform: scale(0.97); }

.stat-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200, 164, 77, 0.2), rgba(14, 90, 70, 0.08));
  border: 1px solid rgba(200, 164, 77, 0.4);
  color: #0E5A46;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 4px 12px rgba(200, 164, 77, 0.15);
  flex-shrink: 0;
}

/* Rebuilt Clean Geometric Numeric Typography (Manrope / Inter 800) */
.stat-number-animated {
  font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #0F5A46;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  animation: none;
  display: inline-block;
  white-space: nowrap;
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
  transition: opacity 350ms ease, filter 350ms ease, transform 350ms ease;
}

@media (max-width: 1199px) and (min-width: 992px) { .stat-number-animated { font-size: 46px; } }
@media (max-width: 991px) { .stat-number-animated { font-size: 42px; } }
@media (max-width: 576px) { .stat-number-animated { font-size: 36px; } }

.stat-number-animated.resetting { opacity: 0; filter: blur(4px); transform: scale(0.96); }

.stat-label-text {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #5E5E5E;
  letter-spacing: 2px;
  margin-top: 0.9rem;
  text-transform: uppercase;
  text-align: center;
}

.hero-image-wrapper { position: relative; width: 100%; }

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-gold);
  width: 100%;
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform var(--transition-smooth);
}

.hero-image-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-image-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .hero-image-card { transform: none; }
  .hero-image-card img { height: 300px; }
}

.floating-experience-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--bg-surface);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 576px) {
  .floating-experience-badge {
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: 1.2rem;
    justify-content: center;
  }
}

/* --- Ultra-Premium Why Choose Us Section --- */
.why-choose-section {
  position: relative;
  padding: 7.5rem 0;
  background: radial-gradient(circle at 15% 20%, rgba(250, 246, 238, 0.4) 0%, transparent 50%),
              radial-gradient(circle at 85% 80%, rgba(21, 92, 72, 0.08) 0%, transparent 55%),
              linear-gradient(180deg, #FFFDF8 0%, #FAF6EE 50%, #FFFDF8 100%);
  overflow: hidden;
}

.why-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

.why-header .why-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.3rem;
  border-radius: 9999px;
  background: rgba(200, 164, 77, 0.12);
  border: 1px solid rgba(200, 164, 77, 0.35);
  color: #0E5A46;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(10px);
}

.why-header h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: #0E5A46;
  letter-spacing: -1px;
  line-height: 1.12;
  margin-bottom: 1.2rem;
}

.why-header h2 span { color: #C8A44D; }

.why-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.2rem auto 1.5rem;
  max-width: 240px;
}

.why-divider .line { height: 1px; flex-grow: 1; background: linear-gradient(90deg, transparent, #C8A44D, transparent); }
.why-divider i { color: #C8A44D; font-size: 1.1rem; animation: leafPulse 3s ease-in-out infinite; }

@keyframes leafPulse { 0%, 100% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.2); opacity: 1; } }

.why-header p {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.12rem;
  line-height: 1.8;
  color: #155C48;
  font-weight: 400;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
  width: 100%;
}

@media (max-width: 992px) { .why-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (max-width: 576px) { .why-grid { grid-template-columns: 1fr; gap: 20px; } }

.why-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94) 0%, rgba(250, 246, 238, 0.88) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(200, 164, 77, 0.28);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  box-sizing: border-box;
  box-shadow: 0 15px 35px -10px rgba(14, 90, 70, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 500ms cubic-bezier(0.16, 1, 0.3, 1), border-color 500ms ease;
  position: relative;
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .why-card:hover {
    transform: translateY(-10px) rotateX(4deg) rotateY(2deg);
    box-shadow: 0 30px 60px -15px rgba(14, 90, 70, 0.16), 0 0 35px rgba(200, 164, 77, 0.25);
    border-color: rgba(200, 164, 77, 0.6);
  }
}

.why-icon-container {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(250, 246, 238, 0.4), rgba(200, 164, 77, 0.18));
  border: 1.5px solid rgba(200, 164, 77, 0.45);
  backdrop-filter: blur(10px);
  color: #0E5A46;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 8px 20px rgba(200, 164, 77, 0.2);
  animation: iconFloat 5s ease-in-out infinite alternate;
}

@keyframes iconFloat { 0% { transform: translateY(0); } 100% { transform: translateY(-4px); } }

.why-card h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.5rem; font-weight: 700; color: #0E5A46; margin-bottom: 0.8rem; }
.why-card p { font-family: 'Inter', -apple-system, sans-serif; font-size: 0.96rem; line-height: 1.8; color: #155C48; flex-grow: 1; }

/* Grid Framework */
.treatments-grid, .massages-grid, .doctors-grid, .about-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 2rem; width: 100%; }
.glass-card { background: var(--bg-glass-card); backdrop-filter: blur(16px); border: 1px solid var(--border-color); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: transform var(--transition-smooth), box-shadow var(--transition-smooth); }
.glass-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.treatment-card, .massage-card, .doctor-card, .about-card { border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; height: 100%; width: 100%; }
.card-media { position: relative; height: 220px; width: 100%; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-smooth); }
.card-badge-icon { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-glass); backdrop-filter: blur(10px); color: var(--accent-primary); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; border: 1px solid var(--border-gold); }
.card-body { padding: 1.6rem; display: flex; flex-direction: column; flex-grow: 1; }
.card-body h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.card-body p { font-size: 0.92rem; color: var(--text-secondary); margin-bottom: 1.4rem; flex-grow: 1; }
.card-actions { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.card-actions .btn { flex: 1; padding: 0.65rem 0.8rem; font-size: 0.84rem; }
.doctor-card { padding: 2rem 1.6rem; align-items: center; text-align: center; }
.doctor-photo-wrapper { position: relative; width: 130px; height: 130px; margin-bottom: 1.2rem; }
.doctor-photo { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3.5px solid var(--primary-forest); box-shadow: var(--shadow-md); position: relative; z-index: 2; }
.doctor-photo-wrapper::before { content: ''; position: absolute; top: -6px; left: -6px; right: -6px; bottom: -6px; border-radius: 50%; border: 2px dashed var(--luxury-gold); animation: rotateRing 15s linear infinite; z-index: 1; }
@keyframes rotateRing { 100% { transform: rotate(360deg); } }

/* ==========================================================================
   DYNAMIC GOOGLE PATIENT REVIEWS CAROUSEL
   ========================================================================== */

.reviews-section-wrapper {
  background: radial-gradient(circle at 10% 20%, rgba(200, 164, 77, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 90% 80%, rgba(14, 90, 70, 0.06) 0%, transparent 50%),
              linear-gradient(180deg, #FAF6EE 0%, #FFFDF8 50%, #FAF6EE 100%);
  position: relative;
  padding: 5.5rem 0;
  overflow: hidden;
}

.reviews-header-clean { margin-bottom: 1.8rem; }
.reviews-gold-badge { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.4rem 1.2rem; border-radius: 9999px; background: rgba(200, 164, 77, 0.15); border: 1px solid rgba(200, 164, 77, 0.4); color: #0E5A46; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.8rem; }
.reviews-header-clean { margin-bottom: 1.8rem; }
.reviews-gold-badge { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.4rem 1.2rem; border-radius: 9999px; background: rgba(200, 164, 77, 0.15); border: 1px solid rgba(200, 164, 77, 0.4); color: #0E5A46; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.8rem; }
.reviews-header-clean h2 { font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif; font-size: clamp(2.3rem, 4.5vw, 3.4rem); font-weight: 700; color: #0E5A46; line-height: 1.15; margin-bottom: 0.6rem; }
.reviews-header-clean p { font-family: 'Inter', sans-serif; font-size: 1.05rem; color: #155C48; line-height: 1.65; max-width: 720px; }

.reviews-carousel-viewport { width: 100%; overflow: hidden; position: relative; padding: 0.2rem 0 1rem; margin-top: 0; }
.reviews-carousel-track { display: flex; gap: 24px; transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1); will-change: transform; }
.carousel-slide-item { flex: 0 0 calc(50% - 12px); max-width: calc(50% - 12px); box-sizing: border-box; }
@media (max-width: 768px) { .carousel-slide-item { flex: 0 0 100%; max-width: 100%; } }

.luxury-testimonial-card { background: #FFFFFF; border: 1.5px solid rgba(200, 164, 77, 0.35); border-radius: 26px; padding: 2.2rem 2rem; box-shadow: 0 16px 40px -10px rgba(14, 90, 70, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9); display: flex; flex-direction: column; justify-content: space-between; height: 100%; box-sizing: border-box; position: relative; transition: transform 400ms ease, box-shadow 400ms ease; }
.card-quote-icon { font-size: 2rem; color: rgba(200, 164, 77, 0.35); }
.card-review-title { font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif; font-size: 1.45rem; font-weight: 700; color: #0E5A46; line-height: 1.2; margin-bottom: 0.6rem; }
.card-review-body { font-family: 'Inter', sans-serif; font-size: 1.05rem; line-height: 1.75; color: #155C48; margin-bottom: 1.8rem; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }

.card-patient-profile { display: flex; align-items: center; gap: 1.1rem; padding-top: 1.2rem; border-top: 1px dashed rgba(200, 164, 77, 0.35); margin-bottom: 1.2rem; }
.patient-avatar-img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 2.5px solid #C8A44D; box-shadow: 0 6px 18px rgba(14, 90, 70, 0.12); flex-shrink: 0; margin: 0; display: block; }
@media (max-width: 576px) { .patient-avatar-img { width: 64px; height: 64px; } }
.avatar-initials-circle { width: 76px; height: 76px; border-radius: 50%; background: linear-gradient(135deg, #0E5A46, #155C48); border: 2.5px solid #C8A44D; color: #FFFDF8; font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif; font-size: 1.6rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin: 0; box-shadow: 0 6px 18px rgba(14, 90, 70, 0.12); }
@media (max-width: 576px) { .avatar-initials-circle { width: 64px; height: 64px; font-size: 1.3rem; } }

.patient-details-box { display: flex; flex-direction: column; gap: 0.2rem; margin: 0; }
.patient-name-text { font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif; font-size: 1.35rem; font-weight: 700; color: #0E5A46; line-height: 1.15; margin: 0; }
.badge-verified { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; color: #0E5A46; background: rgba(200, 164, 77, 0.18); border: 1px solid rgba(200, 164, 77, 0.45); padding: 0.2rem 0.65rem; border-radius: 9999px; display: inline-flex; align-items: center; gap: 0.3rem; }
.patient-meta-sub { font-size: 0.84rem; color: #5E5E5E; display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.1rem; }
.rec-tag { font-size: 0.76rem; font-weight: 700; color: #155C48; background: rgba(21, 92, 72, 0.1); padding: 0.2rem 0.6rem; border-radius: 8px; display: inline-block; margin-top: 0.2rem; }

.card-doctor-footer-internal { padding-top: 1rem; border-top: 1px dashed rgba(200, 164, 77, 0.3); display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: auto; }
@media (max-width: 576px) { .card-doctor-footer-internal { grid-template-columns: 1fr; gap: 0.4rem; } }
.doc-info-col { display: flex; flex-direction: column; }
.doc-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #C8A44D; }
.doc-val { font-size: 0.88rem; font-weight: 600; color: #0E5A46; }
.btn-card-action { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.85rem; font-size: 0.8rem; font-weight: 600; color: #0E5A46; background: rgba(250, 246, 238, 0.8); border: 1px solid rgba(200, 164, 77, 0.35); border-radius: 9999px; cursor: pointer; transition: all 250ms ease; }
.btn-card-action:hover { background: #C8A44D; color: #0E5A46; border-color: #C8A44D; }

.carousel-action-bar-floating { margin-top: 40px; display: flex; align-items: center; justify-content: center; gap: 1.4rem; width: 100%; }
@media (max-width: 576px) { .carousel-action-bar-floating { flex-direction: column !important; gap: 1rem !important; } }
.mobile-nav-buttons-row { display: flex; align-items: center; justify-content: center; gap: 1.2rem; }
.btn-gold-luxury-cta { font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 600; color: #FFFDF8; background: linear-gradient(135deg, #0E5A46 0%, #155C48 50%, #C8A44D 100%); background-size: 200% 200%; border: 1.5px solid #C8A44D; border-radius: 9999px; padding: 1.1rem 2.6rem; box-shadow: 0 12px 30px -5px rgba(14, 90, 70, 0.35); display: inline-flex; align-items: center; gap: 0.75rem; cursor: pointer; transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1); }
.btn-gold-luxury-cta:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 20px 45px -8px rgba(14, 90, 70, 0.45); }
.carousel-nav-glass-btn { width: 54px; height: 54px; border-radius: 50%; background: #FFFFFF; border: 1.5px solid rgba(200, 164, 77, 0.45); color: #0E5A46; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; cursor: pointer; box-shadow: 0 10px 25px rgba(14, 90, 70, 0.1); transition: transform 300ms ease; flex-shrink: 0; }
.carousel-nav-glass-btn:hover { background: #C8A44D; color: #0E5A46; border-color: #C8A44D; transform: scale(1.08); }

/* ==========================================================================
   ULTRA-LUXURY REBUILT APPOINTMENT BOOKING MODAL
   ========================================================================== */

.modal-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(5, 26, 20, 0.82); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1.2rem; opacity: 0; pointer-events: none; transition: opacity 400ms ease; box-sizing: border-box; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-booking-luxury { background: linear-gradient(145deg, #FFFDF8 0%, #FAF6EE 100%); border: 1.5px solid rgba(200, 164, 77, 0.4); border-radius: 28px; max-width: 760px; width: 100%; max-height: 92vh; overflow-y: auto; padding: 2.5rem; position: relative; box-shadow: 0 32px 75px -15px rgba(14, 90, 70, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.95); transform: translateY(30px) scale(0.96); transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1); box-sizing: border-box; }

@media (max-width: 768px) {
  .modal-booking-luxury {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    padding: 24px !important;
    border-radius: 24px !important;
    margin: 0 auto;
  }
}

.modal-booking-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.4rem; width: 100%; }
.modal-title-box { display: flex; align-items: center; gap: 0.75rem; flex: 1; min-width: 0; }
.modal-gold-icon { font-size: 1.8rem; color: #C8A44D; flex-shrink: 0; }
.modal-title-text { font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif; font-size: clamp(1.65rem, 4vw, 2.2rem); font-weight: 700; color: #0E5A46; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.15; }
.modal-close-glass-48 { width: 48px; height: 48px; border-radius: 50%; background: rgba(14, 90, 70, 0.08); border: 1px solid rgba(200, 164, 77, 0.35); color: #0E5A46; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; box-shadow: 0 4px 14px rgba(14, 90, 70, 0.08); transition: transform 300ms ease; flex-shrink: 0; }
.modal-close-glass-48:hover { background: #C8A44D; color: #0E5A46; border-color: #C8A44D; transform: scale(1.08); }
.modal-subtitle-text { font-family: 'Inter', sans-serif; font-size: 0.95rem; color: #155C48; margin-bottom: 1.8rem; line-height: 1.5; }

.booking-form-luxury { width: 100%; }
.form-grid-luxury { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
@media (max-width: 768px) { .form-grid-luxury { grid-template-columns: 1fr !important; gap: 16px !important; } }
.form-group-luxury { display: flex; flex-direction: column; gap: 0.45rem; width: 100%; box-sizing: border-box; }
.form-group-luxury.full-width { grid-column: 1 / -1; }
.form-label-luxury { font-family: 'Manrope', 'Inter', sans-serif; font-size: 0.86rem; font-weight: 600; color: #0E5A46; display: flex; align-items: center; gap: 0.45rem; }
.form-control-luxury { width: 100%; height: 56px; padding: 0 1.2rem; font-size: 0.95rem; font-family: 'Inter', sans-serif; color: #0E5A46; background: #FFFFFF; border: 1.5px solid rgba(14, 90, 70, 0.18); border-radius: 16px; box-shadow: 0 3px 10px rgba(14, 90, 70, 0.03); box-sizing: border-box; transition: border-color 250ms ease, box-shadow 250ms ease; }
.form-control-luxury:focus { outline: none; border-color: #C8A44D; box-shadow: 0 0 0 3.5px rgba(200, 164, 77, 0.22); }
.select-luxury { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230E5A46' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.1rem center; background-size: 1.1rem; padding-right: 2.8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.textarea-luxury { height: auto !important; min-height: 84px; padding: 0.9rem 1.2rem; resize: vertical; }
.btn-confirm-appointment-luxury { width: 100%; height: 56px; font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 600; color: #FFFDF8; background: linear-gradient(135deg, #0E5A46 0%, #155C48 50%, #C8A44D 100%); background-size: 200% 200%; border: 1.5px solid #C8A44D; border-radius: 9999px; box-shadow: 0 12px 28px -5px rgba(14, 90, 70, 0.35); display: flex; align-items: center; justify-content: center; gap: 0.65rem; cursor: pointer; transition: transform 300ms ease, box-shadow 300ms ease; box-sizing: border-box; }
.btn-confirm-appointment-luxury:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -8px rgba(14, 90, 70, 0.45); }

/* ==========================================================================
   ULTRA-LUXURY REBUILT CONTACT & LOCATION SECTION
   ========================================================================== */

.contact-section-wrapper { position: relative; padding: 6.5rem 0; background: linear-gradient(180deg, #FFFDF8 0%, #FAF6EE 100%); overflow: hidden; }
.contact-grid-luxury { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; width: 100%; }

@media (max-width: 992px) {
  .contact-grid-luxury {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

.contact-card-luxury { background: linear-gradient(145deg, #FFFFFF 0%, #FAF6EE 100%); border: 1.5px solid rgba(200, 164, 77, 0.4); border-radius: 28px; padding: 2.5rem; box-shadow: 0 20px 50px -10px rgba(14, 90, 70, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95); display: flex; flex-direction: column; justify-content: space-between; min-height: 520px; height: 100%; box-sizing: border-box; }

@media (max-width: 768px) {
  .contact-card-luxury {
    padding: 1.8rem 1.4rem !important;
    border-radius: 24px !important;
    min-height: auto !important;
  }
}

.contact-card-header { margin-bottom: 1.6rem; }
.contact-card-header h3 { font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif; font-size: 2.1rem; font-weight: 700; color: #0E5A46; display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.35rem; }
.contact-card-header p { font-family: 'Inter', sans-serif; font-size: 0.96rem; color: #5E5E5E; }

.contact-items-list { display: flex; flex-direction: column; gap: 1.25rem; flex-grow: 1; }
.contact-item-card { background: #FFFFFF; border: 1px solid rgba(200, 164, 77, 0.28); border-radius: 20px; padding: 1.2rem 1.4rem; display: flex; align-items: flex-start; gap: 1.1rem; box-shadow: 0 4px 18px rgba(14, 90, 70, 0.04); transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), border-color 300ms ease, box-shadow 300ms ease; }
.contact-item-card:hover { transform: translateY(-4px); border-color: rgba(200, 164, 77, 0.65); box-shadow: 0 12px 30px rgba(14, 90, 70, 0.12); }
.contact-item-icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(200, 164, 77, 0.15); border: 1.5px solid rgba(200, 164, 77, 0.4); color: #0E5A46; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.contact-item-info h4 { font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif; font-size: 1.35rem; font-weight: 700; color: #0E5A46; line-height: 1.2; margin-bottom: 0.3rem; }
.contact-item-info p { font-family: 'Inter', sans-serif; font-size: 0.9rem; line-height: 1.65; color: #173B35; margin: 0; }

.working-hours-highlight-box { background: linear-gradient(135deg, rgba(250, 246, 238, 0.9) 0%, rgba(200, 164, 77, 0.12) 100%); border-left: 4px solid #C8A44D; border-radius: 16px; padding: 0.95rem 1.2rem; margin-top: 0.4rem; }
.contact-action-btns-row { display: flex; gap: 0.75rem; margin-top: 0.75rem; }
@media (max-width: 480px) { .contact-action-btns-row { flex-direction: column; } }
.btn-pill-call { flex: 1; height: 46px; padding: 0 1.2rem; font-size: 0.88rem; font-weight: 600; color: #FFFDF8; background: linear-gradient(135deg, #0E5A46, #155C48); border: 1.5px solid #C8A44D; border-radius: 9999px; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; text-decoration: none; box-shadow: 0 6px 18px rgba(14, 90, 70, 0.22); transition: transform 250ms ease, box-shadow 250ms ease; }
.btn-pill-call:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(14, 90, 70, 0.35); }
.btn-pill-whatsapp { flex: 1; height: 46px; padding: 0 1.2rem; font-size: 0.88rem; font-weight: 600; color: #FFFDF8; background: linear-gradient(135deg, #25D366, #128C7E); border: 1.5px solid rgba(255, 255, 255, 0.4); border-radius: 9999px; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; text-decoration: none; box-shadow: 0 6px 18px rgba(37, 211, 102, 0.25); transition: transform 250ms ease, box-shadow 250ms ease; }
.btn-pill-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4); }

.map-luxury-wrapper { position: relative; width: 100%; min-height: 520px; height: 100%; border-radius: 28px; overflow: hidden; border: 1.5px solid rgba(200, 164, 77, 0.4); box-shadow: 0 20px 50px -10px rgba(14, 90, 70, 0.16); box-sizing: border-box; }
@media (max-width: 992px) { .map-luxury-wrapper { min-height: 380px !important; height: 380px !important; border-radius: 24px !important; } }
.map-luxury-wrapper iframe { width: 100%; height: 100%; min-height: 100%; border: 0; display: block; }

.map-floating-overlay { position: absolute; bottom: 24px; left: 24px; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1.5px solid rgba(200, 164, 77, 0.45); border-radius: 22px; padding: 1.2rem 1.5rem; box-shadow: 0 14px 35px rgba(14, 90, 70, 0.22); display: flex; flex-direction: column; gap: 0.45rem; max-width: 290px; z-index: 10; }
@media (max-width: 576px) { .map-floating-overlay { bottom: 14px; left: 14px; right: 14px; max-width: none; padding: 1rem 1.2rem; } }
.btn-get-directions { margin-top: 0.45rem; height: 42px; padding: 0 1.25rem; font-size: 0.84rem; font-weight: 700; color: #FFFDF8; background: linear-gradient(135deg, #0E5A46, #C8A44D); border: none; border-radius: 9999px; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; text-decoration: none; box-shadow: 0 6px 18px rgba(14, 90, 70, 0.28); transition: transform 250ms ease, box-shadow 250ms ease; }
.btn-get-directions:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(200, 164, 77, 0.45); }

/* 3-Column Footer */
.luxury-footer { background: linear-gradient(180deg, #0E5A46 0%, #08261F 100%); color: #FFFDF8; padding: 5.5rem 0 2.2rem; position: relative; overflow: hidden; border-top: 1.5px solid rgba(200, 164, 77, 0.3); }
.footer-grid-3col { display: grid; grid-template-columns: 1.4fr 0.9fr 1.3fr; gap: 3.5rem; margin-bottom: 3.5rem; width: 100%; }
@media (max-width: 992px) { .footer-grid-3col { grid-template-columns: 1fr; gap: 2.5rem; } }
.footer-col-title { font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif; font-size: 1.4rem; font-weight: 700; color: #C8A44D; margin-bottom: 1.4rem; position: relative; display: inline-block; }
.footer-col-title::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 32px; height: 2px; background: #C8A44D; border-radius: 2px; }
.footer-link-list { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; padding: 0; margin: 0; }
.footer-link-list a, .footer-link-list button { font-family: 'Inter', sans-serif; font-size: 0.95rem; color: rgba(255, 253, 248, 0.88); display: inline-flex; align-items: center; gap: 0.6rem; cursor: pointer; border: none; background: none; padding: 0; }
.social-icon-row-single { display: flex; align-items: center; gap: 0.7rem; margin-top: 1.2rem; flex-wrap: nowrap !important; }
.social-icon-btn { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(200, 164, 77, 0.35); color: #FFFDF8; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex-shrink: 0; }
.footer-bottom-bar { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 1.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; font-size: 0.86rem; color: rgba(255, 253, 248, 0.75); }

/* ==========================================================================
   DEDICATED LUXURY DARK MODE COMPONENT OVERRIDES (v24.0 WCAG AA)
   ========================================================================== */

[data-theme="dark"] body {
  background-color: #081B17;
  color: #FFFFFF;
  transition: background-color 300ms ease, color 300ms ease;
}

/* 1. Header Navigation */
[data-theme="dark"] .header-nav {
  background: rgba(16, 40, 36, 0.94);
  border-bottom-color: rgba(212, 175, 55, 0.18);
}
[data-theme="dark"] .header-nav.scrolled {
  background: rgba(8, 27, 23, 0.96);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(212, 175, 55, 0.3);
}
[data-theme="dark"] .logo-text .title { color: #FFFFFF; }
[data-theme="dark"] .logo-text .tagline { color: #D4AF37; }
[data-theme="dark"] .nav-link { color: #D7E7DF; }
[data-theme="dark"] .nav-link:hover, [data-theme="dark"] .nav-link.active { color: #D4AF37; }
[data-theme="dark"] .mobile-toggle { color: #FFFFFF; }

/* 2. Hero Section */
[data-theme="dark"] .hero-section {
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 15% 85%, rgba(16, 40, 36, 0.4) 0%, transparent 55%),
              #081B17;
}
[data-theme="dark"] .hero-badge {
  background: rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.35);
  color: #D4AF37;
}
[data-theme="dark"] .hero-title { color: #FFFFFF; }
[data-theme="dark"] .hero-subtitle { color: #D7E7DF; }
[data-theme="dark"] .stat-card-glass {
  background: #15332C;
  border-color: rgba(212, 175, 55, 0.18);
  box-shadow: 0 14px 35px -10px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .stat-icon-badge {
  background: rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.35);
  color: #D4AF37;
}
[data-theme="dark"] .stat-number-animated { color: #FFFFFF; }
[data-theme="dark"] .stat-label-text { color: #A9B8B1; }
[data-theme="dark"] .floating-experience-badge {
  background: #15332C;
  border-color: rgba(212, 175, 55, 0.25);
  color: #FFFFFF;
}

/* 3. Why Choose Bekal Section */
[data-theme="dark"] .why-choose-section {
  background: linear-gradient(180deg, #081B17 0%, #102824 50%, #081B17 100%);
}
[data-theme="dark"] .why-header .why-badge {
  background: rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.35);
  color: #D4AF37;
}
[data-theme="dark"] .why-header h2 { color: #FFFFFF; }
[data-theme="dark"] .why-header h2 span { color: #D4AF37; }
[data-theme="dark"] .why-header p { color: #D7E7DF; }
[data-theme="dark"] .why-card {
  background: #15332C;
  border-color: rgba(212, 175, 55, 0.18);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .why-card h3 { color: #FFFFFF; }
[data-theme="dark"] .why-card p { color: #D7E7DF; }
[data-theme="dark"] .why-icon-container {
  background: rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.35);
  color: #D4AF37;
}

/* 4. Section Headers & Cards (Treatments, Doctors, Gallery, News) */
[data-theme="dark"] .section-header .sub-tag {
  color: #D4AF37;
  background: rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.35);
}
[data-theme="dark"] .section-header h2 { color: #FFFFFF; }
[data-theme="dark"] .section-header p { color: #D7E7DF; }

[data-theme="dark"] .glass-card {
  background: #15332C;
  border-color: rgba(212, 175, 55, 0.18);
}
[data-theme="dark"] .card-body h3 { color: #FFFFFF !important; }
[data-theme="dark"] .card-body p { color: #D7E7DF; }
[data-theme="dark"] .doctor-name { color: #FFFFFF !important; }
[data-theme="dark"] .doctor-qual { color: #D4AF37 !important; }
[data-theme="dark"] .doctor-spec { color: #A9B8B1 !important; }
[data-theme="dark"] .doctor-schedule { color: #D7E7DF !important; }

/* 5. Patient Reviews Carousel */
[data-theme="dark"] .reviews-section-wrapper {
  background: linear-gradient(180deg, #081B17 0%, #102824 50%, #081B17 100%);
}
[data-theme="dark"] .reviews-gold-badge {
  background: rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.35);
  color: #D4AF37;
}
[data-theme="dark"] .reviews-header-clean h2 { color: #FFFFFF; }
[data-theme="dark"] .reviews-header-clean p { color: #D7E7DF; }
[data-theme="dark"] .luxury-testimonial-card {
  background: #15332C;
  border-color: rgba(212, 175, 55, 0.22);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.45);
}
[data-theme="dark"] .card-review-title { color: #FFFFFF; }
[data-theme="dark"] .card-review-body { color: #D8E6E1; }
[data-theme="dark"] .patient-name-text { color: #FFFFFF; }
[data-theme="dark"] .patient-meta-sub { color: #AEBDB7; }
[data-theme="dark"] .badge-verified {
  background: rgba(212, 175, 55, 0.18);
  border-color: rgba(212, 175, 55, 0.45);
  color: #D4AF37;
}
[data-theme="dark"] .rec-tag {
  background: rgba(212, 175, 55, 0.12);
  color: #D4AF37;
}
[data-theme="dark"] .doc-val { color: #D8E6E1; }
[data-theme="dark"] .doc-label { color: #D4AF37; }
[data-theme="dark"] .btn-card-action {
  background: rgba(16, 40, 36, 0.8);
  border-color: rgba(212, 175, 55, 0.35);
  color: #D8E6E1;
}
[data-theme="dark"] .carousel-nav-glass-btn {
  background: #16352D;
  border-color: rgba(212, 175, 55, 0.35);
  color: #FFFFFF;
}

/* 6. Contact & Google Map Section */
[data-theme="dark"] .contact-section-wrapper {
  background: linear-gradient(180deg, #102824 0%, #081B17 100%);
}
[data-theme="dark"] .contact-card-luxury {
  background: #16352D;
  border-color: rgba(212, 175, 55, 0.22);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.45);
}
[data-theme="dark"] .contact-card-header h3 { color: #FFFFFF; }
[data-theme="dark"] .contact-card-header p { color: #AEBDB7; }
[data-theme="dark"] .contact-item-card {
  background: #102824;
  border-color: rgba(212, 175, 55, 0.18);
}
[data-theme="dark"] .contact-item-icon {
  background: rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.35);
  color: #D4AF37;
}
[data-theme="dark"] .contact-item-info h4 { color: #FFFFFF; }
[data-theme="dark"] .contact-item-info p { color: #D8E6E1; }
[data-theme="dark"] .working-hours-highlight-box {
  background: rgba(212, 175, 55, 0.08);
  border-left-color: #D4AF37;
}
[data-theme="dark"] .working-hours-highlight-box p {
  color: #D8E6E1 !important;
}
[data-theme="dark"] .map-luxury-wrapper {
  border-color: rgba(212, 175, 55, 0.22);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] .map-floating-overlay {
  background: rgba(16, 40, 36, 0.94);
  border-color: rgba(212, 175, 55, 0.35);
  color: #FFFFFF;
}

/* 7. Rebuilt Booking Modal & Form Controls */
[data-theme="dark"] .modal-booking-luxury {
  background: #16352D;
  border-color: rgba(212, 175, 55, 0.25);
  box-shadow: 0 32px 75px -15px rgba(0, 0, 0, 0.65);
}
[data-theme="dark"] .modal-title-text { color: #FFFFFF; }
[data-theme="dark"] .modal-subtitle-text { color: #D8E6E1; }
[data-theme="dark"] .modal-close-glass-48 {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 175, 55, 0.35);
  color: #FFFFFF;
}
[data-theme="dark"] .form-label-luxury { color: #D8E6E1; }
[data-theme="dark"] .form-control-luxury {
  background: #102824;
  color: #FFFFFF;
  border-color: rgba(212, 175, 55, 0.22);
}
[data-theme="dark"] .form-control-luxury::placeholder { color: #AEBDB7; }
[data-theme="dark"] .form-control-luxury:focus {
  border-color: #D4AF37;
  box-shadow: 0 0 0 3.5px rgba(212, 175, 55, 0.25);
}

/* 8. Treatment Detail Modal & All Generic Popup Modals */
.treatment-modal-header { text-align: center; margin-bottom: 1.5rem; }
.treatment-modal-img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius-md); border: 1px solid var(--border-gold); }
.treatment-modal-title { margin-top: 1rem; font-family: var(--font-serif); font-size: 1.8rem; color: var(--primary-forest); }
.treatment-detail-list { display: flex; flex-direction: column; gap: 0.9rem; font-size: 0.95rem; color: var(--text-primary); }
.treatment-detail-item { padding: 0.85rem 1.1rem; border-radius: 14px; background: rgba(250, 246, 238, 0.7); border: 1px solid rgba(200, 164, 77, 0.28); }
.treatment-detail-label { color: #0E5A46; font-weight: 700; }
.treatment-detail-text { color: var(--text-primary); }
.treatment-modal-action { margin-top: 1.8rem; text-align: center; }

[data-theme="dark"] #treatmentDetailModal .modal-container {
  background: #102824 !important;
  border: 1.5px solid rgba(212, 175, 55, 0.35) !important;
  box-shadow: 0 32px 75px rgba(0, 0, 0, 0.75) !important;
}
[data-theme="dark"] .treatment-modal-title {
  color: #FFFFFF !important;
}
[data-theme="dark"] .treatment-detail-item {
  background: #16352D !important;
  border-color: rgba(212, 175, 55, 0.22) !important;
}
[data-theme="dark"] .treatment-detail-label {
  color: #D4AF37 !important;
}
[data-theme="dark"] .treatment-detail-label i {
  color: #D4AF37 !important;
}
[data-theme="dark"] .treatment-detail-text {
  color: #D8E6E1 !important;
}

[data-theme="dark"] .modal-container {
  background: #102824 !important;
  border: 1.5px solid rgba(212, 175, 55, 0.3) !important;
  color: #FFFFFF !important;
}
[data-theme="dark"] .modal-container h2,
[data-theme="dark"] .modal-container h3,
[data-theme="dark"] .modal-container h4 {
  color: #FFFFFF !important;
}
[data-theme="dark"] .modal-container p {
  color: #D8E6E1 !important;
}
[data-theme="dark"] .modal-container label {
  color: #D8E6E1 !important;
}
[data-theme="dark"] .modal-container .form-control {
  background: #16352D !important;
  color: #FFFFFF !important;
  border-color: rgba(212, 175, 55, 0.25) !important;
}
[data-theme="dark"] .modal-container .form-control::placeholder {
  color: #AEBDB7 !important;
}
[data-theme="dark"] .modal-close {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #FFFFFF !important;
  border-color: rgba(212, 175, 55, 0.3) !important;
}

/* ==========================================================================
   ULTRA-LUXURY REBUILT SUBMIT REVIEW MODAL
   ========================================================================== */

.modal-review-luxury {
  background: linear-gradient(145deg, #FFFDF8 0%, #FAF6EE 100%);
  border: 1.5px solid rgba(200, 164, 77, 0.4);
  border-radius: 28px;
  max-width: 640px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 32px 75px -15px rgba(14, 90, 70, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateY(20px) scale(0.97);
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .modal-review-luxury {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    padding: 24px !important;
    border-radius: 24px !important;
    margin: 0 auto;
  }
}

.modal-review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
  width: 100%;
}

.star-rating-picker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #FFFFFF;
  border: 1.5.5px solid rgba(14, 90, 70, 0.18);
  border-radius: 18px;
  padding: 0.8rem 1.2rem;
  box-shadow: 0 3px 10px rgba(14, 90, 70, 0.03);
  box-sizing: border-box;
}

.star-rating-picker .star-btn {
  font-size: 1.65rem;
  color: #D3D3D3;
  cursor: pointer;
  transition: transform 200ms ease, color 200ms ease;
}

.star-rating-picker .star-btn.active {
  color: #C8A44D;
  filter: drop-shadow(0 2px 6px rgba(200, 164, 77, 0.35));
}

.star-rating-picker .star-btn:hover {
  transform: scale(1.22);
}

.star-rating-label {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0E5A46;
  margin-left: auto;
}

.textarea-review-luxury {
  height: auto !important;
  min-height: 170px !important;
  padding: 1rem 1.2rem;
  resize: vertical;
  border-radius: 18px;
}

/* Dark Mode Overrides for Submit Review Modal */
[data-theme="dark"] .modal-review-luxury {
  background: #102824 !important;
  border-color: rgba(212, 175, 55, 0.3) !important;
  box-shadow: 0 32px 75px rgba(0, 0, 0, 0.7) !important;
}

[data-theme="dark"] .star-rating-picker {
  background: #17352D !important;
  border-color: rgba(212, 175, 55, 0.22) !important;
}

[data-theme="dark"] .star-rating-picker .star-btn {
  color: #405D55;
}

[data-theme="dark"] .star-rating-picker .star-btn.active {
  color: #D4AF37;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.45));
}

[data-theme="dark"] .star-rating-label {
  color: #D5D5D5 !important;
}

/* ==========================================================================
   STRICT DARK MODE TEXT COLOR OVERRIDES (v27.0 - AUTOMATIC GREEN TO WHITE FIX)
   ========================================================================== */

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
  color: #FFFFFF !important;
}

[data-theme="dark"] p,
[data-theme="dark"] span,
[data-theme="dark"] div,
[data-theme="dark"] li,
[data-theme="dark"] td,
[data-theme="dark"] th {
  color: #F5F5F5;
}

[data-theme="dark"] .text-muted,
[data-theme="dark"] small {
  color: #AEB4B8 !important;
}

/* Override all inline green text colors in Dark Mode */
[data-theme="dark"] [style*="0E5A46"],
[data-theme="dark"] [style*="0e5a46"],
[data-theme="dark"] [style*="155C48"],
[data-theme="dark"] [style*="155c48"],
[data-theme="dark"] [style*="173B35"],
[data-theme="dark"] [style*="173b35"],
[data-theme="dark"] [style*="0F4C3A"],
[data-theme="dark"] [style*="0f4c3a"],
[data-theme="dark"] [style*="0F5A46"],
[data-theme="dark"] [style*="0f5a46"],
[data-theme="dark"] [style*="0F6A50"],
[data-theme="dark"] [style*="146B4E"],
[data-theme="dark"] [style*="1B7A5A"] {
  color: #FFFFFF !important;
}

/* Override inline gray secondary text in Dark Mode */
[data-theme="dark"] [style*="5E5E5E"],
[data-theme="dark"] [style*="5e5e5e"] {
  color: #D5D5D5 !important;
}

/* Button Text Colors in Dark Mode */
[data-theme="dark"] .btn,
[data-theme="dark"] button,
[data-theme="dark"] .btn-primary,
[data-theme="dark"] .btn-outline,
[data-theme="dark"] .btn-gold,
[data-theme="dark"] .btn-pill-call,
[data-theme="dark"] .btn-pill-whatsapp,
[data-theme="dark"] .btn-confirm-appointment-luxury,
[data-theme="dark"] .btn-gold-luxury-cta,
[data-theme="dark"] .btn-get-directions,
[data-theme="dark"] .btn-card-action {
  color: #FFFFFF !important;
}

[data-theme="dark"] .btn-outline {
  border-color: rgba(212, 175, 55, 0.4) !important;
}

/* Form Controls & Inputs in Dark Mode */
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea,
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-control-luxury {
  color: #FFFFFF !important;
  background-color: #16352D !important;
  border-color: rgba(212, 175, 55, 0.25) !important;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder,
[data-theme="dark"] .form-control::placeholder,
[data-theme="dark"] .form-control-luxury::placeholder {
  color: #AEB4B8 !important;
}

[data-theme="dark"] label,
[data-theme="dark"] .form-label-luxury {
  color: #FFFFFF !important;
}

/* Gold Text Accent Preserved */
[data-theme="dark"] .text-gold,
[data-theme="dark"] .sub-tag,
[data-theme="dark"] .why-badge,
[data-theme="dark"] .hero-badge,
[data-theme="dark"] .reviews-gold-badge,
[data-theme="dark"] .doctor-qual,
[data-theme="dark"] .doc-label,
[data-theme="dark"] .modal-gold-icon,
[data-theme="dark"] .treatment-detail-label {
  color: #D4AF37 !important;
}

/* ==========================================================================
   DEDICATED INTERNAL TREATMENT DETAILS PAGE VIEW (v31.0)
   ========================================================================== */

.treatment-details-page-view {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100000;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-y: auto;
  display: none;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

.treatment-details-page-view.active {
  display: block;
}

/* 1. Sticky Details Header */
.details-page-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(255, 253, 248, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1.5px solid rgba(200, 164, 77, 0.35);
  z-index: 100;
  box-shadow: 0 4px 20px rgba(14, 90, 70, 0.08);
}

.details-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.btn-details-back {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.1rem;
  border-radius: 9999px;
  background: rgba(14, 90, 70, 0.08);
  border: 1.5px solid rgba(200, 164, 77, 0.4);
  color: #0E5A46;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 250ms ease;
  flex-shrink: 0;
}

.btn-details-back:hover {
  background: #C8A44D;
  color: #0E5A46;
  border-color: #C8A44D;
  transform: translateX(-3px);
}

.details-header-title {
  font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0E5A46;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.details-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-details-share {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid rgba(200, 164, 77, 0.45);
  color: #0E5A46;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(14, 90, 70, 0.06);
  transition: transform 250ms ease;
}

.btn-details-share:hover {
  background: #C8A44D;
  color: #0E5A46;
  transform: scale(1.08);
}

/* 2. Main Details Content Body */
.details-page-body {
  padding-top: 2rem;
  padding-bottom: 120px;
  max-width: 960px;
  margin: 0 auto;
}

/* Hero Section inside Details Page */
.details-hero-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(200, 164, 77, 0.35);
  border-radius: 28px;
  padding: 2.2rem;
  box-shadow: 0 20px 50px -10px rgba(14, 90, 70, 0.1);
  margin-bottom: 2.5rem;
}

.details-hero-img-wrapper {
  width: 100%;
  max-height: 420px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.8rem;
  box-shadow: 0 12px 30px rgba(14, 90, 70, 0.12);
  background: #F8F4EA;
}

.details-hero-img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.details-badges-flex {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.details-badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(200, 164, 77, 0.16);
  border: 1px solid rgba(200, 164, 77, 0.45);
  color: #0E5A46;
}

.details-badge-forest {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(14, 90, 70, 0.1);
  border: 1px solid rgba(14, 90, 70, 0.3);
  color: #0E5A46;
}

.details-badge-sage {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(23, 59, 53, 0.08);
  border: 1px solid rgba(23, 59, 53, 0.25);
  color: #173B35;
}

.details-hero-title {
  font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #0E5A46;
  line-height: 1.18;
  margin-bottom: 0.8rem;
}

.details-hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: #155C48;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.details-doc-recommendation {
  background: linear-gradient(135deg, rgba(250, 246, 238, 0.9) 0%, rgba(200, 164, 77, 0.15) 100%);
  border-left: 4px solid #C8A44D;
  border-radius: 16px;
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.details-doc-recommendation i {
  font-size: 2rem;
  color: #C8A44D;
  flex-shrink: 0;
}

.details-doc-recommendation-text strong {
  display: block;
  font-size: 0.92rem;
  color: #0E5A46;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.details-doc-recommendation-text span {
  font-size: 0.94rem;
  color: #173B35;
  font-weight: 600;
}

/* Sections Grid & Cards */
.details-sections-grid {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.details-section-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(200, 164, 77, 0.3);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(14, 90, 70, 0.05);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.details-section-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(14, 90, 70, 0.09);
}

.details-section-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px dashed rgba(200, 164, 77, 0.35);
}

.details-section-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(200, 164, 77, 0.15);
  border: 1.5px solid rgba(200, 164, 77, 0.4);
  color: #0E5A46;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.details-section-title {
  font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #0E5A46;
  margin: 0;
}

.details-section-content {
  font-family: 'Inter', sans-serif;
  font-size: 1.02rem;
  line-height: 1.75;
  color: #173B35;
}

.details-section-content p {
  margin-bottom: 0.8rem;
}

.details-section-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 0.8rem;
}

.details-section-content li {
  margin-bottom: 0.6rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.details-section-content li i {
  margin-top: 4px;
  flex-shrink: 0;
}

/* Timeline Cards */
.details-timeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.details-timeline-card {
  background: rgba(250, 246, 238, 0.7);
  border: 1px solid rgba(200, 164, 77, 0.3);
  border-radius: 16px;
  padding: 1.2rem;
}

.details-timeline-stage {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #C8A44D;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.details-timeline-title {
  font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0E5A46;
  margin-bottom: 0.4rem;
}

.details-timeline-desc {
  font-size: 0.92rem;
  color: #5E5E5E;
  margin: 0;
}

/* FAQ Accordions */
.details-faq-item {
  border: 1px solid rgba(200, 164, 77, 0.28);
  border-radius: 16px;
  margin-bottom: 0.85rem;
  overflow: hidden;
  background: #FFFFFF;
}

.details-faq-question {
  padding: 1.1rem 1.3rem;
  font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0E5A46;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  background: rgba(250, 246, 238, 0.5);
}

.details-faq-answer {
  padding: 1.1rem 1.3rem;
  font-size: 0.96rem;
  line-height: 1.7;
  color: #173B35;
  border-top: 1px dashed rgba(200, 164, 77, 0.25);
  display: none;
}

/* 3. Sticky Bottom Action Bar */
.details-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1.5px solid rgba(200, 164, 77, 0.4);
  z-index: 100;
  box-shadow: 0 -8px 25px rgba(14, 90, 70, 0.12);
}

.details-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.details-bottom-info {
  display: flex;
  flex-direction: column;
}

.details-bottom-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #C8A44D;
  letter-spacing: 0.08em;
}

.details-bottom-title {
  font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0E5A46;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.details-bottom-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-details-action-call {
  height: 48px;
  padding: 0 1.2rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #0E5A46, #155C48);
  border: 1.5px solid #C8A44D;
  color: #FFFDF8;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(14, 90, 70, 0.2);
  transition: transform 250ms ease;
}

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

.btn-details-action-whatsapp {
  height: 48px;
  padding: 0 1.2rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #FFFDF8;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
  transition: transform 250ms ease;
}

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

.btn-details-action-book {
  height: 48px;
  padding: 0 1.6rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #0E5A46 0%, #155C48 50%, #C8A44D 100%);
  background-size: 200% 200%;
  border: 1.5px solid #C8A44D;
  color: #FFFDF8;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(14, 90, 70, 0.3);
  transition: transform 250ms ease;
}

.btn-details-action-book:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(14, 90, 70, 0.4);
}

/* Mobile Responsiveness for Treatment Details Page */
@media (max-width: 768px) {
  .details-page-header { height: 62px; }
  .details-header-title { font-size: 1.1rem; }
  .btn-details-back span { display: none; }
  .btn-details-back { padding: 0.5rem 0.8rem; }
  .details-hero-card { padding: 1.4rem; border-radius: 20px; }
  .details-hero-img-wrapper { max-height: 260px; border-radius: 16px; margin-bottom: 1.2rem; }
  .details-hero-title { font-size: 1.8rem; }
  .details-hero-subtitle { font-size: 0.98rem; }
  .details-section-card { padding: 1.3rem; border-radius: 18px; }
  .details-section-title { font-size: 1.25rem; }
  .details-bottom-bar { height: auto; padding: 0.65rem 0; }
  .details-bottom-container { flex-direction: column; gap: 0.6rem; }
  .details-bottom-info { display: none; }
  .details-bottom-actions { width: 100%; justify-content: space-between; gap: 0.4rem; }
  .btn-details-action-call, .btn-details-action-whatsapp, .btn-details-action-book {
    flex: 1;
    height: 44px;
    padding: 0 0.5rem;
    justify-content: center;
    font-size: 0.8rem;
  }
  .btn-details-action-call span, .btn-details-action-whatsapp span { display: none; }
}

/* ==========================================================================
   DARK MODE OVERRIDES FOR TREATMENT DETAILS PAGE
   ========================================================================== */

[data-theme="dark"] .treatment-details-page-view {
  background-color: #081B17;
  color: #FFFFFF;
}

[data-theme="dark"] .details-page-header {
  background: rgba(16, 40, 36, 0.96);
  border-bottom-color: rgba(212, 175, 55, 0.25);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .btn-details-back {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 175, 55, 0.35);
  color: #FFFFFF;
}

[data-theme="dark"] .btn-details-back:hover {
  background: #D4AF37;
  color: #081B17;
}

[data-theme="dark"] .details-header-title {
  color: #FFFFFF;
}

[data-theme="dark"] .btn-details-share {
  background: #16352D;
  border-color: rgba(212, 175, 55, 0.35);
  color: #FFFFFF;
}

[data-theme="dark"] .details-hero-card {
  background: #102824;
  border-color: rgba(212, 175, 55, 0.22);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .details-hero-img-wrapper {
  background: #081B17;
}

[data-theme="dark"] .details-badge-gold {
  background: rgba(212, 175, 55, 0.16);
  border-color: rgba(212, 175, 55, 0.4);
  color: #D4AF37;
}

[data-theme="dark"] .details-badge-forest {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 175, 55, 0.3);
  color: #FFFFFF;
}

[data-theme="dark"] .details-badge-sage {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.25);
  color: #D7E7DF;
}

[data-theme="dark"] .details-hero-title {
  color: #FFFFFF;
}

[data-theme="dark"] .details-hero-subtitle {
  color: #D7E7DF;
}

[data-theme="dark"] .details-doc-recommendation {
  background: #16352D;
  border-left-color: #D4AF37;
}

[data-theme="dark"] .details-doc-recommendation i {
  color: #D4AF37;
}

[data-theme="dark"] .details-doc-recommendation-text strong {
  color: #D4AF37;
}

[data-theme="dark"] .details-doc-recommendation-text span {
  color: #FFFFFF;
}

[data-theme="dark"] .details-section-card {
  background: #102824;
  border-color: rgba(212, 175, 55, 0.22);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .details-section-icon {
  background: rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.35);
  color: #D4AF37;
}

[data-theme="dark"] .details-section-title {
  color: #FFFFFF;
}

[data-theme="dark"] .details-section-content {
  color: #D7E7DF;
}

[data-theme="dark"] .details-timeline-card {
  background: #16352D;
  border-color: rgba(212, 175, 55, 0.22);
}

[data-theme="dark"] .details-timeline-stage {
  color: #D4AF37;
}

[data-theme="dark"] .details-timeline-title {
  color: #FFFFFF;
}

[data-theme="dark"] .details-timeline-desc {
  color: #AEBDB7;
}

[data-theme="dark"] .details-faq-item {
  background: #16352D;
  border-color: rgba(212, 175, 55, 0.2);
}

[data-theme="dark"] .details-faq-question {
  background: rgba(16, 40, 36, 0.8);
  color: #FFFFFF;
}

[data-theme="dark"] .details-faq-answer {
  color: #D7E7DF;
  border-top-color: rgba(212, 175, 55, 0.2);
}

[data-theme="dark"] .details-bottom-bar {
  background: rgba(16, 40, 36, 0.96);
  border-top-color: rgba(212, 175, 55, 0.25);
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .details-bottom-tag {
  color: #D4AF37;
}

[data-theme="dark"] .details-bottom-title {
  color: #FFFFFF;
}

/* Doctor Card Experience Text Styling (Light Mode Green, Dark Mode Premium Gold #D4AF37) */
.doctor-exp {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--primary-forest);
  margin-bottom: 0.8rem;
}

[data-theme="dark"] .doctor-exp {
  color: #D4AF37 !important;
}

/* ==========================================================================
   ULTRA-PREMIUM APPOINTMENT CONFIRMATION POPUP / DIGITAL PASS UI (v48.0)
   ========================================================================== */
.letter-pad-slip-modal-container {
  background: linear-gradient(145deg, #FFFDF8 0%, #FAF6EE 100%);
  border: 1.5px solid rgba(200, 164, 77, 0.45);
  border-radius: 28px;
  max-width: 760px;
  width: 100%;
  padding: 2.2rem;
  box-shadow: 0 32px 75px -15px rgba(14, 90, 70, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  position: relative;
  box-sizing: border-box;
  animation: confirmationPopIn 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes confirmationPopIn {
  0% { transform: scale(0.93) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
  .letter-pad-slip-modal-container {
    padding: 1.2rem !important;
    border-radius: 22px !important;
    width: calc(100vw - 20px) !important;
  }
}

[data-theme="dark"] .letter-pad-slip-modal-container {
  background: linear-gradient(145deg, #102824 0%, #0D211E 100%);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 32px 75px rgba(0, 0, 0, 0.7);
}

.confirmation-top-success-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(200, 164, 77, 0.25);
}

.confirmation-success-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(14, 90, 70, 0.12), rgba(200, 164, 77, 0.2));
  border: 1.5px solid #C8A44D;
  color: #0E5A46;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(14, 90, 70, 0.12);
}

[data-theme="dark"] .confirmation-success-icon-badge {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(22, 53, 45, 0.8));
  border-color: #D4AF37;
  color: #D4AF37;
}

.confirmation-success-headline h2 {
  font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0E5A46;
  margin: 0 0 0.15rem 0;
}

[data-theme="dark"] .confirmation-success-headline h2 {
  color: #FFFFFF;
}

.confirmation-success-headline p {
  font-size: 0.86rem;
  color: #5E6E67;
  margin: 0;
}

[data-theme="dark"] .confirmation-success-headline p {
  color: #A9BCB4;
}

.confirmation-card-hero {
  border: 1.5px solid rgba(200, 164, 77, 0.35);
  border-radius: 22px;
  background: #FFFFFF;
  padding: 1.8rem;
  box-shadow: 0 12px 30px rgba(14, 90, 70, 0.06);
}

@media (max-width: 576px) {
  .confirmation-card-hero {
    padding: 1.1rem !important;
    border-radius: 18px !important;
  }
}

[data-theme="dark"] .confirmation-card-hero {
  background: #16352D;
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.confirmation-header-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1.5px dashed rgba(200, 164, 77, 0.4);
  margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
  .confirmation-header-grid {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }
}

.confirmation-logo-block {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.confirmation-logo-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(14, 90, 70, 0.15));
}

.confirmation-clinic-title {
  font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0E5A46;
  margin: 0 0 0.2rem 0;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

[data-theme="dark"] .confirmation-clinic-title {
  color: #FFFFFF;
}

.confirmation-clinic-sub {
  font-size: 0.78rem;
  color: #5E6E67;
  margin: 0;
  line-height: 1.35;
}

[data-theme="dark"] .confirmation-clinic-sub {
  color: #A9BCB4;
}

.confirmation-badge-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}

@media (max-width: 640px) {
  .confirmation-badge-stack {
    align-items: flex-start !important;
  }
}

.confirmation-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(14, 90, 70, 0.1);
  border: 1px solid rgba(14, 90, 70, 0.25);
  color: #0E5A46;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

[data-theme="dark"] .confirmation-status-pill {
  background: rgba(212, 175, 55, 0.18);
  border-color: rgba(212, 175, 55, 0.4);
  color: #D4AF37;
}

.confirmation-id-tag {
  font-size: 0.78rem;
  color: #5E6E67;
}

[data-theme="dark"] .confirmation-id-tag {
  color: #A9BCB4;
}

.confirmation-token-tag {
  font-size: 0.88rem;
  font-weight: 700;
  color: #C8A44D;
}

.confirmation-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
  .confirmation-details-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
}

.confirmation-field-card {
  background: rgba(248, 244, 234, 0.6);
  border: 1px solid rgba(200, 164, 77, 0.25);
  border-radius: 14px;
  padding: 0.85rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: transform 250ms ease;
}

.confirmation-field-card:hover {
  transform: translateY(-2px);
}

[data-theme="dark"] .confirmation-field-card {
  background: rgba(16, 40, 36, 0.6);
  border-color: rgba(212, 175, 55, 0.25);
}

.confirmation-field-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #C8A44D;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.confirmation-field-value {
  font-size: 0.96rem;
  font-weight: 700;
  color: #0E5A46;
}

[data-theme="dark"] .confirmation-field-value {
  color: #FFFFFF;
}

.confirmation-callout-banner {
  background: linear-gradient(135deg, rgba(200, 164, 77, 0.12) 0%, rgba(14, 90, 70, 0.08) 100%);
  border-left: 4px solid #C8A44D;
  border-radius: 18px;
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}

@media (max-width: 640px) {
  .confirmation-callout-banner {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
}

[data-theme="dark"] .confirmation-callout-banner {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16) 0%, rgba(22, 53, 45, 0.8) 100%);
  border-left-color: #D4AF37;
}

.confirmation-callout-text h4 {
  font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0E5A46;
  margin: 0 0 0.35rem 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

@media (max-width: 640px) {
  .confirmation-callout-text h4 {
    justify-content: center;
  }
}

[data-theme="dark"] .confirmation-callout-text h4 {
  color: #FFFFFF;
}

.confirmation-callout-text p {
  font-size: 0.84rem;
  color: #4A5D55;
  margin: 0;
  line-height: 1.45;
}

[data-theme="dark"] .confirmation-callout-text p {
  color: #B5C9C0;
}

.confirmation-qr-container-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  background: #FFFFFF;
  border: 1.5px solid rgba(200, 164, 77, 0.35);
  border-radius: 18px;
  padding: 0.75rem 0.9rem;
  box-shadow: 0 6px 18px rgba(14, 90, 70, 0.08);
  flex-shrink: 0;
}

[data-theme="dark"] .confirmation-qr-container-card {
  background: #102824;
  border-color: rgba(212, 175, 55, 0.4);
}

.confirmation-qr-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #C8A44D;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.confirmation-qr-wrapper {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 0.4rem;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.confirmation-qr-img {
  width: 90px;
  height: 90px;
  display: block;
  border-radius: 6px;
}

.confirmation-qr-sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: #7A8E83;
}

.confirmation-actions-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.btn-confirmation-print {
  height: 48px;
  border-radius: 9999px;
  padding: 0 1.6rem;
  font-weight: 600;
}

.btn-confirmation-done {
  height: 48px;
  border-radius: 9999px;
  padding: 0 1.8rem;
  font-weight: 600;
}

/* ==========================================================================
   DEDICATED FULL-PAGE APPOINTMENT CONFIRMATION VIEW & STICKY BOTTOM BAR (v49.0)
   ========================================================================== */
.confirmation-page-overlay-view {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(180deg, #FFFDF8 0%, #FAF6EE 100%);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 350ms ease, visibility 350ms ease;
  overflow-y: auto;
  box-sizing: border-box;
}

.confirmation-page-overlay-view.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

[data-theme="dark"] .confirmation-page-overlay-view {
  background: linear-gradient(180deg, #081B17 0%, #0D211E 100%);
}

.confirmation-page-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1.5px solid rgba(200, 164, 77, 0.35);
  z-index: 100;
  box-shadow: 0 4px 20px rgba(14, 90, 70, 0.08);
}

[data-theme="dark"] .confirmation-page-header {
  background: rgba(16, 40, 36, 0.94);
  border-bottom-color: rgba(212, 175, 55, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.confirmation-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.confirmation-header-logo-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.confirmation-nav-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.confirmation-nav-clinic-title {
  font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0E5A46;
  margin: 0;
}

[data-theme="dark"] .confirmation-nav-clinic-title {
  color: #FFFFFF;
}

.confirmation-nav-clinic-sub {
  font-size: 0.76rem;
  color: #C8A44D;
  font-weight: 600;
}

.confirmation-header-nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.confirmation-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(14, 90, 70, 0.1);
  border: 1px solid rgba(14, 90, 70, 0.25);
  color: #0E5A46;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

[data-theme="dark"] .confirmation-verified-badge {
  background: rgba(212, 175, 55, 0.18);
  border-color: rgba(212, 175, 55, 0.4);
  color: #D4AF37;
}

.btn-confirmation-close-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(14, 90, 70, 0.08);
  border: 1px solid rgba(200, 164, 77, 0.35);
  color: #0E5A46;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 250ms ease;
}

.btn-confirmation-close-nav:hover {
  background: #C8A44D;
  color: #0E5A46;
  transform: scale(1.06);
}

[data-theme="dark"] .btn-confirmation-close-nav {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.confirmation-page-body-container {
  flex: 1;
  padding-top: 2rem;
  padding-bottom: 120px;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

.confirmation-content-wrapper {
  width: 100%;
}

.confirmation-full-page-wrapper {
  width: 100%;
}

/* Sticky Bottom Action Bar with 3 Buttons */
.confirmation-sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 80px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1.5px solid rgba(200, 164, 77, 0.4);
  z-index: 1000;
  box-shadow: 0 -8px 25px rgba(14, 90, 70, 0.12);
}

[data-theme="dark"] .confirmation-sticky-bottom-bar {
  background: rgba(16, 40, 36, 0.96);
  border-top-color: rgba(212, 175, 55, 0.25);
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.5);
}

.confirmation-bottom-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.confirmation-bottom-info-text {
  display: flex;
  flex-direction: column;
}

.confirmation-bottom-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #C8A44D;
  letter-spacing: 0.08em;
}

.confirmation-bottom-title {
  font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0E5A46;
  margin: 0;
}

[data-theme="dark"] .confirmation-bottom-title {
  color: #FFFFFF;
}

.confirmation-sticky-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-action-download-image {
  height: 48px;
  padding: 0 1.3rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #C8A44D, #D4AF37);
  border: 1.5px solid #C8A44D;
  color: #0E5A46;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(200, 164, 77, 0.25);
  transition: transform 250ms ease;
}

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

.btn-action-print-pass {
  height: 48px;
  padding: 0 1.3rem;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1.5px solid rgba(14, 90, 70, 0.3);
  color: #0E5A46;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(14, 90, 70, 0.08);
  transition: transform 250ms ease;
}

.btn-action-print-pass:hover {
  transform: translateY(-2px);
  background: rgba(14, 90, 70, 0.05);
}

[data-theme="dark"] .btn-action-print-pass {
  background: #16352D;
  border-color: rgba(212, 175, 55, 0.35);
  color: #FFFFFF;
}

.btn-action-done-pass {
  height: 48px;
  padding: 0 1.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #0E5A46, #155C48);
  border: 1.5px solid #C8A44D;
  color: #FFFDF8;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(14, 90, 70, 0.3);
  transition: transform 250ms ease;
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .confirmation-page-header { height: 60px; }
  .confirmation-nav-logo { width: 36px; height: 36px; }
  .confirmation-nav-clinic-title { font-size: 0.9rem; }
  .confirmation-nav-clinic-sub { display: none; }
  .confirmation-verified-badge { display: none; }
  .confirmation-sticky-bottom-bar { height: auto; padding: 0.65rem 0; }
  .confirmation-bottom-info-text { display: none; }
  .confirmation-sticky-actions { width: 100%; justify-content: space-between; gap: 0.4rem; }
  .btn-action-download-image, .btn-action-print-pass, .btn-action-done-pass {
    flex: 1;
    height: 44px;
    padding: 0 0.5rem;
    justify-content: center;
    font-size: 0.82rem;
  }
}

/* Print CSS Overrides - Single-Page A4 Portrait Fit */
@page {
  size: A4 portrait;
  margin: 6mm 8mm;
}

@media print {
  html, body {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #FFFFFF !important;
    overflow: hidden !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Hide ALL body children except #confirmationPageOverlay */
  body > *:not(#confirmationPageOverlay) {
    display: none !important;
  }

  /* Show ONLY #confirmationPageOverlay */
  #confirmationPageOverlay {
    display: block !important;
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: auto !important;
    background: #FFFFFF !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  /* Hide headers, footers, close buttons, action bars */
  .confirmation-page-header,
  .confirmation-sticky-bottom-bar,
  .modal-close-glass-48,
  .btn-action-download-image,
  .btn-action-print-pass,
  .btn-action-done-pass {
    display: none !important;
  }

  .confirmation-page-body-container,
  .confirmation-content-wrapper {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #confirmationCardHeroPrintable,
  .confirmation-card-hero {
    width: 100% !important;
    max-width: 660px !important;
    margin: 0 auto !important;
    padding: 16px 20px !important;
    background: #FFFDF8 !important;
    color: #0E5A46 !important;
    border: 2px solid #C8A44D !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    page-break-before: avoid !important;
    page-break-after: avoid !important;
  }

  .confirmation-header-grid {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .confirmation-details-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px 12px !important;
    margin-bottom: 12px !important;
  }

  .confirmation-field-card {
    background: #FAF6EE !important;
    border: 1px solid rgba(200, 164, 77, 0.35) !important;
    padding: 8px 12px !important;
  }

  .confirmation-field-value {
    color: #0E5A46 !important;
  }

  .confirmation-callout-banner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: linear-gradient(135deg, rgba(200,164,77,0.15) 0%, rgba(14,90,70,0.08) 100%) !important;
    border-left: 4px solid #C8A44D !important;
    padding: 10px 14px !important;
  }

  .confirmation-callout-text h4 {
    color: #0E5A46 !important;
    font-size: 13px !important;
  }

  .confirmation-callout-text p {
    color: #4A5D55 !important;
    font-size: 10px !important;
  }

  .confirmation-qr-container-card {
    background: #FFFFFF !important;
    border: 1px solid #C8A44D !important;
  }
}

/* ==========================================================================
   PATIENT PORTAL LOGIN MODAL - ULTRA-LUXURY REDESIGN (v55.0)
   ========================================================================== */

.modal-portal-overlay {
  background: rgba(8, 27, 23, 0.78) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  z-index: 100000 !important;
}

.modal-portal-container {
  max-width: 500px !important;
  width: 92% !important;
  background: #FFFDF8 !important;
  border: 2px solid #C8A44D !important;
  border-radius: 24px !important;
  padding: 2.2rem 2rem !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 30px rgba(200, 164, 77, 0.15) !important;
  position: relative !important;
  transition: all 300ms ease !important;
}

[data-theme="dark"] .modal-portal-container {
  background: #102824 !important;
  border-color: #C8A44D !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(200, 164, 77, 0.2) !important;
}

/* Header Section */
.portal-modal-header {
  text-align: center;
  margin-bottom: 1.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px dashed rgba(200, 164, 77, 0.35);
}

.portal-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(200, 164, 77, 0.12);
  border: 1px solid rgba(200, 164, 77, 0.35);
  border-radius: 9999px;
  padding: 0.35rem 1rem;
  margin-bottom: 1rem;
}

.portal-brand-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.portal-brand-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0E5A46;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

[data-theme="dark"] .portal-brand-tag {
  color: #D4AF37;
}

.portal-modal-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: #0E5A46;
  margin: 0 0 0.4rem 0;
  letter-spacing: -0.02em;
}

[data-theme="dark"] .portal-modal-title {
  color: #FFFFFF !important;
}

.portal-modal-subtitle {
  font-size: 0.88rem;
  color: #5E6E67;
  margin: 0;
  line-height: 1.45;
}

[data-theme="dark"] .portal-modal-subtitle {
  color: #C5D6CF !important;
}

/* Input Fields */
.portal-login-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.portal-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-align: left;
}

.portal-input-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0E5A46;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

[data-theme="dark"] .portal-input-label {
  color: #D4AF37 !important;
}

.portal-label-icon {
  color: #C8A44D;
  font-size: 0.9rem;
}

.required-star {
  color: #D9534F;
  font-weight: 700;
}

.portal-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.portal-input-icon {
  position: absolute;
  left: 1.1rem;
  color: #C8A44D;
  font-size: 0.95rem;
  pointer-events: none;
  transition: color 200ms ease;
}

.portal-input-field {
  width: 100%;
  height: 52px;
  padding: 0 1rem 0 2.8rem;
  border-radius: 12px;
  border: 1.5px solid rgba(200, 164, 77, 0.4);
  background: #FFFFFF;
  color: #0E5A46;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  box-sizing: border-box;
  transition: all 250ms ease;
}

.portal-input-field::placeholder {
  color: #94A89E;
  font-weight: 500;
}

[data-theme="dark"] .portal-input-field {
  background: #0A1E19 !important;
  border-color: rgba(200, 164, 77, 0.4) !important;
  color: #FFFFFF !important;
}

[data-theme="dark"] .portal-input-field::placeholder {
  color: #7C968A !important;
}

.portal-input-field:focus {
  outline: none;
  border-color: #C8A44D !important;
  box-shadow: 0 0 0 4px rgba(200, 164, 77, 0.25) !important;
  background: #FFFDF8 !important;
}

[data-theme="dark"] .portal-input-field:focus {
  background: #0E2822 !important;
}

/* Submit Button */
.portal-submit-btn {
  height: 52px;
  width: 100%;
  border-radius: 9999px;
  background: linear-gradient(135deg, #0E5A46 0%, #155C48 100%);
  border: 1.5px solid #C8A44D;
  color: #FFFDF8;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(14, 90, 70, 0.35);
  transition: all 250ms ease;
  margin-top: 0.5rem;
}

.portal-submit-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0B4A3A 0%, #114D3C 100%);
  box-shadow: 0 12px 28px rgba(14, 90, 70, 0.45);
}

.portal-submit-btn:active {
  transform: translateY(0);
}

/* Results Card Theme Overrides */
[data-theme="dark"] .portal-result-card {
  background: #16352D !important;
  border-color: #C8A44D !important;
}

[data-theme="dark"] .portal-result-title {
  color: #FFFFFF !important;
}

[data-theme="dark"] .portal-progress-bar .progress-step {
  color: #FFFFFF !important;
}

/* Mobile Responsiveness for Patient Portal */
@media (max-width: 576px) {
  .modal-portal-container {
    width: 94% !important;
    max-width: 100% !important;
    padding: 1.8rem 1.25rem !important;
    border-radius: 20px !important;
  }
  .portal-modal-title {
    font-size: 1.4rem !important;
  }
  .portal-modal-subtitle {
    font-size: 0.82rem !important;
  }
  .portal-input-field {
    height: 48px !important;
    font-size: 0.9rem !important;
  }
  .portal-submit-btn {
    height: 48px !important;
    font-size: 0.95rem !important;
  }
}

/* ==========================================================================
   PATIENT PORTAL DASHBOARD OVERLAY VIEW - ULTRA-LUXURY REDESIGN (v56.0)
   ========================================================================== */

.portal-dashboard-overlay-view {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #FAF6EE;
  z-index: 999999;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}

[data-theme="dark"] .portal-dashboard-overlay-view {
  background: #081B17;
}

.portal-dashboard-overlay-view.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

/* Dashboard Header */
.portal-dashboard-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: #FFFDF8;
  border-bottom: 1.5px solid #C8A44D;
  z-index: 100;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .portal-dashboard-header {
  background: #102824;
  border-bottom-color: #C8A44D;
}

.portal-dashboard-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portal-dashboard-logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.portal-dashboard-nav-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.portal-dashboard-clinic-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0E5A46;
  margin: 0;
  line-height: 1.2;
}

[data-theme="dark"] .portal-dashboard-clinic-title {
  color: #FFFFFF;
}

.portal-dashboard-clinic-sub {
  font-size: 0.75rem;
  color: #C8A44D;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.portal-dashboard-nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.portal-dashboard-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200, 164, 77, 0.12);
  border: 1px solid rgba(200, 164, 77, 0.35);
  border-radius: 9999px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0E5A46;
}

[data-theme="dark"] .portal-dashboard-badge {
  color: #D4AF37;
}

.btn-portal-close-nav {
  height: 40px;
  padding: 0 16px;
  border-radius: 9999px;
  background: #0E5A46;
  border: 1px solid #C8A44D;
  color: #FFFDF8;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 200ms ease;
}

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

/* Dashboard Body Wrapper */
.portal-dashboard-body-container {
  padding: 2rem 0 5rem 0;
}

.portal-dashboard-content-wrapper {
  max-width: 900px !important;
  margin: 0 auto;
}

/* Welcome Card */
.portal-welcome-card {
  background: #FFFDF8;
  border: 2px solid #C8A44D;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: left;
}

[data-theme="dark"] .portal-welcome-card {
  background: #102824;
  border-color: #C8A44D;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.portal-welcome-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.portal-welcome-badge {
  font-size: 0.78rem;
  font-weight: 800;
  color: #C8A44D;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portal-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: #0E5A46;
  color: #FFFDF8;
  font-size: 0.85rem;
  font-weight: 800;
  border: 1px solid #C8A44D;
}

.portal-welcome-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #5E6E67;
  letter-spacing: 0.05em;
  display: block;
}

[data-theme="dark"] .portal-welcome-label {
  color: #94A89E;
}

.portal-patient-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #0E5A46;
  margin: 0.2rem 0 0.5rem 0;
  letter-spacing: -0.02em;
}

[data-theme="dark"] .portal-patient-name {
  color: #FFFFFF;
}

.portal-welcome-subtitle {
  font-size: 0.92rem;
  color: #5E6E67;
  margin: 0;
  line-height: 1.5;
}

[data-theme="dark"] .portal-welcome-subtitle {
  color: #C5D6CF;
}

/* Workflow Progress Tracker */
.portal-tracker-card {
  background: #FFFDF8;
  border: 1.5px solid rgba(200, 164, 77, 0.4);
  border-radius: 18px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

[data-theme="dark"] .portal-tracker-card {
  background: #16352D;
  border-color: rgba(200, 164, 77, 0.4);
}

.portal-section-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0E5A46;
  margin: 0 0 1.2rem 0;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

[data-theme="dark"] .portal-section-title {
  color: #D4AF37;
}

.portal-progress-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.portal-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.portal-step-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(14, 90, 70, 0.1);
  border: 2px solid rgba(14, 90, 70, 0.2);
  color: #5E6E67;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 250ms ease;
}

.portal-step.active .portal-step-icon {
  background: #0E5A46;
  border-color: #C8A44D;
  color: #FFFDF8;
  box-shadow: 0 0 12px rgba(200, 164, 77, 0.4);
}

.portal-step-info {
  text-align: center;
}

.portal-step-num {
  font-size: 0.68rem;
  font-weight: 800;
  color: #C8A44D;
  display: block;
}

.portal-step-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #5E6E67;
}

[data-theme="dark"] .portal-step-name {
  color: #94A89E;
}

.portal-step.active .portal-step-name {
  color: #0E5A46;
}

[data-theme="dark"] .portal-step.active .portal-step-name {
  color: #FFFFFF;
}

.portal-step-line {
  flex: 1;
  height: 3px;
  background: rgba(14, 90, 70, 0.15);
  margin: 0 8px;
  margin-top: -24px;
}

.portal-step-line.active {
  background: #C8A44D;
}

/* Cards Grid */
.portal-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.portal-info-card {
  background: #FFFDF8;
  border: 1.5px solid rgba(200, 164, 77, 0.35);
  border-radius: 16px;
  padding: 1.25rem 1.4rem;
  text-align: left;
  transition: transform 200ms ease;
}

[data-theme="dark"] .portal-info-card {
  background: #102824;
  border-color: rgba(200, 164, 77, 0.35);
}

.portal-info-card.highlight-gold {
  border: 2px solid #C8A44D;
  background: #FAF6EE;
}

[data-theme="dark"] .portal-info-card.highlight-gold {
  background: #16352D;
}

.portal-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.5rem;
}

.portal-card-icon {
  color: #C8A44D;
  font-size: 0.95rem;
}

.portal-card-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #C8A44D;
  letter-spacing: 0.05em;
}

.portal-card-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0E5A46;
}

[data-theme="dark"] .portal-card-value {
  color: #FFFFFF;
}

.portal-card-value.font-mono {
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  letter-spacing: 0.02em;
}

.portal-card-value-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-copy-id {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(200, 164, 77, 0.15);
  border: 1px solid #C8A44D;
  color: #0E5A46;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: transform 150ms ease;
}

[data-theme="dark"] .btn-copy-id {
  color: #D4AF37;
}

.btn-copy-id:hover {
  transform: scale(1.1);
}

.portal-token-badge {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #C8A44D;
  line-height: 1;
}

.portal-card-subvalue {
  font-size: 0.88rem;
  color: #5E6E67;
  margin-top: 0.25rem;
}

[data-theme="dark"] .portal-card-subvalue {
  color: #C5D6CF;
}

.portal-card-subvalue strong {
  color: #0E5A46;
}

[data-theme="dark"] .portal-card-subvalue strong {
  color: #FFFFFF;
}

/* Actions Section */
.portal-actions-card {
  background: #FFFDF8;
  border: 1.5px solid rgba(200, 164, 77, 0.4);
  border-radius: 18px;
  padding: 1.5rem;
  text-align: left;
}

[data-theme="dark"] .portal-actions-card {
  background: #102824;
}

.portal-actions-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-portal-action-pass {
  height: 48px;
  padding: 0 1.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #0E5A46, #155C48);
  border: 1.5px solid #C8A44D;
  color: #FFFDF8;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(14, 90, 70, 0.3);
  transition: transform 200ms ease;
  flex: 1;
  justify-content: center;
}

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

.btn-portal-action-rx {
  height: 48px;
  padding: 0 1.5rem;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1.5px solid rgba(14, 90, 70, 0.3);
  color: #0E5A46;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: transform 200ms ease;
  flex: 1;
  justify-content: center;
}

[data-theme="dark"] .btn-portal-action-rx {
  background: #16352D;
  border-color: rgba(212, 175, 55, 0.35);
  color: #FFFFFF;
}

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

/* Dashboard Bottom Sticky Bar */
.portal-dashboard-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 68px;
  background: #FFFDF8;
  border-top: 1.5px solid #C8A44D;
  z-index: 100;
  display: flex;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .portal-dashboard-bottom-bar {
  background: #102824;
  border-top-color: #C8A44D;
}

.portal-dashboard-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portal-dashboard-bottom-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #C8A44D;
  text-transform: uppercase;
}

.portal-dashboard-bottom-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0E5A46;
  margin: 0;
}

[data-theme="dark"] .portal-dashboard-bottom-title {
  color: #FFFFFF;
}

/* Mobile Responsiveness for Patient Portal Dashboard View */
@media (max-width: 768px) {
  .portal-dashboard-header { height: 60px; }
  .portal-dashboard-nav-logo { width: 36px; height: 36px; }
  .portal-dashboard-clinic-title { font-size: 0.9rem; }
  .portal-dashboard-clinic-sub { display: none; }
  .portal-dashboard-badge { display: none; }
  .portal-dashboard-body-container { padding: 1.2rem 0 5rem 0; }
  .portal-welcome-card { padding: 1.25rem 1rem; border-radius: 16px; }
  .portal-patient-name { font-size: 1.4rem; }
  .portal-cards-grid { grid-template-columns: 1fr; gap: 0.8rem; }
  .portal-progress-stepper { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .portal-step { flex-direction: row; gap: 12px; }
  .portal-step-line { width: 2px; height: 16px; margin: 0 0 0 17px; }
  .portal-dashboard-bottom-bar { height: auto; padding: 0.6rem 0; }
  .portal-dashboard-bottom-info { display: none; }
  .portal-dashboard-bottom-actions { width: 100%; text-align: center; }
  .portal-actions-buttons { flex-direction: column; }
}

/* ==========================================================================
   STAFF RECEPTION QUEUE PORTAL - ULTRA-LUXURY REDESIGN (v57.0)
   ========================================================================== */

.modal-reception-overlay {
  background: rgba(8, 27, 23, 0.78) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  z-index: 100000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.5rem !important;
}

.modal-reception-container {
  max-width: 1100px !important;
  width: 96% !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  background: #FFFDF8 !important;
  border: 2px solid #C8A44D !important;
  border-radius: 24px !important;
  padding: 2rem !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), 0 0 35px rgba(200, 164, 77, 0.15) !important;
  position: relative !important;
  transition: all 300ms ease !important;
  text-align: left !important;
}

[data-theme="dark"] .modal-reception-container {
  background: #102824 !important;
  border-color: #C8A44D !important;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 40px rgba(200, 164, 77, 0.2) !important;
}

/* Header Section */
.reception-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed rgba(200, 164, 77, 0.35);
}

.reception-brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reception-nav-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.reception-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #0E5A46;
  margin: 0;
  line-height: 1.25;
}

[data-theme="dark"] .reception-title {
  color: #FFFFFF !important;
}

.reception-subtitle {
  font-size: 0.85rem;
  color: #5E6E67;
  margin: 0.2rem 0 0 0;
}

[data-theme="dark"] .reception-subtitle {
  color: #C5D6CF !important;
}

/* Queue Metrics Summary Cards */
.reception-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.reception-metric-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(200, 164, 77, 0.35);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .reception-metric-card {
  background: #16352D !important;
  border-color: rgba(200, 164, 77, 0.35) !important;
}

.reception-metric-card.called {
  border-left: 5px solid #0E5A46;
}

.reception-metric-card.waiting {
  border-left: 5px solid #C8A44D;
}

.reception-metric-card.completed {
  border-left: 5px solid #28A745;
}

.metric-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(200, 164, 77, 0.12);
  color: #C8A44D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.metric-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #0E5A46;
  line-height: 1;
}

[data-theme="dark"] .metric-number {
  color: #FFFFFF !important;
}

.metric-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #5E6E67;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

[data-theme="dark"] .metric-label {
  color: #C5D6CF !important;
}

/* Reception Toolbar */
.reception-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.reception-search-box {
  position: relative;
  flex: 1;
  max-width: 380px;
  min-width: 260px;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #C8A44D;
  font-size: 0.9rem;
}

.reception-search-input {
  width: 100%;
  height: 46px;
  padding: 0 1rem 0 2.6rem;
  border-radius: 12px;
  border: 1.5px solid rgba(200, 164, 77, 0.4);
  background: #FFFFFF;
  color: #0E5A46;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  box-sizing: border-box;
  transition: all 200ms ease;
}

[data-theme="dark"] .reception-search-input {
  background: #0A1E19 !important;
  border-color: rgba(200, 164, 77, 0.4) !important;
  color: #FFFFFF !important;
}

.reception-search-input:focus {
  outline: none;
  border-color: #C8A44D !important;
  box-shadow: 0 0 0 3px rgba(200, 164, 77, 0.25) !important;
}

.reception-filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-filter-pill {
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1.5px solid rgba(200, 164, 77, 0.4);
  color: #0E5A46;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 200ms ease;
}

[data-theme="dark"] .btn-filter-pill {
  background: #16352D;
  border-color: rgba(200, 164, 77, 0.4);
  color: #C5D6CF;
}

.btn-filter-pill.active,
.btn-filter-pill:hover {
  background: #0E5A46 !important;
  border-color: #C8A44D !important;
  color: #FFFDF8 !important;
}

/* Queue Table & Cards */
.reception-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  border: 1.5px solid rgba(200, 164, 77, 0.35);
}

.reception-queue-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
  text-align: left;
}

[data-theme="dark"] .reception-queue-table {
  background: #102824 !important;
}

.reception-queue-table th {
  background: #FAF6EE;
  color: #0E5A46;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 1rem;
  border-bottom: 1.5px solid rgba(200, 164, 77, 0.35);
}

[data-theme="dark"] .reception-queue-table th {
  background: #16352D !important;
  color: #D4AF37 !important;
}

.queue-row-card {
  border-bottom: 1px solid rgba(200, 164, 77, 0.2);
  transition: background 150ms ease;
}

.queue-row-card:hover {
  background: rgba(200, 164, 77, 0.05);
}

.queue-row-card td {
  padding: 1rem;
  vertical-align: middle;
  font-size: 0.9rem;
}

.cell-token {
  width: 110px;
}

.token-highlight-badge {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #C8A44D;
  background: rgba(200, 164, 77, 0.12);
  border: 1px solid rgba(200, 164, 77, 0.35);
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
}

.booking-id-tag {
  display: block;
  font-size: 0.72rem;
  color: #5E6E67;
  font-family: monospace;
  margin-top: 4px;
}

[data-theme="dark"] .booking-id-tag {
  color: #94A89E;
}

.patient-name-val {
  font-weight: 700;
  color: #0E5A46;
  font-size: 0.95rem;
}

[data-theme="dark"] .patient-name-val {
  color: #FFFFFF !important;
}

.patient-meta-val {
  font-size: 0.8rem;
  color: #5E6E67;
  margin-top: 2px;
}

[data-theme="dark"] .patient-meta-val {
  color: #C5D6CF !important;
}

.doctor-name-val {
  font-weight: 700;
  color: #0E5A46;
}

[data-theme="dark"] .doctor-name-val {
  color: #FFFFFF !important;
}

.treatment-name-val {
  font-size: 0.8rem;
  color: #C8A44D;
  font-weight: 700;
}

.slot-date-val {
  font-weight: 600;
  color: #0E5A46;
}

[data-theme="dark"] .slot-date-val {
  color: #FFFFFF !important;
}

.slot-time-val {
  font-size: 0.8rem;
  color: #5E6E67;
}

[data-theme="dark"] .slot-time-val {
  color: #C5D6CF !important;
}

.queue-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.queue-status-badge.status-completed {
  background: rgba(40, 167, 69, 0.15);
  color: #28A745;
  border: 1px solid rgba(40, 167, 69, 0.3);
}

.queue-status-badge.status-called {
  background: rgba(14, 90, 70, 0.15);
  color: #0E5A46;
  border: 1px solid rgba(14, 90, 70, 0.3);
}

[data-theme="dark"] .queue-status-badge.status-called {
  color: #D4AF37;
  background: rgba(200, 164, 77, 0.15);
}

.queue-status-badge.status-confirmed,
.queue-status-badge.status-pending {
  background: rgba(200, 164, 77, 0.15);
  color: #C8A44D;
  border: 1px solid rgba(200, 164, 77, 0.3);
}

.queue-action-group {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.btn-rec-action {
  height: 34px;
  padding: 0 0.65rem;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: transform 150ms ease;
}

.btn-rec-action:hover {
  transform: translateY(-1px);
}

.btn-rec-action.call {
  background: #0E5A46;
  border: 1px solid #C8A44D;
  color: #FFFDF8;
}

.btn-rec-action.done {
  background: #28A745;
  border: 1px solid #1E7E34;
  color: #FFFFFF;
}

.btn-rec-action.wa {
  background: #25D366;
  border: 1px solid #1EBE5D;
  color: #FFFFFF;
}

.btn-rec-action.slip {
  background: #C8A44D;
  border: 1px solid #B08D38;
  color: #0E5A46;
}

/* Mobile Responsiveness - Single Column Card Grid Layout (v58.0) */
@media (max-width: 768px) {
  .modal-reception-overlay {
    padding: 0.5rem !important;
    align-items: flex-start !important;
    overflow-y: auto !important;
  }

  .modal-reception-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1rem 0.75rem !important;
    border-radius: 18px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    max-height: 96vh !important;
  }

  .reception-header-bar {
    padding-bottom: 0.75rem !important;
    margin-bottom: 1rem !important;
  }

  .reception-title {
    font-size: 1.15rem !important;
  }

  .reception-subtitle {
    font-size: 0.78rem !important;
  }

  .reception-metrics-grid {
    grid-template-columns: 1fr !important;
    gap: 0.6rem !important;
    margin-bottom: 1rem !important;
  }

  .reception-metric-card {
    padding: 0.75rem 1rem !important;
  }

  .metric-number {
    font-size: 1.35rem !important;
  }

  .reception-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
    margin-bottom: 1rem !important;
  }

  .reception-search-box {
    max-width: 100% !important;
    width: 100% !important;
  }

  .reception-filter-pills {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.4rem !important;
    width: 100% !important;
  }

  .btn-filter-pill {
    width: 100% !important;
    text-align: center !important;
    padding: 0.45rem 0.5rem !important;
    font-size: 0.78rem !important;
  }

  /* Table to Responsive Grid Cards Transformation */
  .reception-table-wrapper {
    border: none !important;
    overflow: visible !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .reception-queue-table,
  .reception-queue-table tbody {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .reception-queue-table thead {
    display: none !important;
  }

  .queue-row-card {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    row-gap: 0.65rem !important;
    column-gap: 0.5rem !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 1.1rem 1rem !important;
    margin-bottom: 1rem !important;
    border: 1.5px solid rgba(200, 164, 77, 0.35) !important;
    border-radius: 16px !important;
    background: #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  }

  [data-theme="dark"] .queue-row-card {
    background: #16352D !important;
    border-color: rgba(200, 164, 77, 0.4) !important;
  }

  .queue-row-card td {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    border: none !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

  .cell-token {
    grid-column: 1 / 2 !important;
  }

  .cell-status {
    grid-column: 2 / 3 !important;
    justify-self: end !important;
  }

  .cell-patient {
    grid-column: 1 / 3 !important;
    padding-top: 0.4rem !important;
    border-top: 1px dashed rgba(200, 164, 77, 0.25) !important;
  }

  .patient-name-val {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    word-break: break-word !important;
  }

  .cell-doctor {
    grid-column: 1 / 3 !important;
  }

  .cell-slot {
    grid-column: 1 / 3 !important;
  }

  .cell-actions {
    grid-column: 1 / 3 !important;
    padding-top: 0.4rem !important;
  }

  .queue-action-group {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .btn-rec-action {
    width: 100% !important;
    height: 42px !important;
    justify-content: center !important;
    font-size: 0.85rem !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
  }
}

