/* ==========================================
   BMI PAGE — SPECIFIC STYLES
   Classic Fitness Gym
   ========================================== */

/* ===== PAGE HERO ===== */
.bmi-page-hero {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
  padding: 60px 0 50px;
  overflow: hidden;
  text-align: center;
}

.bmi-page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(59,130,246,0.18), transparent 55%),
    radial-gradient(circle at 85% 30%, rgba(225,29,72,0.12), transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(34,197,94,0.08), transparent 50%);
  pointer-events: none;
}

.bmi-page-hero-content {
  position: relative;
  z-index: 2;
}

.bmi-page-hero-badge {
  display: inline-block;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.4);
  color: #93c5fd;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.bmi-page-hero h1 {
  color: #fff;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.bmi-page-hero p {
  color: rgba(255,255,255,0.78);
  font-size: 16px;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 32px;
}

.bmi-page-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 8px;
}

.bmi-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}

.bmi-hero-stat-num {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.bmi-hero-stat-lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  font-weight: 600;
}

.bmi-hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}

/* ===== BMI PAGE SECTION OVERRIDES ===== */
.bmi-page-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

/* Active nav link for BMI page */
.active-page {
  background: rgba(59,130,246,0.1) !important;
  color: var(--blue) !important;
}

/* ===== BMI INFO SECTION ===== */
.bmi-info-section {
  background: #fff;
  border-top: 1px solid var(--line);
}

.bmi-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bmi-info-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  transition: all 0.3s ease;
}

.bmi-info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  border-color: rgba(59,130,246,0.25);
}

.bmi-info-icon {
  font-size: 40px;
  margin-bottom: 16px;
  line-height: 1;
}

.bmi-info-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 12px;
}

.bmi-info-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0 0 16px;
}

/* BMI range list */
.bmi-range-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.bmi-range-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.bmi-range-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Info list */
.bmi-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bmi-info-list li {
  font-size: 13px;
  color: var(--text-light);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.bmi-info-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* Info CTA button */
.bmi-info-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--green), var(--green2));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(34,197,94,0.3);
  margin-top: 4px;
}

.bmi-info-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34,197,94,0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .bmi-info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bmi-page-hero {
    padding: 40px 0 36px;
  }

  .bmi-hero-stat {
    padding: 0 18px;
  }

  .bmi-hero-stat-num {
    font-size: 22px;
  }
}

@media (max-width: 600px) {
  .bmi-page-hero-stats {
    gap: 8px;
  }

  .bmi-hero-stat-divider {
    display: none;
  }

  .bmi-hero-stat {
    padding: 8px 16px;
    background: rgba(238, 11, 11, 0.06);
    border-radius: 12px;
    border: 1px solid rgba(186, 5, 5, 0.1);
  }

  .bmi-info-card {
    padding: 24px 20px;
  }
}

/* ==========================================
 EXPERT ANALYSIS PANEL
 ========================================== */

.expert-panel {
margin-top: 24px;
border: 1.5px solid #e2e8f0;
border-radius: 20px;
overflow: hidden;
background: #fff;
box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

/* Header */
.expert-panel-header {
background: linear-gradient(135deg, #0f172a, #1e3a5f);
padding: 18px 22px 14px;
}

.expert-panel-title {
display: flex;
align-items: center;
gap: 10px;
color: #fff;
font-size: 17px;
font-weight: 800;
margin-bottom: 4px;
}

.expert-panel-icon {
font-size: 22px;
}

.expert-panel-sub {
color: rgba(240, 12, 12, 0.6);
font-size: 12px;
font-weight: 500;
}

/* Tabs */
.expert-tabs {
display: flex;
border-bottom: 1.5px solid #e2e8f0;
background: #f8fafc;
}

.expert-tab {
flex: 1;
padding: 13px 8px;
background: none;
border: none;
font-size: 13px;
font-weight: 700;
color: #086af4;
cursor: pointer;
transition: all 0.2s ease;
border-bottom: 3px solid transparent;
font-family: inherit;
}

.expert-tab:hover {
  color:#0463fb;
  background:#f1f5f9;
  transform:translateY(-1px);
  }

.expert-tab.active {
color: #0c70f1;
border-bottom-color: #116fe9;
background: #fff;
}

/* Loading */
.expert-loading {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 48px 24px;
gap: 14px;
}

.expert-loading-spinner {
width: 36px;
height: 36px;
border: 3px solid #e2e8f0;
border-top-color: #096ef1;
border-radius: 50%;
animation: expertSpin 0.8s linear infinite;
}

@keyframes expertSpin {
to { transform: rotate(360deg); }
}

.expert-loading p {
color: #64748b;
font-size: 14px;
font-weight: 600;
margin: 0;
}

/* Tab panels */
.expert-content {
padding: 16px 14px;
}

.expert-tab-panel {
display: none;
}

.expert-tab-panel.active {
display: block;
}

/* Supplement cards */
.supplement-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
margin-bottom: 14px;
}

.supplement-card {
background: #f8fafc;
border: 1px solid #e2e8f0;
border-radius: 14px;
padding: 14px 16px;
transition: all 0.2s ease;
}

.supplement-card:hover {
border-color: #3b82f6;
box-shadow: 0 4px 14px rgba(59,130,246,0.1);
}

.supplement-card-icon {
font-size: 24px;
margin-bottom: 8px;
}

.supplement-card-name {
font-size: 14px;
font-weight: 800;
color: #1e293b;
margin-bottom: 4px;
}

.supplement-card-benefit {
font-size: 12px;
color: #146de9;
line-height: 1.5;
margin-bottom: 6px;
}

.supplement-card-dose {
display: inline-block;
font-size: 11px;
font-weight: 700;
color: #0e6ae3;
background: #dbeafe;
border-radius: 6px;
padding: 2px 8px;
}

/* Priority badge */
.supplement-card-priority {
display: inline-block;
font-size: 10px;
font-weight: 800;
border-radius: 6px;
padding: 2px 8px;
margin-bottom: 6px;
letter-spacing: 0.4px;
text-transform: uppercase;
}

.priority-high {
background: #fef2f2;
color: #dc2626;
}

.priority-medium {
background: #fefce8;
color: #ca8a04;
}

.priority-low {
background: #f0fdf4;
color: #16a34a;
}

/* Expert disclaimer */
.expert-disclaimer {
font-size: 12px;
color: #0b69ec;
background: #f8fafc;
border-left: 3px solid #e2e8f0;
padding: 10px 14px;
border-radius: 0 8px 8px 0;
margin-top: 4px;
line-height: 1.6;
}

/* Workout plan */
.workout-week {
display: flex;
flex-direction: column;
gap: 8px;
margin-bottom: 14px;
}

.workout-day {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 12px 14px;
background: #f8fafc;
border: 1px solid #e2e8f0;
border-radius: 12px;
transition: all 0.2s ease;
}

.workout-day:hover {
border-color: #3b82f6;
background: #eff6ff;
}

.workout-day-label {
min-width: 38px;
font-size: 11px;
font-weight: 800;
color: #fff;
background: #0c6ae4;
border-radius: 7px;
padding: 4px 6px;
text-align: center;
text-transform: uppercase;
letter-spacing: 0.3px;
}

.workout-day-label.rest {
background: #94a3b8;
}

.workout-day-content {
flex: 1;
}

.workout-day-type {
font-size: 13px;
font-weight: 800;
color: #1e293b;
margin-bottom: 2px;
}

.workout-day-detail {
font-size: 12px;
color: #0b6aee;
line-height: 1.5;
}

.workout-tip {
background: linear-gradient(135deg, #eff6ff, #dbeafe);
border: 1px solid #bfdbfe;
border-radius: 12px;
padding: 12px 16px;
font-size: 13px;
color: #1e3a5f;
font-weight: 600;
line-height: 1.6;
}

/* Health Risk */
.health-risk-banner {
border-radius: 14px;
padding: 16px 18px;
margin-bottom: 14px;
display: flex;
align-items: flex-start;
gap: 14px;
}

.health-risk-banner.green  { background: #f0fdf4; border: 1.5px solid #86efac; }
.health-risk-banner.yellow { background: #fefce8; border: 1.5px solid #fde047; }
.health-risk-banner.orange { background: #fff7ed; border: 1.5px solid #fdba74; }
.health-risk-banner.red    { background: #fef2f2; border: 1.5px solid #fca5a5; }

.health-risk-icon { font-size: 32px; flex-shrink: 0; }

.health-risk-title {
font-size: 15px;
font-weight: 800;
color: #1e293b;
margin-bottom: 4px;
}

.health-risk-desc {
font-size: 13px;
color: #475569;
line-height: 1.6;
}

.health-risk-list {
display: flex;
flex-direction: column;
gap: 8px;
margin-bottom: 14px;
}

.health-risk-item {
display: flex;
align-items: flex-start;
gap: 10px;
font-size: 13px;
color: #334155;
background: #f8fafc;
border: 1px solid #e2e8f0;
padding: 10px 14px;
border-radius: 10px;
line-height: 1.5;
}

.health-risk-item-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

.health-focus-box {
background: linear-gradient(135deg, #0f172a, #1e3a5f);
border-radius: 14px;
padding: 14px 18px;
color: #fff;
}

.health-focus-title {
font-size: 13px;
font-weight: 800;
color: rgba(255,255,255,0.7);
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 10px;
}

.health-focus-items {
display: flex;
flex-wrap: wrap;
gap: 8px;
}

.health-focus-tag {
background: rgba(255,255,255,0.12);
border: 1px solid rgba(255,255,255,0.2);
color: #fff;
font-size: 12px;
font-weight: 700;
padding: 5px 12px;
border-radius: 999px;
}

/* WhatsApp button */
.expert-wa-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
width: calc(100% - 44px);
margin: 0 22px 20px;
padding: 14px;
background: linear-gradient(135deg, #16a34a, #15803d);
color: #fff;
font-size: 15px;
font-weight: 800;
border: none;
border-radius: 14px;
cursor: pointer;
transition: all 0.25s ease;
font-family: inherit;
box-shadow: 0 4px 16px rgba(22,163,74,0.3);
}

.expert-wa-btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(22,163,74,0.4);
}

/* Responsive */
@media (max-width: 600px) {
.supplement-grid {
  grid-template-columns: 1fr;
}

.expert-tab {
  font-size: 12px;
  padding: 11px 4px;
}

.expert-wa-btn {
  width: calc(100% - 32px);
  margin: 0 16px 16px;
}

.expert-content {
  padding: 12px 10px;
}
}

.bmi-cal-carbs-box  { background: #fff7ed; border-color: #fed7aa; }
.bmi-cal-fats-box   { background: #fdf4ff; border-color: #e9d5ff; }
.bmi-cal-fibre-box  { background: #f0fdf4; border-color: #bbf7d0; }


/* ==========================================
 DETAILED WORKOUT PLAN STYLES
 ========================================== */

 .workout-day-block {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #fff;
  transition: all 0.2s ease;
}

.workout-day-block:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 16px rgba(59,130,246,0.08);
}

.workout-day-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.workout-day-header-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.workout-day-focus {
  font-size: 18px;
  line-height: 1;
}

.workout-day-muscle-note {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 1px;
}

.workout-exercises {
  padding: 10px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.workout-exercise-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.workout-exercise-row:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

.workout-ex-num {
  min-width: 26px;
  height: 26px;
  background: #1e3a5f;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.workout-ex-details {
  flex: 1;
}

.workout-ex-name {
  font-size: 14px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 5px;
}

.workout-ex-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 5px;
}

.workout-ex-tag {
  font-size: 11px;
  font-weight: 700;
  color: #1e3a5f;
  background: #dbeafe;
  border-radius: 6px;
  padding: 2px 8px;
}

.workout-ex-tip {
  font-size: 11px;
  color: #64748b;
  line-height: 1.5;
  font-style: italic;
  cursor: pointer;
}

.workout-ex-show-tip {
  font-size: 11px;
  color: #3b82f6;
  font-weight: 600;
  cursor: pointer;
  margin-top: 2px;
}

.workout-ex-show-tip:hover {
  text-decoration: underline;
}

.workout-rest-msg {
  padding: 12px 16px;
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}
.workout-cardio-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-bottom: 1px solid #fcd34d;
}

.workout-cardio-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.workout-cardio-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.workout-cardio-label {
  font-size: 9px;
  font-weight: 900;
  color: #92400e;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.workout-cardio-name {
  font-size: 13px;
  font-weight: 800;
  color: #78350f;
}

.workout-cardio-tags {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.workout-cardio-tag {
  font-size: 11px;
  font-weight: 700;
  color: #92400e;
  background: rgba(255,255,255,0.6);
  border-radius: 6px;
  padding: 2px 8px;
}

@media (max-width: 600px) {
  .workout-day-header {
    padding: 10px 12px;
  }

  .workout-exercises {
    padding: 8px 12px 12px;
  }

  .workout-exercise-row {
    padding: 8px 10px;
  }

  .workout-ex-name {
    font-size: 13px;
  }

  .workout-ex-meta {
    gap: 4px;
  }
}

.bmi-textarea {
  resize: vertical;
  min-height: 60px;
  line-height: 1.5;
  font-family: inherit;
  font-size: 14px;
}

.bmi-medical-note {
  margin-top: 8px;
  font-size: 12px;
  color: #64748b;
  background: #fefce8;
  border: 1px solid #fde047;
  border-left: 3px solid #f59e0b;
  border-radius: 0 8px 8px 0;
  padding: 8px 12px;
  line-height: 1.6;
}

.bmi-name-greeting {
  font-size: 15px;
  font-weight: 700;
  color: #1e3a5f;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 14px;
  display: block;
  min-height: 0;
}

.bmi-name-greeting:empty {
  display: none;
}

/* ===== BODY TYPE SELECTOR ===== */
.bmi-bodytype-img-wrap {
margin-bottom: 12px;
}

.bmi-bodytype-img {
width: 100%;
border-radius: 12px;
border: 1px solid #e2e8f0;
display: block;
}

.bmi-bodytype-note {
font-size: 12px;
color: #64748b;
text-align: center;
margin-top: 6px;
font-weight: 600;
}

.bmi-bodytype-group {
display: flex;
gap: 8px;
}

.bmi-bodytype-btn {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
padding: 12px 8px;
background: #f8fafc;
border: 2px solid #e2e8f0;
border-radius: 14px;
cursor: pointer;
transition: all 0.2s ease;
font-family: inherit;
}

.bmi-bodytype-btn:hover {
border-color: #3b82f6;
background: #eff6ff;
}

.bmi-bodytype-btn.active {
border-color: #1e3a5f;
background: #dbeafe;
}

.bmi-bodytype-icon {
font-size: 22px;
line-height: 1;
}

.bmi-bodytype-name {
font-size: 13px;
font-weight: 800;
color: #1e293b;
}

.bmi-bodytype-desc {
font-size: 10px;
color: #64748b;
text-align: center;
line-height: 1.4;
}

@media (max-width: 480px) {
.bmi-bodytype-group {
  flex-direction: column;
}
}

/* ===== LEGAL DISCLAIMER ===== */
.expert-legal-disclaimer {
display: flex;
align-items: flex-start;
gap: 12px;
margin: 0 22px 16px;
padding: 16px 18px;
background: linear-gradient(135deg, #1e293b, #0f172a);
border: 2px solid #ef4444;
border-radius: 14px;
}

.expert-legal-icon {
font-size: 28px;
flex-shrink: 0;
margin-top: 2px;
}

.expert-legal-body {
flex: 1;
}

.expert-legal-title {
font-size: 14px;
font-weight: 900;
color: #ef4444;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 8px;
}

.expert-legal-text {
font-size: 12px;
color: rgba(255,255,255,0.85);
line-height: 1.7;
}

.expert-legal-text strong {
color: #fbbf24;
font-weight: 800;
}

@media (max-width: 600px) {
.expert-legal-disclaimer {
  margin: 0 16px 14px;
  padding: 14px 14px;
  gap: 10px;
}

.expert-legal-icon {
  font-size: 22px;
}

.expert-legal-title {
  font-size: 13px;
}

.expert-legal-text {
  font-size: 11px;
}
}

#expertWaBtn:disabled {
cursor: not-allowed;
pointer-events: none;
}

.bmi-waist-note {
margin-top: 8px;
font-size: 12px;
color: #64748b;
background: #eff6ff;
border: 1px solid #bfdbfe;
border-left: 3px solid #3b82f6;
border-radius: 0 8px 8px 0;
padding: 8px 12px;
line-height: 1.6;
}

.bmi-limitation-warning {
margin-top: 8px;
font-size: 12px;
font-weight: 600;
color: #92400e;
background: #fef3c7;
border: 1px solid #fde68a;
border-left: 3px solid #f59e0b;
border-radius: 0 8px 8px 0;
padding: 8px 12px;
line-height: 1.6;
display: none;
}

.bmi-whr-box {
background: #f0fdf4;
border: 1.5px solid #86efac;
}

.bmi-whr-box .bmi-cal-label {
color: #15803d;
font-weight: 700;
}

.bmi-whr-box .bmi-cal-num {
color: #15803d;
}

.bmi-whr-box .bmi-cal-unit {
font-size: 11px;
font-weight: 700;
color: #16a34a;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.bmi-cal-row {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
margin: 16px 0;


}

#expertPanel {
width: 100%;
clear: both;
box-sizing: border-box;
}

@media (max-width: 700px) {
.bmi-cal-row {
  grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 400px) {
.bmi-cal-row {
  grid-template-columns: 1fr 1fr;
}
}

/* ==============================================
 BMI FORM — FULL REDESIGN
 Premium Dark-Card with Clean Field Separation
 ============================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ===== FORM CARD CONTAINER ===== */
.bmi-form-card {
background: linear-gradient(160deg, #0f172a 0%, #131f36 60%, #0d1b2e 100%) !important;
border: 1px solid rgba(255,255,255,0.08) !important;
border-radius: 28px !important;
padding: 36px 32px !important;
box-shadow:
  0 0 0 1px rgba(59,130,246,0.08),
  0 32px 80px rgba(0,0,0,0.45),
  inset 0 1px 0 rgba(255,255,255,0.06) !important;
position: relative;
overflow: hidden;
}

/* Subtle background glow */
.bmi-form-card::before {
content: '';
position: absolute;
top: -80px;
right: -60px;
width: 280px;
height: 280px;
background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
pointer-events: none;
border-radius: 50%;
}

.bmi-form-card::after {
content: '';
position: absolute;
bottom: -60px;
left: -40px;
width: 220px;
height: 220px;
background: radial-gradient(circle, rgba(225,29,72,0.08) 0%, transparent 70%);
pointer-events: none;
border-radius: 50%;
}

/* ===== FORM TITLE ===== */
.bmi-form-title {
font-family: 'DM Sans', sans-serif !important;
font-size: 22px !important;
font-weight: 800 !important;
color: #fff !important;
margin-bottom: 28px !important;
padding-bottom: 18px !important;
border-bottom: 1px solid rgba(255,255,255,0.08) !important;
letter-spacing: -0.3px;
position: relative;
z-index: 2;
}

.bmi-form-title::after {
content: '';
position: absolute;
bottom: -1px;
left: 0;
width: 48px;
height: 2px;
background: linear-gradient(90deg, #3b82f6, #60a5fa);
border-radius: 2px;
}

/* ===== FIELD GROUP — clear spacing ===== */
.bmi-field-group {
margin-bottom: 20px !important;
position: relative;
z-index: 2;
}

/* ===== LABELS — bold, clear, prominent ===== */
.bmi-label {
display: block !important;
font-family: 'DM Sans', sans-serif !important;
font-size: 13px !important;
font-weight: 800 !important;
color: #e2e8f0 !important;
text-transform: uppercase !important;
letter-spacing: 1px !important;
margin-bottom: 10px !important;
line-height: 1 !important;
}

.bmi-unit-label {
font-size: 12px !important;
font-weight: 600 !important;
color: #64748b !important;
text-transform: none !important;
letter-spacing: 0 !important;
}

/* ===== INPUTS — glassy dark look ===== */
.bmi-input {
width: 100% !important;
background: rgba(255,255,255,0.05) !important;
border: 1.5px solid rgba(255,255,255,0.1) !important;
border-radius: 12px !important;
padding: 15px 16px !important;
font-family: 'DM Sans', sans-serif !important;
font-size: 16px !important;
font-weight: 500 !important;
color: #f1f5f9 !important;
transition: all 0.2s ease !important;
box-sizing: border-box !important;
outline: none !important;
-webkit-appearance: none;
appearance: none;
}

.bmi-input::placeholder {
color: rgba(255,255,255,0.28) !important;
font-weight: 400 !important;
font-size: 15px !important;
}

.bmi-input:focus {
border-color: #3b82f6 !important;
background: rgba(59,130,246,0.08) !important;
box-shadow: 0 0 0 3px rgba(59,130,246,0.15) !important;
}

.bmi-input:hover:not(:focus) {
border-color: rgba(255,255,255,0.2) !important;
background: rgba(255,255,255,0.07) !important;
}

/* Select arrow styling */
.bmi-select {
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='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
background-repeat: no-repeat !important;
background-position: right 14px center !important;
padding-right: 42px !important;
cursor: pointer !important;
}

.bmi-select option {
background: #1e293b !important;
color: #f1f5f9 !important;
}

/* ===== TWO-COLUMN ROW ===== */
.bmi-row-2 {
display: grid !important;
grid-template-columns: 1fr 1fr !important;
gap: 14px !important;
margin-bottom: 0 !important;
}

.bmi-row-2 .bmi-field-group {
margin-bottom: 20px !important;
}

/* ===== GENDER / TOGGLE BUTTONS ===== */
.bmi-toggle-group {
display: flex !important;
gap: 10px !important;
}

.bmi-toggle-btn {
flex: 1 !important;
padding: 14px 10px !important;
background: rgba(255,255,255,0.04) !important;
border: 1.5px solid rgba(255,255,255,0.1) !important;
border-radius: 12px !important;
font-family: 'DM Sans', sans-serif !important;
font-size: 15px !important;
font-weight: 700 !important;
color: #94a3b8 !important;
cursor: pointer !important;
transition: all 0.2s ease !important;
letter-spacing: 0.2px;
}

.bmi-toggle-btn:hover {
background: rgba(59,130,246,0.1) !important;
border-color: rgba(59,130,246,0.4) !important;
color: #93c5fd !important;
}

.bmi-toggle-btn.active {
background: linear-gradient(135deg, #1d4ed8, #2563eb) !important;
border-color: #3b82f6 !important;
color: #fff !important;
box-shadow: 0 4px 16px rgba(37,99,235,0.35) !important;
}

/* ===== GOAL BUTTONS ===== */
.bmi-goal-group {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}

.bmi-goal-btn {
flex: 1 !important;
padding: 14px 8px !important;
background: rgba(255,255,255,0.04) !important;
border: 1.5px solid rgba(255,255,255,0.1) !important;
border-radius: 12px !important;
font-family: 'DM Sans', sans-serif !important;
font-size: 15px !important;
font-weight: 700 !important;
color: #94a3b8 !important;
cursor: pointer !important;
transition: all 0.2s ease !important;
text-align: center !important;
line-height: 1.3;
}

.bmi-goal-btn:hover {
background: rgba(255,255,255,0.07) !important;
border-color: rgba(255,255,255,0.2) !important;
color: #e2e8f0 !important;
}

.bmi-goal-btn[data-goal="lose"].active,
.bmi-goal-btn[data-dietgoal="Fat Loss"].active {
background: linear-gradient(135deg, #dc2626, #ef4444) !important;
border-color: #f87171 !important;
color: #fff !important;
box-shadow: 0 4px 16px rgba(220,38,38,0.35) !important;
}

.bmi-goal-btn[data-goal="maintain"].active,
.bmi-goal-btn[data-dietgoal="Maintain"].active {
background: linear-gradient(135deg, #0369a1, #0ea5e9) !important;
border-color: #38bdf8 !important;
color: #fff !important;
box-shadow: 0 4px 16px rgba(14,165,233,0.35) !important;
}

.bmi-goal-btn[data-goal="gain"].active,
.bmi-goal-btn[data-dietgoal="Muscle Gain"].active {
background: linear-gradient(135deg, #15803d, #16a34a) !important;
border-color: #4ade80 !important;
color: #fff !important;
box-shadow: 0 4px 16px rgba(22,163,74,0.35) !important;
}


.bmi-goal-btn[data-goal="gainweight"].active {
  background: linear-gradient(135deg, #b45309, #d97706) !important;
  border-color: #fbbf24 !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(217,119,6,0.35) !important;
  }
/* ===== BODY TYPE BUTTONS — override for dark ===== */
.bmi-form-card .bmi-bodytype-btn {
background: rgba(255,255,255,0.04) !important;
border: 1.5px solid rgba(255,255,255,0.1) !important;
border-radius: 14px !important;
transition: all 0.2s ease !important;
}

.bmi-form-card .bmi-bodytype-btn:hover {
background: rgba(59,130,246,0.1) !important;
border-color: rgba(59,130,246,0.4) !important;
}

.bmi-form-card .bmi-bodytype-btn.active {
background: linear-gradient(135deg, rgba(29,78,216,0.3), rgba(37,99,235,0.2)) !important;
border-color: #3b82f6 !important;
box-shadow: 0 0 0 3px rgba(59,130,246,0.15) !important;
}

.bmi-form-card .bmi-bodytype-name {
color: #e2e8f0 !important;
}

.bmi-form-card .bmi-bodytype-desc {
color: #64748b !important;
}

.bmi-form-card .bmi-bodytype-note {
color: #64748b !important;
}

.bmi-form-card .bmi-bodytype-img {
border: 1px solid rgba(255,255,255,0.1) !important;
border-radius: 14px !important;
}

/* ===== WAIST & MEDICAL NOTES — dark version ===== */
.bmi-form-card .bmi-waist-note {
background: rgba(59,130,246,0.08) !important;
border: 1px solid rgba(59,130,246,0.2) !important;
border-left: 3px solid #3b82f6 !important;
color: #93c5fd !important;
border-radius: 0 10px 10px 0 !important;
}

.bmi-form-card .bmi-medical-note {
background: rgba(245,158,11,0.08) !important;
border: 1px solid rgba(245,158,11,0.2) !important;
border-left: 3px solid #f59e0b !important;
color: #fcd34d !important;
border-radius: 0 10px 10px 0 !important;
}

.bmi-form-card .bmi-medical-note strong {
color: #fbbf24 !important;
}

/* ===== TEXTAREA ===== */
.bmi-form-card .bmi-textarea {
resize: vertical !important;
min-height: 70px !important;
}

/* ===== SECTION DIVIDERS between groups ===== */
.bmi-field-group + .bmi-field-group,
.bmi-row-2 + .bmi-field-group {
position: relative;
}

/* ===== CALCULATE BUTTON ===== */
.bmi-calc-btn {
width: 100% !important;
padding: 16px 24px !important;
background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #1d4ed8 100%) !important;
background-size: 200% auto !important;
border: none !important;
border-radius: 14px !important;
color: #fff !important;
font-family: 'DM Sans', sans-serif !important;
font-size: 16px !important;
font-weight: 800 !important;
letter-spacing: 0.3px !important;
cursor: pointer !important;
transition: all 0.3s ease !important;
margin-top: 6px !important;
box-shadow: 0 6px 24px rgba(37,99,235,0.4) !important;
position: relative;
overflow: hidden;
z-index: 2;
}

.bmi-calc-btn::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
opacity: 0;
transition: opacity 0.2s ease;
}

.bmi-calc-btn:hover:not(:disabled) {
background-position: right center !important;
transform: translateY(-2px) !important;
box-shadow: 0 12px 32px rgba(37,99,235,0.5) !important;
}

.bmi-calc-btn:hover::before {
opacity: 1;
}

.bmi-calc-btn:active:not(:disabled) {
transform: translateY(0) !important;
}

.bmi-calc-btn:disabled {
background: rgba(255,255,255,0.07) !important;
color: rgba(255,255,255,0.25) !important;
box-shadow: none !important;
cursor: not-allowed !important;
}

/* ===== SECTION LABELS for visual grouping ===== */
/* Add a subtle separator between major form sections */
.bmi-form-card .bmi-field-group:has(#bmiWaist),
.bmi-form-card .bmi-field-group:has(#bmiMedical) {
padding-top: 4px;
}

/* ===== MEMBER ID & WAIST inputs — muted optional styling ===== */
.bmi-form-card #bmiMemberId,
.bmi-form-card #bmiWaist {
border-style: dashed !important;
border-color: rgba(255,255,255,0.08) !important;
}

.bmi-form-card #bmiMemberId:focus,
.bmi-form-card #bmiWaist:focus {
border-style: solid !important;
border-color: #3b82f6 !important;
}

/* ===== RESULT CARD ===== */
.bmi-result-card {
background: linear-gradient(160deg, #0f172a 0%, #131f36 100%) !important;
border: 1px solid rgba(255,255,255,0.08) !important;
border-radius: 28px !important;
box-shadow:
  0 0 0 1px rgba(59,130,246,0.08),
  0 32px 80px rgba(0,0,0,0.45) !important;
}

.bmi-result-top {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 16px;
}

.bmi-result-title {
font-family: 'DM Sans', sans-serif;
font-size: 16px;
font-weight: 800;
color: #fff !important;
letter-spacing: -0.2px;
}

.bmi-reset-btn {
background: rgba(255,255,255,0.06) !important;
border: 1px solid rgba(255,255,255,0.1) !important;
border-radius: 8px !important;
color: #94a3b8 !important;
font-size: 13px !important;
font-weight: 600 !important;
padding: 7px 14px !important;
cursor: pointer !important;
transition: all 0.2s ease !important;
font-family: 'DM Sans', sans-serif !important;
}

.bmi-reset-btn:hover {
background: rgba(255,255,255,0.1) !important;
color: #e2e8f0 !important;
}

/* ===== BMI CATEGORY BADGE ===== */
.bmi-cat-badge {
display: inline-block !important;
font-size: 13px !important;
font-weight: 800 !important;
padding: 5px 14px !important;
border-radius: 999px !important;
letter-spacing: 0.3px !important;
margin-bottom: 8px !important;
}

.bmi-cat-underweight {
background: rgba(59,130,246,0.18) !important;
color: #93c5fd !important;
border: 1px solid rgba(59,130,246,0.3) !important;
}

.bmi-cat-normal {
background: rgba(34,197,94,0.18) !important;
color: #86efac !important;
border: 1px solid rgba(34,197,94,0.3) !important;
}

.bmi-cat-overweight {
background: rgba(245,158,11,0.18) !important;
color: #fcd34d !important;
border: 1px solid rgba(245,158,11,0.3) !important;
}

.bmi-cat-obese {
background: rgba(239,68,68,0.18) !important;
color: #fca5a5 !important;
border: 1px solid rgba(239,68,68,0.3) !important;
}

/* ===== IDEAL TEXT & DIFF TEXT ===== */
.bmi-ideal-text {
font-size: 15px !important;
color: #94a3b8 !important;
font-weight: 600 !important;
margin-bottom: 4px !important;
}

.bmi-ideal-waist {
font-size: 14px !important;
color: #64748b !important;
margin-top: 4px !important;
}

.bmi-diff-text {
font-size: 16px !important;
font-weight: 800 !important;
color: #e2e8f0 !important;
margin-top: 8px !important;
line-height: 1.4 !important;
}

/* ===== CALORIE BOXES ===== */
.bmi-cal-box {
background: rgba(255,255,255,0.04) !important;
border: 1px solid rgba(255,255,255,0.08) !important;
border-radius: 14px !important;
padding: 14px 12px !important;
text-align: center !important;
transition: all 0.2s ease !important;
}

.bmi-cal-box:hover {
background: rgba(255,255,255,0.07) !important;
border-color: rgba(255,255,255,0.14) !important;
transform: translateY(-2px) !important;
}

.bmi-cal-label {
font-size: 12px !important;
font-weight: 800 !important;
color: #64748b !important;
text-transform: uppercase !important;
letter-spacing: 0.6px !important;
margin-bottom: 6px !important;
}

.bmi-cal-num {
font-size: 28px !important;
font-weight: 900 !important;
color: #f1f5f9 !important;
line-height: 1 !important;
margin-bottom: 4px !important;
font-family: 'DM Sans', sans-serif !important;
}

.bmi-cal-unit {
font-size: 13px !important;
color: #475569 !important;
font-weight: 600 !important;
}

/* Box accent colours — dark versions */
.bmi-cal-goal-box {
background: rgba(37,99,235,0.1) !important;
border-color: rgba(59,130,246,0.25) !important;
}

.bmi-cal-goal-box .bmi-cal-num { color: #93c5fd !important; }
.bmi-cal-goal-box .bmi-cal-label { color: #60a5fa !important; }

.bmi-cal-protein-box {
background: rgba(220,38,38,0.08) !important;
border-color: rgba(239,68,68,0.2) !important;
}

.bmi-cal-protein-box .bmi-cal-num { color: #fca5a5 !important; }
.bmi-cal-protein-box .bmi-cal-label { color: #f87171 !important; }

.bmi-cal-water-box {
background: rgba(14,165,233,0.08) !important;
border-color: rgba(14,165,233,0.2) !important;
}

.bmi-cal-water-box .bmi-cal-num { color: #7dd3fc !important; }
.bmi-cal-water-box .bmi-cal-label { color: #38bdf8 !important; }

.bmi-cal-carbs-box {
background: rgba(249,115,22,0.08) !important;
border-color: rgba(249,115,22,0.2) !important;
}

.bmi-cal-carbs-box .bmi-cal-num { color: #fdba74 !important; }
.bmi-cal-carbs-box .bmi-cal-label { color: #fb923c !important; }

.bmi-cal-fats-box {
background: rgba(168,85,247,0.08) !important;
border-color: rgba(168,85,247,0.2) !important;
}

.bmi-cal-fats-box .bmi-cal-num { color: #d8b4fe !important; }
.bmi-cal-fats-box .bmi-cal-label { color: #c084fc !important; }

.bmi-cal-fibre-box {
background: rgba(34,197,94,0.08) !important;
border-color: rgba(34,197,94,0.2) !important;
}

.bmi-cal-fibre-box .bmi-cal-num { color: #86efac !important; }
.bmi-cal-fibre-box .bmi-cal-label { color: #4ade80 !important; }

/* WHR box dark */
.bmi-whr-box {
background: rgba(34,197,94,0.08) !important;
border-color: rgba(34,197,94,0.2) !important;
}

.bmi-whr-box .bmi-cal-label { color: #4ade80 !important; }
.bmi-whr-box .bmi-cal-num { color: #86efac !important; }
.bmi-whr-box .bmi-cal-unit { color: #4ade80 !important; }

/* ===== GOAL MESSAGE ===== */
.bmi-goal-msg {
background: rgba(255,255,255,0.04) !important;
border: 1px solid rgba(255,255,255,0.08) !important;
border-radius: 12px !important;
padding: 14px 16px !important;
font-size: 15px !important;
color: #94a3b8 !important;
line-height: 1.7 !important;
font-weight: 500 !important;
}

/* ===== CTA BOX ===== */
.bmi-cta-box {
background: linear-gradient(135deg, rgba(21,128,61,0.2), rgba(22,163,74,0.12)) !important;
border: 1px solid rgba(34,197,94,0.25) !important;
border-radius: 16px !important;
padding: 18px 20px !important;
margin: 16px 0 !important;
}

.bmi-cta-text {
font-size: 14px !important;
color: #94a3b8 !important;
margin-bottom: 12px !important;
line-height: 1.6 !important;
}

.bmi-cta-text strong {
color: #86efac !important;
}

.bmi-cta-btn {
width: 100% !important;
padding: 14px !important;
background: linear-gradient(135deg, #15803d, #16a34a) !important;
border: none !important;
border-radius: 12px !important;
color: #fff !important;
font-family: 'DM Sans', sans-serif !important;
font-size: 15px !important;
font-weight: 800 !important;
cursor: pointer !important;
transition: all 0.25s ease !important;
box-shadow: 0 4px 20px rgba(22,163,74,0.35) !important;
}

.bmi-cta-btn:hover {
transform: translateY(-2px) !important;
box-shadow: 0 8px 28px rgba(22,163,74,0.5) !important;
}

/* ===== BMI SCALE ===== */
.bmi-scale-wrap {
margin: 16px 0 !important;
}

.bmi-scale-track {
border-radius: 14px !important;
overflow: hidden;
height: 28px !important;
position: relative !important;
display: flex !important;
}

/* Segment labels inside the coloured bar */
.bmi-scale-segment {
flex: 1 !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
font-size: 12px !important;
font-weight: 800 !important;
color: rgba(255,255,255,0.95) !important;
letter-spacing: 0.3px !important;
text-shadow: 0 1px 3px rgba(0,0,0,0.4) !important;
}

.bmi-seg-under  { background: #3b82f6 !important; }
.bmi-seg-normal { background: #22c55e !important; }
.bmi-seg-over   { background: #f59e0b !important; }
.bmi-seg-obese  { background: #ef4444 !important; }

.bmi-scale-nums {
display: flex;
justify-content: space-between;
font-size: 13px !important;
color: #94a3b8 !important;
font-weight: 700 !important;
margin-top: 8px !important;
padding: 0 2px !important;
}

.bmi-scale-pin {
top: 50% !important;
transform: translateY(-50%) !important;
width: 18px !important;
height: 18px !important;
border: 3px solid #fff !important;
box-shadow: 0 2px 10px rgba(0,0,0,0.6) !important;
}

/* ===== BMI CIRCLE ===== */
.bmi-circle-num {
font-family: 'DM Sans', sans-serif !important;
font-size: 26px !important;
font-weight: 900 !important;
color: #fff !important;
}

.bmi-circle-lbl {
font-size: 11px !important;
color: #64748b !important;
font-weight: 700 !important;
letter-spacing: 1px !important;
text-transform: uppercase !important;
}

/* ===== NAME GREETING — dark ===== */
.bmi-name-greeting {
background: linear-gradient(135deg, rgba(29,78,216,0.2), rgba(37,99,235,0.1)) !important;
border: 1px solid rgba(59,130,246,0.25) !important;
color: #93c5fd !important;
font-size: 14px !important;
}

/* ===== LIMITATION WARNING — dark ===== */
.bmi-limitation-warning {
background: rgba(245,158,11,0.08) !important;
border: 1px solid rgba(245,158,11,0.2) !important;
border-left: 3px solid #f59e0b !important;
color: #fcd34d !important;
border-radius: 0 10px 10px 0 !important;
}

/* ===== RESPONSIVE FORM ===== */
@media (max-width: 520px) {
.bmi-form-card {
  padding: 24px 18px !important;
  border-radius: 20px !important;
}

.bmi-form-title {
  font-size: 20px !important;
}

.bmi-label {
  font-size: 13px !important;
}

.bmi-input {
  font-size: 16px !important;
  padding: 14px 14px !important;
}

.bmi-toggle-btn {
  font-size: 15px !important;
  padding: 14px 8px !important;
}

.bmi-goal-group {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  }

.bmi-goal-btn {
  font-size: 15px !important;
  padding: 14px !important;
}

.bmi-row-2 {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
}

.bmi-cal-num {
  font-size: 26px !important;
}

.bmi-cal-label {
  font-size: 11px !important;
}

.bmi-cal-unit {
  font-size: 12px !important;
}

.bmi-diff-text {
  font-size: 15px !important;
}

.bmi-ideal-text {
  font-size: 14px !important;
}

.bmi-goal-msg {
  font-size: 14px !important;
}

.bmi-result-card {
  border-radius: 20px !important;
  padding: 20px 16px !important;
}
}


.float-actions {
  z-index: 9999;
  position: fixed;
}
.float-top.show {
  display: flex;
  pointer-events: auto;
}

/* ===== FIX 2: Inline field validation error messages ===== */
.bmi-field-error {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #fca5a5;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  border-left: 3px solid #ef4444;
  border-radius: 0 8px 8px 0;
  padding: 6px 10px;
  line-height: 1.5;
  animation: fieldErrIn 0.2s ease;
}

@keyframes fieldErrIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== FIX 12: Print / Save as PDF button ===== */
.expert-print-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 44px);
  margin: 0 22px 20px;
  padding: 12px;
  background: rgba(255,255,255,0.05);
  color: #94a3b8;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.expert-print-btn:hover {
  background: rgba(255,255,255,0.1);
  color: #e2e8f0;
  border-color: rgba(255,255,255,0.2);
}

@media (max-width: 600px) {
  .expert-print-btn {
    width: calc(100% - 32px);
    margin: 0 16px 14px;
  }
}

/* ===== FIX 12: Print stylesheet — clean A4 output ===== */
@media print {
  body * { visibility: hidden; }

  #bmiResultCard, #bmiResultCard * { visibility: visible; }
  #bmiResultCard {
    position: absolute;
    left: 0; top: 0;
    width: 100%;
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    border: none !important;
    padding: 20px !important;
  }

  .expert-tab-panel { display: block !important; }
  .expert-wa-btn,
  .expert-print-btn,
  .bmi-reset-btn,
  .bmi-cta-box,
  .expert-tabs,
  .float-actions,
  .navbar,
  .bmi-page-hero,
  .bmi-info-section,
  footer { display: none !important; }

  .expert-panel {
    border: 1px solid #ccc !important;
    page-break-inside: avoid;
  }

  .supplement-grid { grid-template-columns: 1fr 1fr !important; }
  .supplement-card { background: #f8fafc !important; border: 1px solid #e2e8f0 !important; }
  .supplement-card-name, .supplement-card-benefit { color: #000 !important; }

  .workout-exercise-row { background: #f8fafc !important; border: 1px solid #e2e8f0 !important; }
  .workout-ex-name, .workout-ex-tag { color: #000 !important; }

  .health-risk-banner.green, .health-risk-banner.yellow,
  .health-risk-banner.orange, .health-risk-banner.red {
    background: #f8fafc !important;
    border: 1px solid #ccc !important;
  }
  .health-risk-title, .health-risk-desc, .health-risk-item { color: #000 !important; }
  .health-focus-box { background: #f1f5f9 !important; }
  .health-focus-tag { color: #000 !important; background: #e2e8f0 !important; }

  .bmi-cal-box { background: #f8fafc !important; border: 1px solid #e2e8f0 !important; }
  .bmi-cal-num, .bmi-cal-label, .bmi-cal-unit { color: #000 !important; }
  .bmi-cat-badge { color: #000 !important; }
  .bmi-ideal-text, .bmi-diff-text { color: #000 !important; }
  .bmi-goal-msg { background: #f8fafc !important; color: #000 !important; border: 1px solid #e2e8f0 !important; }
  .bmi-name-greeting { background: #eff6ff !important; color: #1e3a5f !important; }
}

/* New */
/* ==========================================
   EXPERT OVERVIEW DASHBOARD — PREMIUM COLORS
   (No HTML changes required)
   ========================================== */

.expert-overview-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:14px;
}


/* Base card */
.expert-overview-card{
  border-radius:16px;
  padding:18px 20px;
  border:1px solid rgba(148,163,184,0.25); /* slate-400 */
  background:linear-gradient(135deg,#ffffff,#f8fafc);
  color:#0f172a;
  font-weight:650;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow:0 6px 18px rgba(15,23,42,0.08);
}

/* Make the 4 top cards visually different — works even if you didn't add extra classes */
.expert-overview-grid .expert-overview-card:nth-child(1){
  background:linear-gradient(135deg, rgba(34,197,94,0.14), rgba(16,185,129,0.08), #ffffff);
  border-color:rgba(34,197,94,0.35);
}
.expert-overview-grid .expert-overview-card:nth-child(2){
  background:linear-gradient(135deg, rgba(59,130,246,0.14), rgba(14,165,233,0.08), #ffffff);
  border-color:rgba(59,130,246,0.35);
}
.expert-overview-grid .expert-overview-card:nth-child(3){
  background:linear-gradient(135deg, rgba(249,115,22,0.14), rgba(245,158,11,0.10), #ffffff);
  border-color:rgba(249,115,22,0.35);
}
.expert-overview-grid .expert-overview-card:nth-child(4){
  background:linear-gradient(135deg, rgba(168,85,247,0.14), rgba(236,72,153,0.08), #ffffff);
  border-color:rgba(168,85,247,0.35);
}

/* Hover */
.expert-overview-card:hover{
  transform:translateY(-4px);
  border-color:rgba(59,130,246,0.55);
  box-shadow:0 12px 28px rgba(15,23,42,0.16);
}

/* Titles + text */
.expert-overview-title{
  font-size:14px;
  font-weight:900;
  color:#0f172a;
  margin-bottom:8px;
  display:flex;
  align-items:center;
  gap:8px;
}

.expert-overview-desc{
  font-size:12px;
  color:#475569; /* slate-600 */
  line-height:1.65;
}

/* Health score number — gradient text (with standard + webkit properties) */
.expert-overview-value{
  font-size:34px;
  font-weight:950;
  background:linear-gradient(90deg,#16a34a,#22c55e,#10b981);
  background-clip:text;
  -webkit-background-clip:text;
  color:transparent;
  -webkit-text-fill-color:transparent;
  margin-bottom:4px;
}

/* Daily targets list */
.expert-targets{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:13px;
  font-weight:750;
  color:#0f172a;
}
.expert-targets span{
  color:#334155;
  font-weight:800;
}

/* Focus Areas box */
.expert-focus-box{
  margin-top:12px;
  border-radius:16px;
  padding:18px;
  background:linear-gradient(135deg, rgba(2,132,199,0.10), rgba(59,130,246,0.06), #ffffff);
  border:1px solid rgba(2,132,199,0.35);
  box-shadow:0 6px 18px rgba(15,23,42,0.06);
}

.expert-focus-title{
  font-size:13px;
  font-weight:950;
  color:#0f172a;
  margin-bottom:10px;
}

.expert-focus-list{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:13px;
  color:#334155;
  font-weight:700;
}
.expert-focus-list div{
  background:rgba(15,23,42,0.04);
  border:1px solid rgba(148,163,184,0.25);
  padding:10px 12px;
  border-radius:12px;
}

/* Next actions box */
.expert-actions-box{
  margin-top:12px;
  border-radius:16px;
  padding:18px;
  background:linear-gradient(135deg, rgba(34,197,94,0.10), rgba(16,185,129,0.06), #ffffff);
  border:1px solid rgba(34,197,94,0.35);
  box-shadow:0 6px 18px rgba(15,23,42,0.06);
}
.expert-actions-box ol{
  margin:10px 0 0 18px;
  padding:0;
}
.expert-actions-box li{
  margin:6px 0;
  color:#334155;
  font-weight:700;
  line-height:1.55;
}

/* Badges row */
.expert-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.expert-badge{
  font-size:11px;
  font-weight:900;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,0.35);
  background:rgba(255,255,255,0.7);
  color:#0f172a;
  backdrop-filter: blur(6px);
}

.expert-badge.green{
  background:rgba(34,197,94,0.12);
  border-color:rgba(34,197,94,0.35);
  color:#166534;
}
.expert-badge.blue{
  background:rgba(59,130,246,0.12);
  border-color:rgba(59,130,246,0.35);
  color:#1e3a8a;
}
.expert-badge.purple{
  background:rgba(168,85,247,0.12);
  border-color:rgba(168,85,247,0.35);
  color:#6b21a8;
}

/* Tiny entry animation */
.expert-overview-card{
  animation:fadeInUp .35s ease;
}
@keyframes fadeInUp{
  from{ opacity:0; transform:translateY(6px); }
  to{ opacity:1; transform:translateY(0); }
}

/* Focus Area Card */
.expert-focus-box{
  margin-top:10px;
  padding:16px;
  border-radius:16px;
  background:linear-gradient(135deg,#f1e8e3,#eea24b);
  border:1px solid #93c5fd;
  color:#0f172a;
}

/* Next Action Card */
.expert-actions-box{
  margin-top:10px;
  padding:16px;
  border-radius:16px;
  background:linear-gradient(135deg,#ecfdf5,#d1fae5);
  border:1px solid #6ee7b7;
  color:#0f172a;
}

/* Overview Cards */
.expert-overview-card{
  border-radius:16px;
  padding:18px;
  background:linear-gradient(135deg,#ffffff,#f8fafc);
  border:1px solid rgba(148,163,184,0.25);
  box-shadow:0 6px 18px rgba(15,23,42,0.08);
}

/* ===== PREMIUM EXPERT DASHBOARD ===== */

.expert-card{
  padding:16px 18px;
  border-radius:16px;
  border:1px solid #e2e8f0;
  background:#ffffff;
  box-shadow:0 6px 18px rgba(0,0,0,0.06);
  transition:all .25s ease;
  }
  
  .expert-card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 40px rgba(0,0,0,0.1);
  }
  
  /* Health */
  .expert-card-health{
  background:linear-gradient(135deg,#121312,#d1fae5);
  border-color:#6ee7b7;
  }
  
  /* Body */
  .expert-card-body{
  background:linear-gradient(135deg,#eff6ff,#dbeafe);
  border-color:#93c5fd;
  }
  
  /* Target */
  .expert-card-target{
  background:linear-gradient(135deg,#fff7ed,#fed7aa);
  border-color:#fdba74;
  }
  
  /* Plan */
  .expert-card-plan{
  background:linear-gradient(135deg,#faf5ff,#e9d5ff);
  border-color:#d8b4fe;
  }

  /* ============================= */
/* PREMIUM EXPERT DASHBOARD UI */
/* ============================= */

.premium-header{
  padding:18px 20px;
  background:linear-gradient(135deg,#0f172a,#1e293b);
  border-radius:18px 18px 0 0;
  color:white;
  }
  
  .expert-title{
  font-size:18px;
  font-weight:800;
  }
  
  .expert-subtitle{
  font-size:13px;
  opacity:.75;
  margin-top:4px;
  }
  
  .expert-accuracy-pill{
  margin-top:8px;
  display:inline-block;
  background:rgba(255,255,255,.12);
  padding:6px 12px;
  border-radius:999px;
  font-weight:700;
  font-size:12px;
  }
  
  /* GRID */
  
  .expert-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:16px;
  }
  
  /* CARDS */
  
  .expert-card{
  padding:16px;
  border-radius:16px;
  background:#ffffff;
  border:1px solid #e5e7eb;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
  transition:all .25s ease;
  }
  
  .expert-card:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 40px rgba(0,0,0,.12);
  }
  
  /* HEALTH SCORE */
  
  .expert-card-health{
  background:linear-gradient(135deg,#ecfdf5,#d1fae5);
  border-color:#6ee7b7;
  }
  
  /* BODY */
  
  .expert-card-body{
  background:linear-gradient(135deg,#eff6ff,#dbeafe);
  border-color:#93c5fd;
  }
  
  /* TARGET */
  
  .expert-card-target{
  background:linear-gradient(135deg,#fff7ed,#fed7aa);
  border-color:#fdba74;
  }
  
  /* PLAN */
  
  .expert-card-plan{
  background:linear-gradient(135deg,#faf5ff,#e9d5ff);
  border-color:#c4b5fd;
  }
  
  /* TEXT */
  
  .expert-card-title{
  font-weight:700;
  font-size:14px;
  margin-bottom:8px;
  }
  
  .expert-big-number{
  font-size:30px;
  font-weight:900;
  color:#16a34a;
  }
  
  .expert-muted{
  font-size:12px;
  color:#475569;
  margin-top:6px;
  }

  /* ===============================
   HEALTH SCORE BADGE
================================ */

.health-score-pill {

  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  padding: 10px 18px;
  border-radius: 999px;
  
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.5px;
  
  color: #ffffff;
  
  background: linear-gradient(135deg,#16a34a,#22c55e);
  
  border: 1px solid rgba(255,255,255,0.15);
  
  box-shadow:
  0 4px 14px rgba(34,197,94,0.45),
  inset 0 1px 0 rgba(255,255,255,0.25);
  
  backdrop-filter: blur(6px);
  
  transition: all .25s ease;
  
  }
  
  /* hover effect */
  
  .health-score-pill:hover{
  
  transform: translateY(-2px);
  
  box-shadow:
  0 10px 22px rgba(34,197,94,0.55);
  
  }

  .health-score-title{
    font-size:18px;
    font-weight:800;
    letter-spacing:0.3px;
    color:#f1f5f9;
    }
/* ==========================================
   NEW FEATURES — SOCIAL PROOF BANNER
   ========================================== */
.bmi-trust-banner {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 0;
}
.bmi-trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.bmi-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #475569;
  font-weight: 600;
}
.bmi-trust-item strong { color: #0f172a; }
.bmi-trust-icon { font-size: 16px; }
.bmi-trust-divider {
  width: 1px;
  height: 20px;
  background: #e2e8f0;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .bmi-trust-inner { gap: 6px; }
  .bmi-trust-divider { display: none; }
  .bmi-trust-item { font-size: 12px; }
}

/* ==========================================
   NEW FEATURES — SHARE ROW
   ========================================== */
.bmi-share-row {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.bmi-share-btn {
  flex: 1;
  padding: 12px 10px;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.bmi-share-ig {
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.15));
  color: #6366f1;
  border: 1.5px solid rgba(99,102,241,0.3);
}
.bmi-share-ig:hover {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  transform: translateY(-2px);
}
.bmi-share-wa {
  background: linear-gradient(135deg, rgba(37,211,102,0.12), rgba(18,140,71,0.12));
  color: #16a34a;
  border: 1.5px solid rgba(34,197,94,0.3);
}
.bmi-share-wa:hover {
  background: linear-gradient(135deg, #25d366, #128c47);
  color: #fff;
  transform: translateY(-2px);
}
@media (max-width: 480px) {
  .bmi-share-row { flex-direction: column; }
}

/* ==========================================
   NEW FEATURES — STICKY BOOK CONSULTATION CTA
   ========================================== */
.bmi-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8000;
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  border-top: 2px solid rgba(59,130,246,0.4);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.3);
  animation: slideUpIn 0.4s ease;
}
@keyframes slideUpIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.bmi-sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 820px;
}
.bmi-sticky-cta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bmi-sticky-cta-title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}
.bmi-sticky-cta-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}
.bmi-sticky-cta-btn {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(34,197,94,0.4);
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.bmi-sticky-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34,197,94,0.5);
  color: #fff;
}
@media (max-width: 480px) {
  .bmi-sticky-cta-title { font-size: 13px; }
  .bmi-sticky-cta-sub   { display: none; }
  .bmi-sticky-cta-btn   { font-size: 13px; padding: 10px 16px; }
}

/* ==========================================
   MOBILE RESULT CARD — FULL FIX
   ========================================== */

   @media (max-width: 600px) {

    /* Fix 1: Result card padding so nothing bleeds to edges */
    .bmi-result-card {
      padding: 18px 14px !important;
      border-radius: 18px !important;
      overflow: hidden !important;
    }
  
    /* Fix 2: Health Score card — stop score being cut off */
    .bmi-healthbar {
      padding: 10px 12px !important;
      box-sizing: border-box !important;
    }
    .bmi-healthbar > div {
      flex-wrap: wrap !important;
      gap: 8px !important;
    }
    #healthScorePill {
      font-size: 13px !important;
      padding: 4px 8px !important;
      white-space: nowrap !important;
    }
    #healthScoreLabel {
      font-size: 13px !important;
      white-space: nowrap !important;
    }
    .health-score-title {
      font-size: 13px !important;
    }
  
    /* Fix 3: Cal boxes — force 2 equal columns, no overflow */
    .bmi-cal-row {
      grid-template-columns: 1fr 1fr !important;
      gap: 8px !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }
    .bmi-cal-box {
      min-width: 0 !important;
      padding: 12px 8px !important;
      box-sizing: border-box !important;
    }
    .bmi-cal-num {
      font-size: 22px !important;
    }
    .bmi-cal-label {
      font-size: 10px !important;
      letter-spacing: 0.3px !important;
    }
    .bmi-cal-unit {
      font-size: 11px !important;
    }
  
    /* Fix 4: Goal message text overflow */
    .bmi-goal-msg {
      font-size: 13px !important;
      line-height: 1.6 !important;
      word-break: break-word !important;
      overflow-wrap: break-word !important;
      padding: 12px 12px !important;
    }
  
    /* Fix 5: Score row — circle + info side by side properly */
    .bmi-score-row {
      display: flex !important;
      align-items: flex-start !important;
      gap: 12px !important;
      flex-wrap: nowrap !important;
    }
    .bmi-circle {
      flex-shrink: 0 !important;
      width: 100px !important;
      height: 100px !important;
    }
    .bmi-circle-svg {
      width: 100px !important;
      height: 100px !important;
    }
    .bmi-score-info {
      flex: 1 !important;
      min-width: 0 !important;
      overflow: hidden !important;
    }
  
    /* Fix 6: BMI scale numbers don't overflow */
    .bmi-scale-nums {
      font-size: 11px !important;
      padding: 0 !important;
    }
    .bmi-scale-segment {
      font-size: 10px !important;
      letter-spacing: 0 !important;
    }
  
    /* Fix 7: Share row stacks cleanly */
    .bmi-share-row {
      flex-direction: column !important;
      gap: 8px !important;
    }
    .bmi-share-btn {
      font-size: 13px !important;
      padding: 11px 10px !important;
    }
  
    /* Fix 8: CTA box text wraps properly */
    .bmi-cta-text {
      font-size: 13px !important;
      line-height: 1.55 !important;
      word-break: break-word !important;
    }
    .bmi-cta-btn {
      font-size: 13px !important;
      padding: 13px 14px !important;
    }
  
    /* Fix 9: Expert panel fits width */
    .expert-panel {
      border-radius: 14px !important;
      overflow: hidden !important;
    }
    .expert-wa-btn {
      width: calc(100% - 28px) !important;
      margin: 0 14px 16px !important;
      font-size: 13px !important;
    }
    .expert-tabs {
      overflow-x: auto !important;
      -webkit-overflow-scrolling: touch !important;
    }
    .expert-tab {
      font-size: 11px !important;
      padding: 8px 10px !important;
      white-space: nowrap !important;
    }
  }
  
  /* Extra small phones */
  @media (max-width: 380px) {
    .bmi-result-card {
      padding: 14px 10px !important;
    }
    .bmi-cal-row {
      grid-template-columns: 1fr 1fr !important;
      gap: 6px !important;
    }
    .bmi-cal-num {
      font-size: 19px !important;
    }
    .bmi-cal-label {
      font-size: 9px !important;
    }
    .bmi-circle {
      width: 86px !important;
      height: 86px !important;
    }
    .bmi-circle-svg {
      width: 86px !important;
      height: 86px !important;
    }
    .bmi-circle-num {
      font-size: 20px !important;
    }
  }
  /* ===== STRETCH SECTIONS ===== */
.workout-stretch-section {
  margin: 10px 16px;
  border-radius: 12px;
  padding: 12px 14px;
}
.warmup-section {
  background: rgba(249,115,22,0.22);
  border: 1px solid rgba(249,115,22,0.42);
}
.cooldown-section {
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.2);
}
.rest-stretch-section {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
}
.workout-stretch-header {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.workout-stretch-sub {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  text-transform: none;
  letter-spacing: 0;
}
.workout-stretch-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.workout-stretch-row:last-child { border-bottom: none; }
.workout-stretch-icon { font-size: 16px; margin-top: 1px; flex-shrink: 0; }
.workout-stretch-info { display: flex; flex-direction: column; gap: 2px; }
.workout-stretch-name { font-size: 13px; font-weight: 700; color: #fff; }
.workout-stretch-meta { font-size: 11px; color: rgba(255,255,255,0.45); }

/* Fix text color for Warmup & Cooldown */

.warmup-section .workout-stretch-name,
.cooldown-section .workout-stretch-name,
.rest-stretch-section .workout-stretch-name {
  color: #000 !important;
  font-weight: 600;
}

.warmup-section .workout-stretch-meta,
.cooldown-section .workout-stretch-meta {
  color: #000 !important;
  opacity: 0.75;
}

.warmup-section .workout-stretch-header,
.cooldown-section .workout-stretch-header {
  color: #000 !important;
}

/* warm up and cool down */

/* -------------------------------- */
/*  PREMIUM WORKOUT CARD DESIGN     */
/* -------------------------------- */

/* Shared Card Style */
.workout-stretch-section,
.workout-cardio-row {
  border-radius: 16px;
  padding: 16px;
  margin-top: 12px;
  transition: all 0.2s ease;
}

/* ---------------------------- */
/* WARMUP CARD                  */
/* ---------------------------- */

.warmup-section {
  background: linear-gradient(180deg,#fff7ed,#ffe7cc);
  border: 1px solid #f5c79b;
}

.warmup-section .workout-stretch-header {
  font-weight: 700;
  color: #2c2c2c;
}

.warmup-section .workout-stretch-name {
  color: #2c2c2c;
  font-weight: 600;
}

.warmup-section .workout-stretch-meta {
  color: #6b7280;
}


/* ---------------------------- */
/* CARDIO CARD                  */
/* ---------------------------- */

.workout-cardio-row {
  background: linear-gradient(180deg,#fef9c3,#fde68a);
  border: 1px solid #facc15;
}

.workout-cardio-row .workout-cardio-name {
  font-weight: 600;
  color: #2c2c2c;
}

.workout-cardio-row .workout-cardio-meta {
  color: #6b7280;
}


/* ---------------------------- */
/* COOLDOWN CARD                */
/* ---------------------------- */

.cooldown-section {
  background: linear-gradient(180deg,#eef2ff,#dbeafe);
  border: 1px solid #bfdbfe;
}

.cooldown-section .workout-stretch-header {
  font-weight: 700;
  color: #2c2c2c;
}

.cooldown-section .workout-stretch-name {
  color: #2c2c2c;
  font-weight: 600;
}

.cooldown-section .workout-stretch-meta {
  color: #6b7280;
}


/* ---------------------------- */
/* EXERCISE ROW STYLE           */
/* ---------------------------- */

.workout-stretch-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  align-items: flex-start;
}

/* icon */
.workout-stretch-icon {
  font-size: 18px;
}

/* text block */
.workout-stretch-info {
  display: flex;
  flex-direction: column;
}

/* name */
.workout-stretch-name {
  font-size: 14px;
}

/* meta */
.workout-stretch-meta {
  font-size: 12px;
}

/* ---------------------------- */
/* REST / RECOVERY CARD        */
/* ---------------------------- */

.rest-stretch-section{
  background: linear-gradient(180deg,#ecfdf5,#d1fae5);
  border: 1px solid #86efac;
}

.rest-stretch-section .workout-stretch-header{
  color:#2c2c2c;
  font-weight:700;
}

.rest-stretch-section .workout-stretch-name{
  color:#2c2c2c;
  font-weight:600;
}

.rest-stretch-section .workout-stretch-meta{
  color:#6b7280;
}


  /* ── Live Date & Time Bar ─────────────────────────────────── */
  .datetime-bar {
    background: #12122a;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 7px 0;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    position: relative;
    z-index: 1001;
  }
  .datetime-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }
  .datetime-left {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.5);
  }
  .datetime-right {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
  }
  .datetime-icon { font-size: 13px; }
  .datetime-sep { color: rgba(255,255,255,0.2); font-size: 11px; }
  #liveDate { color: rgba(255,255,255,0.8); font-weight: 600; }
  #liveTime {
    color: #f0c040;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.5px;
    min-width: 92px;
    display: inline-block;
  }
  .datetime-phone { color: #6bdfb8; text-decoration: none; font-weight: 600; }
  .datetime-phone:hover { color: #fff; }
  @media (max-width: 640px) {
    .datetime-left { display: none; }
    .datetime-bar-inner { justify-content: center; }
  }
/* ===== OVERVIEW GRID — NARROW PHONE FIX ===== */
@media (max-width: 480px) {
  .expert-overview-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .expert-overview-grid .expert-overview-card {
    padding: 10px 8px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  .expert-overview-title {
    font-size: 12px !important;
    gap: 4px !important;
  }
  .expert-overview-value {
    font-size: 26px !important;
  }
  .expert-overview-desc {
    font-size: 11px !important;
    line-height: 1.5 !important;
  }
  .expert-content {
    padding: 10px 8px !important;
  }
}

/* ===== OVERVIEW 4-CARD GRID ===== */
/* .overview-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
  width: 100%;
  box-sizing: border-box;
}

.ov-card {
  box-sizing: border-box;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.ov-card-title {
  font-size: 13px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 6px;
}

.ov-card-value {
  font-size: 24px;
  font-weight: 950;
  margin-bottom: 4px;
  line-height: 1.1;
}

.ov-card-desc {
  font-size: 12px;
  color: #1e293b;
  line-height: 1.65;
}

@media (max-width: 480px) {
  .overview-cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .ov-card {
    padding: 10px 10px !important;
  }
  .ov-card-title {
    font-size: 11px !important;
  }
  .ov-card-value {
    font-size: 20px !important;
  }
  .ov-card-desc {
    font-size: 11px !important;
    line-height: 1.5 !important;
  }
} */

/* ================================================
   OVERVIEW 4 CARDS — FINAL WORKING VERSION
   ================================================ */

.ov-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
  width: 100%;
  box-sizing: border-box;
}

.ov-card {
  border-radius: 12px;
  padding: 12px 10px;
  box-sizing: border-box;
  min-width: 0;
  border: 1.5px solid transparent;
  overflow: hidden;
}

.ov-health { background: linear-gradient(145deg,#ecfdf5,#d1fae5); border-color: #6ee7b7; }
.ov-body   { background: linear-gradient(145deg,#eff6ff,#dbeafe); border-color: #93c5fd; }
.ov-target { background: linear-gradient(145deg,#fff7ed,#fed7aa); border-color: #fdba74; }
.ov-plan   { background: linear-gradient(145deg,#faf5ff,#e9d5ff); border-color: #c4b5fd; }

/* Card header — icon + title */
.ov-icon-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.ov-label {
  font-size: 11px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  word-break: break-word;
}

/* Health score card */
.ov-big {
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}
.ov-big-sub {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.5;
}
.ov-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  margin-bottom: 4px;
}
.ov-small {
  font-size: 10px;
  color: #475569;
  line-height: 1.4;
}

/* Data rows for other 3 cards */
.ov-item {
  margin-bottom: 6px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.ov-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.ov-k {
  display: block;
  font-size: 9px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 1px;
}
.ov-v {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  word-break: break-word;
}
.ov-unit {
  font-size: 10px;
  font-weight: 500;
  color: #64748b;
}