/* Scroll fix for the public Doctor Registration page only.
   The shared app shell (theme/_layout.scss) sets body{overflow:hidden} and
   .app{height:100%} so the dashboard's own .content-wrap can own scrolling.
   This page isn't wrapped in .content-wrap, so it inherited the clipped body
   and couldn't be scrolled with the mouse wheel. core.js toggles
   body.register-page-active while this state is active, so this override
   only ever applies here. Same pattern as landing.css. */
body.register-page-active {
  height: auto;
  min-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  /* Same pale #E5E9EC strip the landing and sign-in pages had: the shell's
     50px padding-bottom is dashboard slack and shows below this page's content. */
  padding-bottom: 0;
}

body.register-page-active .app {
  height: auto;
  min-height: 100%;
}

/* Sign up with Google (register/index.html). */
.register-page .google-signup { margin: 0 0 6px; }
.register-page .google-banner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  border: 1px solid #bbf7d0; background: #f0fdf4; border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; }
.register-page .google-banner img { width: 40px; height: 40px; border-radius: 50%; }
.register-page .google-banner-text { flex: 1; min-width: 180px; display: flex; flex-direction: column; line-height: 1.4; }
.register-page .google-banner-text b { color: #15803d; }
.register-page .google-banner-text small { color: #475569; }
.register-page .google-banner-leave { font-size: 12.5px; }
/* The registration number hint under the box. */
.register-page .reg-ok { color: #15803d; }
.register-page .reg-odd { color: #b45309; }

/* After Create: waiting for the registration check (index.js waitForApproval). */
.register-page .signup-wait { padding-top: 8px; }
.register-page .wait-card { text-align: center; padding: 24px 8px 8px; }
.register-page .wait-card h3 { font-size: 20px; font-weight: 700; color: #0f172a; margin: 12px 0 10px; }
.register-page .wait-card p { color: #475569; font-size: 14px; line-height: 1.6; max-width: 460px; margin: 0 auto 10px; }
.register-page .wait-icon { font-size: 44px; color: #0d9488; }
.register-page .wait-ok .wait-icon { color: #16a34a; }
.register-page .wait-held .wait-icon { color: #b45309; }
.register-page .wait-reasons { text-align: left; max-width: 460px; margin: 0 auto 12px; padding-left: 20px; color: #92400e; font-size: 14px; }
.register-page .wait-reasons li { margin-bottom: 4px; }
.register-page .wait-fix { text-align: left; max-width: 460px; margin: 18px auto 0; border-top: 1px solid #e2e8f0; padding-top: 16px; }
.register-page .wait-fix .btn-fix { display: block; margin: 0 auto; background: #fff; border: 1px solid #0d9488; color: #0f766e; font-weight: 600; border-radius: 8px; padding: 8px 16px; }
.register-page .wait-fix .btn-submit { width: 100%; }

/* Registration sections (2026-10-18): a numbered teal badge, title and one
   line of explanation. Numbered by a counter so hidden sections leave no gap. */
.register-page form[name="form.registerForm"] { counter-reset: regsec; }
.register-page .reg-section .section-head { display: flex; flex-direction: column; gap: 2px; margin: 0 0 18px;
  padding-left: 44px; position: relative; min-height: 32px; justify-content: center; }
.register-page .reg-section .section-head::before { counter-increment: regsec; content: counter(regsec);
  position: absolute; left: 0; top: 50%; margin-top: -16px; width: 32px; height: 32px; border-radius: 50%;
  background: #0d9488; color: #fff; font-weight: 700; font-size: 15px; line-height: 32px; text-align: center; }
.register-page .reg-section .section-head .section-title { margin: 0; font-size: 17px; }
.register-page .reg-section .section-head .section-title i { display: none; }
.register-page .reg-section .section-sub { margin: 0; font-size: 13px; color: #64748b; }
.register-page .section-subtitle { font-size: 14px; font-weight: 700; color: #0f766e; margin: 22px 0 8px;
  padding-top: 16px; border-top: 1px dashed #e2e8f0; display: flex; align-items: center; gap: 6px; }

/* Qualifications editor (profile/qualifications.js): registration, My
   Profile and first-login setup. */
.epa-qual { width: 100%; }
.epa-qual-head, .epa-qual-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.8fr) 84px auto;
  gap: 8px; align-items: center; }
.epa-qual-head { font-size: 12px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 4px; }
.epa-qual-head .eq-c-act { width: 102px; }
.epa-qual-row { margin-bottom: 8px; }
.epa-qual .epa-qual-row label { margin: 0 !important; padding: 0; font-weight: normal; display: block; min-width: 0; }
.epa-qual-row .eq-lbl { display: none; }
.epa-qual-row .form-control { width: 100%; height: 38px; }
.epa-qual .eq-c-act { display: flex; gap: 4px; }
.epa-qual .eq-btn { width: 32px; height: 38px; padding: 0; border: 1px solid #cbd5e1; border-radius: 6px; background: #fff;
  color: #0f766e; display: inline-flex; align-items: center; justify-content: center; }
.epa-qual .eq-btn:hover:not([disabled]) { background: #f0fdfa; border-color: #0d9488; }
.epa-qual .eq-btn[disabled] { opacity: .35; cursor: default; }
.epa-qual .eq-del { color: #b91c1c; }
.epa-qual .eq-del:hover:not([disabled]) { background: #fef2f2; border-color: #b91c1c; }
.epa-qual .eq-add { margin-top: 2px; border: 1px dashed #0d9488; background: #f0fdfa; color: #0f766e; font-weight: 600;
  border-radius: 6px; padding: 7px 14px; }
.epa-qual .eq-add:hover { background: #ccfbf1; }
@media (max-width: 600px) {
  .epa-qual-head { display: none; }
  .epa-qual-row { grid-template-columns: minmax(0, 1fr) 84px; border: 1px solid #e2e8f0; border-radius: 8px; padding: 8px; }
  .epa-qual-row .eq-c-inst { grid-column: 1 / -1; grid-row: 2; }
  .epa-qual-row .eq-c-act { grid-column: 1 / -1; grid-row: 3; justify-content: flex-end; }
  .epa-qual-row .eq-lbl { display: block; font-size: 12px; color: #64748b; margin-bottom: 2px; }
}
