/* ── HSC Biology Y11 M2 — module-wide glassmorphism ────────────
   Shared styles for all Bio Y11 M2 lessons.
   Drop the module's background image at:
     assets/backgrounds/bio-m3-bg.webp
──────────────────────────────────────────────────────────── */

/* 1. Module background, soft teal overlay */
body {
  background-image:
    linear-gradient(rgba(0, 30, 45, 0.18), rgba(0, 30, 45, 0.18)),
    url('../../../../assets/backgrounds/bio-m3-bg.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: #003d52;
}

/* 2. Main cards */
.card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 6px 32px rgba(0, 50, 70, 0.18), inset 0 1px 0 rgba(255,255,255,0.9);
}

/* 3. Think First — glass + dark-text override (defaults assume dark teal bg) */
.think-first {
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(13, 115, 119, 0.40);
}
.tf-label {
  background: rgba(13, 115, 119, 0.15);
  color: #0a4a4d;
}
.think-first h3  { color: #0d2b2c; }
.think-first p   { color: #1a3a3a; }
.think-first strong { color: #0d2b2c; }
.think-first .answer-textarea {
  background: rgba(255, 255, 255, 0.60);
  border: 1.5px solid rgba(13, 115, 119, 0.30);
  color: #1a3a3a;
}
.think-first .answer-textarea::placeholder { color: rgba(13, 43, 44, 0.45); }
.think-first .autosave-indicator { color: rgba(13, 43, 44, 0.55); }

/* 4. Intention cards */
.intention-card {
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* 5. Mode banner */
.mode-banner {
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* 6. Worksheet card */
.worksheet-download-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* 7. Callouts inside cards — white base so they don't go invisible */
.callout-mint, .callout-sky, .callout-peach, .callout-coral,
.callout-amber, .callout-blue, .callout-green, .callout-purple {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* 8. Copy section */
.copy-section > summary,
.copy-body {
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* 9. MC questions */
.mc-question {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* 10. Answers accordion */
.answers-section > summary {
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* 11. Phase strip — deep ocean glass */
.phase-strip {
  background: rgba(0, 50, 68, 0.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  padding: 6px;
  margin-bottom: 20px;
}
.phase-step { color: rgba(255, 255, 255, 0.80); }
.phase-step.active { background: rgba(255,255,255,0.92); color: #0d7377; border-radius: 10px; }
.ps-connector { background: rgba(255, 255, 255, 0.18); }

/* 12. Section labels stay readable between cards */
p.section-label {
  text-shadow: 0 1px 4px rgba(255,255,255,0.6);
}

@media (max-width: 768px) {
  body { background-attachment: scroll; }
}
