/* Use the viewport while keeping forms legible and reachable on small screens. */
.lms-access{--access-header-height:90px;box-sizing:border-box;width:100%;margin-top:var(--access-header-height);min-height:calc(100dvh - var(--access-header-height));padding:clamp(20px,4vw,56px) 0;align-items:flex-start!important}
.lms-access .lms-security-help{font-size:.9rem;line-height:1.5;margin:10px 0 0}
.lms-access .login-access-container{width:100%;max-width:1200px;box-sizing:border-box;padding:0 clamp(12px,3vw,40px)}
.lms-access .login-card{width:100%;max-width:none;box-sizing:border-box;padding:clamp(20px,3vw,40px);transform:none!important;transition:none}
.lms-access .login-card:hover{box-shadow:0 8px 24px rgba(0,0,0,.1)}
.lms-access .login-card>h1{grid-column:1/-1;font-size:clamp(1.5rem,3vw,2rem);line-height:1.25;margin:0 0 28px}
.lms-access .login-card--register,.lms-access .login-card--login:not(:has(.lms-profile)){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(24px,4vw,56px);align-items:start}
.lms-access .login-card>.LoginRegisterPro{min-width:0;width:100%}
.lms-access .login-card:has(.lms-profile){display:block}
.lms-access .access-guidance{background:#eef6fa;border-left:3px solid #1976bd;padding:22px;line-height:1.55;hyphens:none;margin:0}
.lms-access .access-guidance h2{font-size:1.4rem;margin:0 0 14px}
.lms-access .access-guidance h3{font-size:1rem;font-weight:600;margin:22px 0 5px}
.lms-access .access-guidance p{margin:0 0 10px}
.lms-access .LoginRegisterPro:not(:has(.lms-profile)){max-width:600px;margin:0 auto}
.lms-access .LoginRegisterPro input:not([type=checkbox]):not([type=radio]):not([type=hidden]){max-width:100%;box-sizing:border-box}
.lms-access .LoginRegisterPro{hyphens:none;overflow-wrap:break-word}
.lms-access .LoginRegisterPro h2{font-size:1.5rem;margin-top:0}
.lms-access .LoginRegisterPro .InputfieldColumnWidth{width:100%!important;margin-left:0!important;float:none}
.lms-access .login-card--confirm>.LoginRegisterPro{margin-top:24px}
@media(max-width:760px){
 .lms-access .login-card--register,.lms-access .login-card--login{display:block!important}
 .lms-access .access-guidance{margin-bottom:24px;padding:16px}
 .lms-access .login-card>h1{margin-bottom:20px}
}

/* Status messages occupy their own row, so they cannot displace either column. */
.lms-access .login-card>.access-status{grid-column:1/-1;margin:0 0 24px;padding:11px 16px;border:1px solid #dbe5e0;border-radius:5px;background:#f4f7f5;color:#344f43;line-height:1.5}
.lms-access .login-card--login .access-guidance{background:#f2f7f4;border:1px solid #dbe5e0;border-left:4px solid #246347;border-radius:6px;padding:28px}
.lms-access .access-eyebrow{display:block;margin-bottom:12px;font-size:.8rem;font-weight:700;letter-spacing:.04em;color:#426351}
.lms-access .access-account-help{margin-top:24px;padding-top:20px;border-top:1px solid #d4e1d9}
.lms-access .access-account-help h3{margin-top:0}
.lms-access .login-card--login .LoginRegisterPro .Inputfield:not(.InputfieldSubmit){padding:0!important;border:0;background:transparent;margin:0 0 20px}
.lms-access .login-card--login .LoginRegisterPro .InputfieldHeader{display:block;margin-bottom:7px;font-weight:600}
.lms-access .login-card--login .LoginRegisterPro input:not([type=hidden]):not([type=checkbox]){width:100%;min-height:44px;border:1px solid #bdcbc3;border-radius:5px;padding:9px 12px;font:inherit}
.lms-access .login-card--login .LoginRegisterPro button[type=submit]{width:100%;min-height:44px;padding:10px 20px;color:#fff!important;border-radius:5px}
.lms-access .login-card--login .LoginRegisterPro .LoginRegisterLinks{margin-top:22px}
.lms-access .access-guidance,.lms-access .access-guidance *,.lms-access .access-status{hyphens:none!important;-webkit-hyphens:none!important;word-break:normal!important}
@media(max-width:760px){.lms-access .login-card--login .access-guidance{padding:20px}}

/* Provider logos are read from their existing course-provider records. */
.lms-access .access-brand{grid-column:1/-1;display:flex;justify-content:center;align-items:center;gap:26px;margin:0 0 28px;min-width:0}
.lms-access .access-brand h1{font-size:clamp(1.5rem,3vw,2rem);font-weight:700;line-height:1.25;margin:0;color:#333;text-align:center}
.lms-access .access-brand__logo{display:block;max-width:220px;max-height:80px;width:auto;height:auto;object-fit:contain}
.lms-access .access-brand__name{font-size:1.4rem;font-weight:700;color:#246347}
@media(max-width:640px){.lms-access .access-brand{flex-direction:column;gap:14px}.lms-access .access-brand__logo{max-width:190px;max-height:65px}}

/* Align the ChTC heading with its logo when displayed side by side. */
@media(min-width:641px){
 .lms-access .access-brand--chtc{align-items:flex-end}
}
