/* Shared form defaults; native Elementor document controls retain their specificity. */
:where(.mg-site) :is(.auth-form,.mg-native-form,.mg-project-form,.profile-form) input:not([type=checkbox]):not([type=radio]):not([type=hidden]),:where(.mg-site) :is(.auth-form,.mg-native-form,.mg-project-form,.profile-form) select,:where(.mg-site) :is(.auth-form,.mg-native-form,.mg-project-form,.profile-form) textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:48px;border:1px solid #ccd7e5;border-radius:12px;background:#fff;color:#14263f;padding:12px 14px;font-family:inherit;font-size:16px;line-height:1.5}
:where(.mg-site) :is(.auth-form,.mg-native-form,.mg-project-form) label{font-family:var(--display,Manrope),sans-serif;font-weight:650;color:var(--ink,#14263f)}
:where(.mg-site) :is(.auth-form,.mg-native-form,.mg-project-form) label small{display:block;font-weight:400;font-size:13px;line-height:1.6;color:#52647b;margin-top:5px}
:where(.mg-site) :is(.auth-form,.mg-native-form,.mg-project-form) :is(input,select,textarea):focus-visible{outline:3px solid #0753e833;outline-offset:2px;border-color:#0753e8}
:where(.mg-site) :is(.auth-form,.mg-native-form,.mg-project-form) [aria-invalid=true]{border-color:#b42318;outline-color:#b4231833}
:where(.mg-site) .auth-form{display:grid;gap:18px;min-width:0}.auth-form>label{margin:0}.auth-form>[data-mg-partner-fields]{display:grid;gap:18px}.auth-form [hidden]{display:none!important}
:where(.mg-site) :is(.auth-form,.elementor-form) button[type=submit],:where(.mg-site) .mg-form-cta,:where(.mg-site) .mg-project-form .e-form__buttons__wrapper__button-next{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:14px 24px;border:1px solid transparent;border-radius:100px;background:var(--e-global-color-primary,#0753e8);color:#fff;font-family:var(--display,Manrope),sans-serif;font-size:15px;font-weight:750;line-height:1.4;text-decoration:none;cursor:pointer;box-shadow:0 8px 22px #0753e81a;transition:background .18s,box-shadow .18s}
:where(.mg-site) :is(.auth-form,.elementor-form) button[type=submit]:hover,:where(.mg-site) .mg-form-cta:hover{filter:brightness(.94)}
:where(.mg-site) :is(.auth-form,.elementor-form) button:disabled{opacity:.65;cursor:wait}.mg-site :is(.auth-form,.elementor-form,.mg-success-actions) :is(button,a):focus-visible{outline:3px solid #0753e8;outline-offset:4px}
:where(.mg-site) .mg-project-form .e-form__buttons__wrapper__button-previous{background:#edf3fa;color:#14263f;border:1px solid #ccd7e5;border-radius:100px;min-height:48px}
.mg-auth-errors{padding:16px 18px;margin:0 0 16px;border:1px solid #f3b4ae;border-left:4px solid #b42318;border-radius:12px;background:#fff5f4;color:#8b1f17;font-size:14px;line-height:1.6;scroll-margin-block:110px}.mg-auth-errors[hidden]{display:none!important}.mg-auth-errors ul{padding-left:20px;margin:8px 0 0}.mg-auth-errors a{color:inherit;text-decoration:underline;text-underline-offset:3px}.mg-auth-errors:focus{outline:3px solid #0753e833;outline-offset:3px}.mg-field-error{display:block;color:#b42318;font-size:13px;font-weight:550;line-height:1.5;margin:5px 0 0;grid-column:1/-1}.auth-form .mg-field-error{margin-top:-12px}
.mg-password-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:9px}.mg-site .mg-password-tools button{background:#f1f5fc;color:#234566;border:1px solid #d4deed;border-radius:9px;padding:9px 12px;min-height:44px;font-family:inherit;font-size:12px;font-weight:650;cursor:pointer;box-shadow:none}.mg-password-tools button[hidden]{display:none!important}.mg-password-status{display:block;margin-top:7px;color:#52647b;font-size:12px;line-height:1.6;font-weight:400}.mg-request-identity{padding:24px;background:#f5f8fd;border:1px solid #dce4ef;border-radius:18px}.mg-request-identity label{display:block;margin-top:16px}.mg-site .mg-request-identity .account-type{display:flex;flex-wrap:wrap;gap:8px}.mg-site .mg-request-identity .account-type button{min-height:44px;padding:10px 14px;border:1px solid #d3deed;border-radius:100px;background:white;color:#14263f;font-weight:650}.mg-site .mg-request-identity .account-type button.selected{background:#0753e8;color:#fff;border-color:#0753e8}
.mg-form-success-page{max-width:800px!important;margin:65px auto!important;gap:24px!important}.mg-form-success-page h1{font-size:clamp(30px,4vw,46px);line-height:1.18}.mg-success-card{padding:32px;border:1px solid #dce4ef;border-radius:24px;background:#fff;box-shadow:0 18px 45px #14263f09}.mg-success-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#e8f6ef;color:#18714b;font-size:28px;margin-bottom:18px}.mg-success-card h2{font-family:var(--display,Manrope),sans-serif;font-weight:750;font-size:28px;line-height:1.3;margin:0 0 12px}.mg-success-card p{font-size:16px;line-height:1.75;color:#52647b;margin:0 0 24px}.mg-success-actions{display:flex;align-items:center;flex-wrap:wrap;gap:18px}.mg-success-actions>a:not(.mg-form-cta){color:#234566;text-decoration:underline}.mg-inline-success{margin-block:24px}
@media(max-width:600px){.mg-form-success-page{margin:28px auto!important;padding:20px!important}.mg-success-card{padding:24px 20px}.mg-success-actions{align-items:stretch;flex-direction:column}.auth-card{padding:28px 20px}.mg-request-identity{padding:20px 16px}.mg-password-tools button{flex:1 1 auto}.mg-success-card h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){.mg-form-cta,.auth-form button,.elementor-form button{transition:none}}

.auth-form>.mg-password-tools{margin-top:-9px}.auth-form>.mg-password-status{margin-top:-12px}
/* Shared identity challenge and form actions. */
.mg-verification{box-sizing:border-box;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:32px;border:1px solid #dce6f4;border-radius:24px;background:#fff;color:#14263f;font:16px/1.6 'DM Sans',sans-serif;overflow:auto;box-shadow:0 24px 90px #12243b40}
.mg-verification::backdrop{background:#10243b80;backdrop-filter:blur(6px)}
.mg-verification h2{margin:8px 0;font:700 28px/1.2 Manrope,sans-serif}
.mg-verification label{display:grid;gap:8px}.mg-verification input{box-sizing:border-box;width:100%;min-height:54px;padding:12px 16px;border:1px solid #cdd9e9;border-radius:12px;font:600 24px/1.2 Manrope,sans-serif;letter-spacing:.3em;color:#12243b;background:#fff}
.mg-verification .mg-verify-close{float:right;border:0;background:transparent;color:#12243b;font-size:28px;min-width:44px;min-height:44px;cursor:pointer}
.mg-verification .mg-resend{min-height:44px;border:0;background:transparent;color:#0751ed;font:600 15px/1.5 Manrope,sans-serif;cursor:pointer}.mg-verification .mg-resend:disabled{color:#526479;cursor:default}
.mg-verification .mg-auth-errors{padding:12px;border-radius:10px;background:#fff1f1;color:#a52626}
.mg-verification [hidden],.mg-app .app-form label[hidden]{display:none!important}
:where(body.mg-site) :is(.auth-form,.mg-verification,.app-form) button.app-btn.primary{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:13px 24px;border:1px solid transparent;border-radius:14px;background:#0751ed;color:#fff;font:700 15px/1.5 Manrope,sans-serif;cursor:pointer;transition:background .18s ease,box-shadow .18s ease,transform .18s ease}
:where(body.mg-site) :is(.auth-form,.mg-verification,.app-form) button.app-btn.primary:hover:not(:disabled){background:#0444cd;box-shadow:0 8px 24px #0751ed26;transform:translateY(-1px)}
:where(body.mg-site) :is(.auth-form,.mg-verification,.app-form) button.app-btn.primary:disabled{opacity:.6;cursor:wait;transform:none}
:where(body.mg-site) :is(input,select,textarea,button,a,summary):focus-visible{outline:2px solid #0751ed;outline-offset:3px}
@media(prefers-reduced-motion:reduce){:where(body.mg-site) :is(.auth-form,.mg-verification,.app-form) button.app-btn.primary{transition:none;transform:none!important}}

/* Explicit success CTA colors outrank theme/global link colors in every state. */
body.mg-site .mg-success-card .mg-success-actions>a.mg-form-cta,
body.mg-site .mg-success-card .mg-success-actions>a.mg-form-cta:is(:visited,:hover,:focus,:active){color:#fff!important;-webkit-text-fill-color:#fff!important;background:#0751ed;text-decoration:none}
body.mg-site .mg-success-card .mg-success-actions>a.mg-form-cta:hover{background:#0645cc}
body.mg-site .mg-success-card .mg-form-cta :is(span,svg){color:inherit!important;-webkit-text-fill-color:inherit!important}
