/* BMI Specific Styles */
.intro-section {
  margin-bottom: 2rem;
  color: var(--text-muted);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.intro-image {
  max-width: 100%;
  height: auto;
  max-height: 250px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  object-fit: contain;
}

.intro-text p {
  line-height: 1.6;
  margin: 0;
  font-size: 1.1rem;
}

.grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .intro-section {
    flex-direction: row;
    text-align: left;
    padding: 2.5rem;
    gap: 3rem;
  }

  .intro-image-wrapper {
    flex: 0 0 240px;
  }

  .intro-image {
    max-height: 240px;
    width: 100%;
  }

  .intro-text p {
    font-size: 1.25rem;
  }

  .grid-layout {
    grid-template-columns: 1fr 1fr;
  }

  .schedule-card {
    grid-column: 1 / -1;
  }
}

.who-table th,
.schedule-table th {
  background-color: var(--border-color);
  padding: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
}

.who-table td,
.schedule-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  color: inherit;
}

.reference-link {
  font-size: 0.85rem;
  margin-top: 1rem;
  text-align: right;
}

.reference-link a {
  color: var(--text-muted);
  text-decoration: none;
}

.reference-link a:hover {
  text-decoration: underline;
}

.bmi-gauge-container {
  width: 100%;
  height: 320px;
  margin: 0 auto 1rem auto;
}

.result-message,
.goal-message {
  text-align: center;
  margin: 1.5rem 0;
  font-size: 1.125rem;
}

.highlight-val {
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
  margin: 0.5rem 0;
}

/* Info Section */
.info-section {
  margin-top: 3rem;
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.info-box h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.info-box ul {
  padding-left: 1.25rem;
}

.info-box li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}