/* ============================================================
   COYA MEDICAL — medical.css
   Additions to checkout.css (plan pages) and auth.css (thank-you page).
   ============================================================ */

.medical-description {
  margin-top: 16px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}

.medical-terms {
  margin-top: 16px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.5);
}

.medical-terms:empty { display: none; }

/* The site-wide h2 is a hero size; this one sits in the payment card. */
#already-subscribed h2 { font-size: 1.5rem; }

/* ── Thank-you page ──────────────────────────────────────── */
.medical-thanks {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px 80px;
}

.medical-thanks [hidden] { display: none; }

.medical-thanks h1 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.medical-thanks-sub {
  max-width: 480px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.medical-thanks-sub strong { color: var(--color-white); }

.medical-thanks-spinner {
  margin: 0 auto 24px;
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255,255,255,0.15);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: medical-spin 0.7s linear infinite;
}

@keyframes medical-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .medical-thanks-spinner { animation-duration: 1.8s; }
}
