/* ============================================================
   ROOT VARIABLES & RESET
   ============================================================ */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-card: #1e293b;
  --bg-input: rgba(255, 255, 255, 0.05);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
}

.hidden {
  display: none !important;
}

/* ============================================================
   AUTH + PUBLIC HUB
   ============================================================ */
.auth-section {
  display: flex;
  min-height: 100vh;
}

.auth-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 60px;
  max-width: 480px;
  margin: 0 auto;
}

.auth-brand {
  text-align: center;
  margin-bottom: 40px;
}

.auth-brand i {
  font-size: 3rem;
  color: var(--primary);
  background: #dbeafe;
  padding: 16px;
  border-radius: 50%;
}

.auth-brand h1 {
  font-size: 2rem;
  margin-top: 12px;
  color: var(--text-primary);
}

.auth-tagline {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.auth-form h2 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.auth-subtitle {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: var(--bg-input);
  color: var(--text-primary);
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.auth-toggle {
  text-align: center;
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.auth-toggle a {
  color: var(--primary);
  font-weight: 500;
  cursor: pointer;
}

.auth-toggle a:hover {
  text-decoration: underline;
}

.error-msg {
  color: var(--danger);
  font-size: 0.875rem;
  margin-top: 12px;
  text-align: center;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.1);
}

.success-msg {
  color: var(--success);
  font-size: 0.875rem;
  margin-top: 12px;
  text-align: center;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: rgba(34, 197, 94, 0.1);
}

/* ============================================================
   PUBLIC HUB HERO — HOVER CARDS
   ============================================================ */
.auth-hero.public-hub {
  flex: 1.5;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
}

.auth-hero.public-hub::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.hero-content {
  color: white;
  max-width: 700px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.hero-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.2;
}

.hero-content > p {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ---- Topic Grid (Hover Cards) ---- */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.topic-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.topic-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.topic-card.active {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.topic-card .topic-icon {
  font-size: 1.6rem;
  margin-bottom: 4px;
  line-height: 1;
}

.topic-card .topic-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.3px;
}

.topic-card .topic-desc {
  font-size: 0.6rem;
  opacity: 0.6;
  margin-top: 2px;
  display: none;
}

.topic-card:hover .topic-desc,
.topic-card.active .topic-desc {
  display: block;
}

/* ---- Content Display Area ---- */
.content-display {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 16px;
  min-height: 200px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.content-item {
  display: none;
  animation: fadeSlide 0.4s ease;
}

.content-item.active {
  display: block;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-item .public-video .video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 6px;
}

.content-item .public-video .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 6px;
}

.content-item .public-video .video-caption {
  font-size: 0.7rem;
  opacity: 0.7;
  margin-top: 4px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.content-item .public-bmi-inline {
  padding: 8px 4px;
}

.content-item .public-bmi-inline h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.content-item .public-bmi-inline .bmi-inputs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.content-item .public-bmi-inline input {
  flex: 1;
  min-width: 70px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.9rem;
}

.content-item .public-bmi-inline input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.content-item .public-bmi-inline input:focus {
  outline: none;
  border-color: white;
}

.content-item .public-bmi-inline button {
  padding: 6px 16px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.85rem;
  transition: background 0.3s;
}

.content-item .public-bmi-inline button:hover {
  background: var(--primary-dark);
}

.content-item .public-bmi-inline .bmi-result-text {
  margin-top: 8px;
  font-weight: 500;
  color: white;
  min-height: 22px;
  font-size: 0.9rem;
}

.content-item .nutrition-preview .food-pyramid-mini {
  display: flex;
  flex-direction: column;
  max-width: 200px;
  margin: 8px auto;
}

.content-item .nutrition-preview .pyramid-level-mini {
  padding: 6px 12px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.content-item .nutrition-preview .pyramid-level-mini:last-child {
  border-bottom: none;
  border-radius: 0 0 4px 4px;
}
.content-item .nutrition-preview .pyramid-level-mini:first-child {
  border-radius: 4px 4px 0 0;
}

.content-item .guidelines-preview .guideline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.content-item .guidelines-preview .guideline-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  font-size: 0.85rem;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.3s;
}

.content-item .guidelines-preview .guideline-links a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-cta {
  margin-top: 8px;
  text-align: center;
  font-size: 0.7rem;
  opacity: 0.6;
}

.hero-cta a {
  color: #fff;
  text-decoration: underline;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .topic-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .topic-card {
    min-height: 70px;
    padding: 12px 8px;
  }
  .topic-card .topic-icon {
    font-size: 1.4rem;
  }
  .topic-card .topic-title {
    font-size: 0.7rem;
  }
  .hero-content h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .auth-section {
    flex-direction: column;
  }
  .auth-container {
    padding: 20px;
    max-width: 100%;
  }
  .auth-hero.public-hub {
    padding: 20px 16px;
  }
  .topic-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .topic-card {
    min-height: 60px;
    padding: 10px 6px;
  }
  .topic-card .topic-icon {
    font-size: 1.2rem;
    margin-bottom: 2px;
  }
  .topic-card .topic-title {
    font-size: 0.6rem;
  }
  .topic-card .topic-desc {
    display: none !important;
  }
  .hero-content h2 {
    font-size: 1.5rem;
  }
  .hero-content > p {
    font-size: 0.85rem;
    margin-bottom: 14px;
  }
  .content-display {
    padding: 12px;
    min-height: 160px;
  }
  .welcome-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-nav {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-actions {
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .topic-card {
    min-height: 56px;
    padding: 8px 4px;
  }
  .topic-card .topic-icon {
    font-size: 1rem;
  }
  .topic-card .topic-title {
    font-size: 0.55rem;
  }
  .content-display {
    padding: 10px;
    min-height: 140px;
  }
}

/* ============================================================
   DASHBOARD
   ============================================================ */
.dashboard {
  display: none;
  padding: 0 24px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.dashboard.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dashboard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-brand i {
  font-size: 1.5rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-name {
  font-weight: 500;
  font-size: 0.9rem;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.welcome-banner {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-radius: var(--radius);
  padding: 30px 40px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.welcome-text h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

.welcome-text p {
  opacity: 0.9;
  margin-top: 4px;
}

.welcome-date {
  font-size: 1rem;
  opacity: 0.9;
}

/* ---- Stats ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ---- Tabs ---- */
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tab {
  padding: 8px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.3s;
  font-family: inherit;
  font-size: 0.875rem;
}

.tab:hover {
  border-color: var(--primary);
  color: var(--text-primary);
}

.tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ---- Buttons ---- */
.btn {
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border-color);
  color: var(--text-secondary);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--text-primary);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.825rem;
}

/* ---- Toast ---- */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2000;
  animation: slideUp 0.4s ease;
  min-width: 250px;
}

.toast.hidden {
  display: none;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.toast-icon {
  color: var(--success);
  font-size: 1.2rem;
}

.toast-message {
  font-size: 0.9rem;
  color: var(--text-primary);
}

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 12px;
}

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

.card-title {
  font-weight: 600;
  font-size: 1rem;
}

.card-subtitle {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.card-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-pending {
  background: rgba(245, 158, 11, 0.2);
  color: var(--warning);
}
.badge-confirmed {
  background: rgba(34, 197, 94, 0.2);
  color: var(--success);
}

.loading-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.loading-state i {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.empty-state .icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

/* ============================================================
   DASHBOARD TAB CONTENT — Health Tools
   ============================================================ */
.health-subtitle {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

/* ---- BMI ---- */
.bmi-container {
  max-width: 800px;
  margin: 0 auto;
}

.bmi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.bmi-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.input-group input {
  flex: 1;
  padding: 10px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  color: var(--text-primary);
}

.input-group input:focus {
  outline: none;
  border-color: var(--primary);
}

.input-group select {
  width: 80px;
  padding: 10px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  color: var(--text-primary);
}

.input-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.bmi-result {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.bmi-number {
  font-size: 3.5rem;
  font-weight: 700;
}

.bmi-category {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.bmi-scale {
  position: relative;
  margin: 20px 0;
}

.scale-bar {
  display: flex;
  height: 20px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}

.scale-segment {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 600;
  color: white;
  padding: 0 4px;
}

.scale-segment.underweight {
  background: #2196f3;
}
.scale-segment.normal {
  background: #4caf50;
}
.scale-segment.overweight {
  background: #ffc107;
}
.scale-segment.obese {
  background: #f44336;
}

.scale-indicator {
  position: absolute;
  top: -10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transform: translateX(-50%);
  transition: left 0.5s ease;
}

.bmi-disclaimer {
  padding: 12px;
  background: rgba(255, 152, 0, 0.1);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 12px;
}

.bmi-disclaimer a {
  color: var(--primary);
  text-decoration: underline;
}

.bmi-categories {
  list-style: none;
  padding: 0;
}

.bmi-categories li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.category {
  padding: 2px 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.85rem;
}

.category.underweight {
  background: #2196f3;
  color: white;
}
.category.normal {
  background: #4caf50;
  color: white;
}
.category.overweight {
  background: #ffc107;
  color: #333;
}
.category.obese {
  background: #f44336;
  color: white;
}

/* ---- Nutrition ---- */
.nutrition-container {
  max-width: 900px;
  margin: 0 auto;
}

.food-pyramid {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: 20px auto;
}

.pyramid-level {
  padding: 20px;
  text-align: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.pyramid-level:hover {
  transform: scale(1.02);
}

.pyramid-level.top {
  border-radius: 8px 8px 0 0;
}
.pyramid-level.bottom {
  border-radius: 0 0 8px 8px;
  border-bottom: none;
}

.level-label {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.level-desc {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 4px;
}

.health-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.health-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
}

.health-card.full-width {
  grid-column: 1 / -1;
}

.health-card h3 {
  margin-bottom: 12px;
  color: var(--text-primary);
}

.health-card ul {
  list-style: none;
  padding: 0;
}

.health-card ul li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.health-card ul li:last-child {
  border-bottom: none;
}

.health-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.health-note a {
  color: var(--primary);
  text-decoration: underline;
}

/* ---- Plate Visual ---- */
.plate-visual {
  display: flex;
  justify-content: center;
  margin: 16px 0;
}

.plate {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  border: 4px solid var(--border-color);
  position: relative;
}

.plate-section {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding: 4px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.plate-section:hover {
  transform: scale(1.05);
}

/* ---- Microbiome ---- */
.microbiome-container {
  max-width: 900px;
  margin: 0 auto;
}