/* ZepMed — registration Terms & Conditions modal (panels) */
.legal-terms-modal {
  max-width: 640px;
  width: 96vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.legal-terms-body {
  flex: 1;
  overflow-y: auto;
  max-height: 58vh;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  font-size: 13px;
  line-height: 1.55;
  color: #334155;
}

.legal-terms-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin: 16px 0 8px;
}

.legal-terms-body h4:first-child {
  margin-top: 0;
}

.legal-terms-body p,
.legal-terms-body ul {
  margin-bottom: 10px;
}

.legal-terms-body ul {
  padding-left: 1.2rem;
}

.legal-terms-body .legal-callout {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  color: #9a3412;
  font-weight: 500;
}

.legal-terms-body .legal-callout strong {
  display: block;
  margin-bottom: 4px;
}

.terms-consent-row {
  text-align: left;
  margin: 12px 0 14px;
}

.terms-consent-row .form-check-label {
  font-size: 12px;
  line-height: 1.45;
  color: #475569;
}

.terms-consent-row a,
.terms-consent-row button.terms-link-btn {
  color: #0d9488;
  font-weight: 600;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.terms-consent-row .form-check-input:checked {
  background-color: #0d9488;
  border-color: #0d9488;
}
