/* RC1.3.5.31 — approved JSC registration UI; only /register.php is affected. */
.jsc-account-page--register{--jsc-register-green:#005b45;--jsc-register-gold:#c9921f;--jsc-register-border:#dbe5df}
.jsc-account-page--register .jsc-account-breadcrumbs{background:#fffdf8}
.jsc-account-page--register .jsc-account-stage{min-height:750px;isolation:isolate;background-color:#f4ede1;background-size:cover;background-position:center center}
.jsc-account-page--register .jsc-account-stage::after{background:linear-gradient(90deg,rgba(255,251,239,.58) 0%,rgba(255,255,255,.12) 38%,rgba(255,255,255,.04) 100%),rgba(255,255,255,var(--jsc-account-overlay,0))}
.jsc-account-page--register .jsc-account-stage__inner{max-width:1560px;grid-template-columns:minmax(250px,1fr) minmax(500px,555px) minmax(240px,.95fr);column-gap:44px;align-items:center;padding:38px 34px 40px}
.jsc-account-page--register .jsc-account-copy{max-width:420px;align-self:center}
.jsc-account-page--register .jsc-account-copy__eyebrow{font-size:12px;letter-spacing:.14em;color:#a87309}
.jsc-account-page--register .jsc-account-copy h1{color:#053d31;font-size:clamp(43px,3.8vw,62px);line-height:1.04;letter-spacing:-.022em}
.jsc-account-page--register .jsc-account-copy__intro{max-width:420px;font-size:17px;line-height:1.5;color:#233e38}
.jsc-account-page--register .jsc-account-copy__rule{width:56px;height:4px}
.jsc-account-page--register .jsc-account-quote{margin:21px 0 0;padding:13px 17px 13px 27px;border-radius:12px;background:rgba(255,255,255,.76);font-size:15px;color:#24463b;box-shadow:0 8px 20px rgba(10,40,30,.04)}
.jsc-account-page--register .jsc-account-quote:before{left:8px;top:4px;font-size:36px}
.jsc-register-values{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:24px}
.jsc-register-value{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;color:#163d34;font-size:11px;font-weight:700;min-width:0}
.jsc-register-value span{display:grid;place-items:center;width:45px;height:45px;border-radius:50%;background:#fff0c1;border:1px solid #e5c46d;color:#9c6b00;font-size:23px;line-height:1}
.jsc-account-page--register .jsc-account-card{width:100%;max-width:555px;min-width:0;border:1px solid #d7e3db;border-radius:20px;background:rgba(255,255,255,.97);padding:27px 27px 24px;box-shadow:0 19px 50px rgba(12,43,31,.16)}
.jsc-account-page--register .jsc-account-card__header{margin-bottom:15px}
.jsc-account-page--register .jsc-account-card__icon{width:54px;height:54px;border-radius:50%;background:#ffecca;border-color:#f2d897;color:#006048;margin-bottom:9px}
.jsc-account-page--register .jsc-account-card__icon svg{width:27px;height:27px}
.jsc-account-page--register .jsc-account-card h2{font-size:27px;line-height:1.16}
.jsc-account-page--register .jsc-account-card__accent{width:40px;margin:9px auto 7px}
.jsc-account-page--register .jsc-account-card__sub{font-size:13px}
.jsc-account-page--register .jsc-account-card .form-group{margin:0 0 11px}
.jsc-account-page--register .jsc-account-card .form-group .label{font-size:12px;font-weight:800;color:#21463b;margin-bottom:5px}
.jsc-account-page--register .jsc-account-card .form-control{height:43px;min-height:43px;padding:10px 12px;font-size:13px;background:#fff;border:1px solid #c8d7d1;border-radius:7px;box-shadow:none}
.jsc-account-page--register .jsc-account-card .form-control:focus{border-color:#04775c;box-shadow:0 0 0 3px rgba(0,107,79,.12)}
.jsc-register-password-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.jsc-register-password-row>.form-group{min-width:0}
.jsc-register-password-wrap{position:relative}
.jsc-register-password-wrap .form-control{padding-right:53px!important}
.jsc-register-password-toggle{position:absolute;right:5px;top:50%;transform:translateY(-50%);border:0;background:#f1f6f2;border-radius:6px;padding:7px 8px;color:#175848;font-weight:750;font-size:11px;cursor:pointer}
.jsc-register-password-toggle:focus-visible{outline:2px solid #c9921f;outline-offset:2px}
.jsc-account-page--register .jsc-register-strength{margin:0 0 10px!important}
.jsc-account-page--register .jsc-password-strength{height:9px;border-radius:20px;background:#eaf0e9}
/* Overwrite the HESK 300px cap for the captcha only on registration. */
.jsc-account-page--register .jsc-register-security,.jsc-account-page--register .jsc-register-security .captcha-block{box-sizing:border-box!important;display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important}
.jsc-account-page--register .jsc-register-security{padding:14px 16px 13px;border:1px solid #cae1d4;border-radius:12px;background:linear-gradient(135deg,#e6f5ed,#f7fbf7)}
.jsc-account-page--register .jsc-register-security .captcha-block{border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;background:transparent!important;text-align:center!important}
.jsc-account-page--register .jsc-register-security .captcha-block h2,.jsc-account-page--register .jsc-register-security .captcha-block h3{font-size:13px;color:#164637;letter-spacing:.05em;margin:0 0 8px;text-transform:uppercase;font-weight:850;text-align:center}
.jsc-account-page--register .jsc-register-security .captcha-block .form-group{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;text-align:center}
.jsc-account-page--register .jsc-register-security .captcha-block label,.jsc-account-page--register .jsc-register-security .captcha-block label.required{display:block!important;width:100%!important;max-width:100%!important;text-align:center!important;margin:0 0 8px!important;color:#183f35!important;font-size:13px!important;font-weight:800!important}
.jsc-account-page--register .jsc-register-security input.form-control{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;height:42px}
.jsc-account-page--register .jsc-register-google-captcha{margin-top:12px;width:100%;max-width:none;display:flex;align-items:center;justify-content:center;overflow:visible}
.jsc-account-page--register .jsc-register-google-captcha .g-recaptcha,.jsc-account-page--register .jsc-register-security .captcha-block .g-recaptcha{display:flex!important;align-items:center;justify-content:center;width:100%;max-width:100%;margin:0 auto!important}
.jsc-account-page--register .jsc-register-google-captcha .g-recaptcha>div,.jsc-account-page--register .jsc-register-security .captcha-block .g-recaptcha>div{margin:0 auto!important}
.jsc-account-page--register .jsc-register-security img[data-sec-img="1"]{display:block;margin:6px auto 10px;max-width:100%}
.jsc-account-page--register .jsc-account-card .form-footer{margin:11px 0 0;display:block}
.jsc-account-page--register .jsc-account-card .form-footer .btn-full{width:100%;min-height:48px;border-radius:8px;font-size:15px;font-weight:850;background:linear-gradient(180deg,#007258,#004e3c);border:1px solid #006347;color:#fff;box-shadow:0 5px 12px rgba(0,78,60,.14)}
.jsc-account-page--register .jsc-account-card__or{margin-top:14px}
.jsc-account-page--register .jsc-account-card__alternate{font-size:13px;margin-top:9px}
.jsc-account-page--register .jsc-account-benefits{display:grid;gap:13px;max-width:350px;width:100%;justify-self:end}
.jsc-account-page--register .jsc-account-benefit{display:grid;grid-template-columns:55px 1fr;gap:12px;align-items:center;background:rgba(255,255,255,.94);border-radius:13px;border:1px solid rgba(221,230,225,.94);padding:15px 16px;box-shadow:0 12px 26px rgba(15,50,38,.10)}
.jsc-account-page--register .jsc-account-benefit__icon{width:52px;height:52px;background:#e8f4ee;color:#00644a;border-color:#cde2d9}
.jsc-account-page--register .jsc-account-benefit__icon svg{width:26px;height:26px}
.jsc-account-page--register .jsc-account-benefit h3{font-size:18px;margin:0 0 4px}
.jsc-account-page--register .jsc-account-benefit p{font-size:13px;line-height:1.42}
@media(max-width:1220px){
 .jsc-account-page--register .jsc-account-stage__inner{max-width:1060px;grid-template-columns:minmax(220px,1fr) minmax(430px,555px);gap:30px}
 .jsc-account-page--register .jsc-account-benefits{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:none;justify-self:stretch}
 .jsc-account-page--register .jsc-account-benefit{grid-template-columns:43px 1fr;gap:9px}
 .jsc-account-page--register .jsc-account-benefit__icon{width:41px;height:41px}
}
@media(max-width:820px){
 .jsc-account-page--register .jsc-account-stage__inner{grid-template-columns:1fr;max-width:660px;gap:24px;padding:28px 16px 36px}
 .jsc-account-page--register .jsc-account-copy{max-width:100%;text-align:center}
 .jsc-account-page--register .jsc-account-copy__eyebrow{justify-content:center}
 .jsc-account-page--register .jsc-account-copy__rule{margin-left:auto;margin-right:auto}
 .jsc-account-page--register .jsc-account-copy__intro{margin-left:auto;margin-right:auto}
 .jsc-account-page--register .jsc-register-values{max-width:440px;margin:18px auto}
 .jsc-account-page--register .jsc-account-quote{max-width:520px;margin:14px auto 0;text-align:left}
 .jsc-account-page--register .jsc-account-card{width:100%;max-width:555px;margin:0 auto}
 .jsc-account-page--register .jsc-account-benefits{grid-template-columns:1fr;max-width:555px;justify-self:center}
}
@media(max-width:560px){
 .jsc-account-page--register .jsc-account-copy h1{font-size:36px}
 .jsc-account-page--register .jsc-account-card{padding:23px 16px;border-radius:14px}
 .jsc-account-page--register .jsc-register-password-row{grid-template-columns:1fr;gap:0}
 .jsc-account-page--register .jsc-register-security{padding:12px}
 .jsc-account-page--register .jsc-register-value{font-size:10px}
 .jsc-account-page--register .jsc-register-value span{width:39px;height:39px}
}
@media(max-width:375px){
 .jsc-account-page--register .jsc-register-google-captcha .g-recaptcha>div{transform:scale(.83);transform-origin:center top;margin-bottom:-13px!important}
}


/* RC1.3.5.31A — Register ONLY: footer adjacency and centered CAPTCHA.
   Keep the existing shared footer, HESK question and reCAPTCHA processing intact. */
body.jsc-account-page--register .jsc-unified-footer--public,
body.jsc-account-page--register .jsc-unified-footer--public.jsc-unified-footer--heritage-accent {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

/* The HESK default CAPTCHA applies max-width:300px. The registration security
   section is a full-width part of the form, not a 300px subcard. */
body.jsc-account-page--register .jsc-account-card .jsc-register-security {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
  text-align: center !important;
}
body.jsc-account-page--register .jsc-account-card .jsc-register-security .captcha-block {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
  text-align: center !important;
}
body.jsc-account-page--register .jsc-account-card .jsc-register-security .captcha-block .form-group {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  display: block !important;
  text-align: center !important;
}
body.jsc-account-page--register .jsc-account-card .jsc-register-security .captcha-block h3,
body.jsc-account-page--register .jsc-account-card .jsc-register-security .captcha-block label,
body.jsc-account-page--register .jsc-account-card .jsc-register-security .captcha-block label.required {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}
body.jsc-account-page--register .jsc-account-card .jsc-register-security input.form-control {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
  text-align: center !important;
}
/* Do not stretch Google's own 304px challenge or hide it. Centre the widget
   inside the full-width registration form, whether inside CAPTCHA or below it. */
body.jsc-account-page--register .jsc-account-card .jsc-register-security .g-recaptcha,
body.jsc-account-page--register .jsc-account-card .jsc-register-google-captcha {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}
body.jsc-account-page--register .jsc-account-card .jsc-register-security .g-recaptcha > div,
body.jsc-account-page--register .jsc-account-card .jsc-register-google-captcha .g-recaptcha > div {
  margin-inline: auto !important;
}
