/* Registration-help modal — shared EUREKA dialog, field and loader primitives. */
.eureka-reghelp-overlay[hidden],.eureka-reghelp-overlay [hidden]{display:none!important}
.eureka-reghelp-overlay{position:fixed;inset:0;z-index:120000;background:rgba(8,16,34,.68);display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:20px;overflow-y:auto}
body.eureka-support-modal-open{overflow:hidden}
.eureka-root .eureka-reghelp-dialog.eureka-confirm-modal{
 width:min(100%,530px);height:auto;min-height:420px;max-height:calc(100dvh - 40px);overflow:auto;position:relative;
 box-sizing:border-box;background:#fff;border-radius:var(--radius,8px);padding:24px 28px;
 box-shadow:0 24px 70px rgba(0,0,0,.24);color:#16213e;transition:height .28s ease;
}
.eureka-root .eureka-reghelp-dialog .eureka-support-dialog-close{position:absolute;right:15px;top:13px;z-index:5;width:32px;height:32px;background:#fff;border:1px solid #e1e7ef;border-radius:7px;font-size:20px;line-height:1;cursor:pointer;color:#667590}
.eureka-root .eureka-reghelp-dialog .eureka-support-dialog-close:disabled{opacity:.55;cursor:default}
.eureka-root .eureka-reghelp-dialog .eureka-support-dialog-head{display:flex;align-items:center;flex-direction:column;gap:12px;margin:0 0 20px;text-align:center}
.eureka-root .eureka-reghelp-dialog .eureka-support-hero-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:12px;background:#e8f5fc;color:#1b93d2}
.eureka-root .eureka-reghelp-dialog h2{font-size:20px;font-weight:750;line-height:1.35;margin:0;color:#16213e}
.eureka-root .eureka-reghelp-dialog form{display:flex;flex-direction:column;gap:8px}
.eureka-root .eureka-reghelp-dialog form>label{font-size:13px;font-weight:700;color:#293853;margin:7px 0 0}
.eureka-root .eureka-reghelp-dialog .eureka-reghelp-required{color:#d03d4f;font-weight:700}
/* Match the teacher registration field label and informational tooltip trigger. */
.eureka-root .eureka-reghelp-dialog .eureka-reghelp-field-heading{display:flex;align-items:center;gap:12px;min-height:20px;margin:7px 0 0}
.eureka-root .eureka-reghelp-dialog .eureka-reghelp-field-heading label{font-size:13px;font-weight:700;color:#293853;margin:0;cursor:pointer}
.eureka-root .eureka-reghelp-dialog .eureka-reghelp-field-heading .eureka-help-wrap{flex:0 0 auto}
.eureka-root .eureka-reghelp-dialog .eureka-reghelp-field-heading .eureka-help-trigger{
 display:inline-flex;align-items:center;justify-content:center;flex:none;
 width:16px;height:16px;border:0!important;padding:0;background:transparent!important;color:#63779c;
}
.eureka-root .eureka-reghelp-dialog .eureka-reghelp-field-heading .eureka-help-trigger:is(:hover,[aria-expanded="true"]){color:#3e5999;background:transparent!important}

.eureka-root .eureka-reghelp-dialog form>input{
 box-sizing:border-box;width:100%;max-width:100%;height:43px;min-height:43px;padding:10px 12px;
 border:1px solid #d5dfeb;border-radius:var(--eureka-auth-radius,6px);background:#fff;color:#24344d;font-size:14px;
}
.eureka-root .eureka-reghelp-captcha{position:relative;width:100%;margin:5px 0 9px}
.eureka-root .eureka-reghelp-captcha img{display:block;box-sizing:border-box;width:100%;max-width:none;height:auto;aspect-ratio:5/1;object-fit:fill;background:#fff;border:1px solid #e2e8f0;border-radius:5px}
.eureka-root .eureka-reghelp-captcha .eureka-reghelp-reload{
 position:absolute;right:8px;top:8px;z-index:1;width:34px;min-width:34px;height:34px;min-height:34px;padding:0;
 display:grid;place-items:center;border:1px solid #dbe2ef;background:rgba(255,255,255,.96);
 border-radius:6px;color:#1b93d2;cursor:pointer;box-shadow:0 1px 4px rgba(23,37,65,.14);
 transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.eureka-root .eureka-reghelp-captcha .eureka-reghelp-reload .dashicons{
 font-family:dashicons;font-size:20px;width:20px;height:20px;line-height:1;
 transition:transform .26s ease-in-out;transform:rotate(0deg);
}
.eureka-root .eureka-reghelp-captcha .eureka-reghelp-reload:not(:disabled):hover{
 background:#e8f5fc;border-color:#94cee9;box-shadow:0 2px 7px rgba(23,37,65,.17);
}
.eureka-root .eureka-reghelp-captcha .eureka-reghelp-reload:not(:disabled):hover .dashicons{transform:rotate(180deg)}
.eureka-root .eureka-reghelp-captcha .eureka-reghelp-reload:focus-visible{outline:2px solid #1b93d2;outline-offset:2px}
.eureka-root .eureka-reghelp-captcha .eureka-reghelp-reload:disabled{cursor:wait}
/* Cover the whole challenge until the replacement image has downloaded and decoded. */
.eureka-root .eureka-reghelp-captcha .eureka-reghelp-captcha-loading{
 position:absolute;inset:0;z-index:3;display:grid;place-items:center;
 background:rgba(255,255,255,.96);border:1px solid #e2e8f0;border-radius:5px;
 box-sizing:border-box;pointer-events:auto;
}
.eureka-root .eureka-reghelp-captcha .eureka-reghelp-captcha-loading .loader{--size:1px;flex:none}
.eureka-root .eureka-reghelp-feedback{padding:10px 12px;border-radius:6px;background:#eaf7ef;color:#176c40;font-size:13px}
.eureka-root .eureka-reghelp-feedback.is-error{background:#fff0f0;color:#ae303b}
.eureka-root .eureka-reghelp-dialog .eureka-reghelp-actions{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch;
 width:100%;margin:15px 0 0;
}
.eureka-root .eureka-reghelp-dialog .eureka-reghelp-actions .btn{
 box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;
 width:100%;min-width:0;min-height:43px;padding:10px 9px;white-space:normal;
}
.eureka-root .eureka-reghelp-dialog .eureka-reghelp-required-note{font-size:12px;margin:4px 0 0;text-align:right;color:#d03d4f;font-weight:500}
.eureka-reghelp-honeypot{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;left:-10000px!important}
.eureka-root .eureka-reghelp-dialog .eureka-reghelp-busy{
 position:absolute;inset:0;z-index:4;display:grid;place-items:center;background:#fff;
 animation:eurekaRegHelpFadeIn .16s ease-out both;
}
.eureka-root .eureka-reghelp-dialog .eureka-reghelp-busy .loader{--size:1.2px;flex:none}
.eureka-root .eureka-reghelp-dialog .eureka-reghelp-success{
 box-sizing:border-box;min-height:350px;display:flex;flex-direction:column;justify-content:center;align-items:center;
 gap:17px;text-align:center;padding:18px 7px 9px;animation:eurekaRegHelpFadeIn .24s ease-out both;
}
.eureka-root .eureka-reghelp-dialog .eureka-reghelp-success-icon.confirm-modal-icon.success{
 box-sizing:border-box;display:grid;place-items:center;flex:none;margin:0;width:64px;height:64px;padding:0;
 background:#e4f6eb;color:#188250;border-radius:14px;
}
.eureka-root .eureka-reghelp-dialog .eureka-reghelp-success p{font-size:14px;line-height:1.6;color:#5f6d82;margin:0}
.eureka-root .eureka-reghelp-dialog .eureka-reghelp-success-close{box-sizing:border-box;width:100%;min-height:44px;margin-top:12px;display:inline-flex;align-items:center;justify-content:center}
@keyframes eurekaRegHelpFadeIn{from{opacity:0}to{opacity:1}}
.eureka-auth-teacher-registration .eureka-landing-links [data-eureka-reghelp-open]{cursor:pointer}
/* beta.410 — make the registration-help link visibly identifiable on desktop.
   The existing mobile link styling remains untouched. */
@media (min-width: 761px){
  .eureka-root .eureka-auth-shell.eureka-auth-teacher-registration .eureka-landing-links a[data-eureka-reghelp-open]{
    text-decoration:underline;
    text-decoration-thickness:1px;
    text-underline-offset:4px;
  }
}

.eureka-root .eureka-reghelp-mobile-link{display:none}
@media(max-width:760px){.eureka-root .eureka-reghelp-mobile-link{display:block;text-align:center;margin:14px 0 0;font-size:13px}.eureka-root .eureka-reghelp-mobile-link a{color:#1b93d2;text-decoration:underline}}
@media(max-width:600px){
 .eureka-root .eureka-reghelp-dialog.eureka-confirm-modal{padding:24px 18px;max-height:calc(100dvh - 32px);min-height:400px}
 .eureka-root .eureka-reghelp-dialog .eureka-reghelp-actions{gap:9px}
 .eureka-root .eureka-reghelp-dialog .eureka-reghelp-actions .btn{padding:9px 6px;font-size:11.5px}
 .eureka-root .eureka-reghelp-dialog .eureka-reghelp-success{min-height:325px}
}
@media(prefers-reduced-motion:reduce){.eureka-root .eureka-reghelp-captcha .eureka-reghelp-reload .dashicons{transition:none}.eureka-root .eureka-reghelp-dialog.eureka-confirm-modal{transition:none}.eureka-root .eureka-reghelp-dialog .eureka-reghelp-success,.eureka-root .eureka-reghelp-dialog .eureka-reghelp-busy{animation:none}}
