/* Shared account forms. All rules stay inside LMS authentication cards. */
.bmlms-auth-card.bmlms-card,
.bmlms-auth-card.bmlms-login-wrap {
 box-sizing:border-box;
 width:calc(100% - 32px);
 max-width:520px;
 margin:48px auto;
 padding:0!important;
 overflow:hidden;
 background:#fff;
 border:1px solid #e2e6ef;
 border-radius:20px;
 box-shadow:0 12px 36px rgba(28,42,75,.07);
 color:#25324a;
 text-align:start;
}
.bmlms-auth-card .bmlms-login-form-wrapper,
.bmlms-auth-card #bmlms-registration-form,
.bmlms-auth-card .lost_reset_password {padding:32px!important;margin:0;}
.bmlms-auth-card .bmlms-auth-heading {padding:32px 32px 0;}
.bmlms-auth-card .bmlms-auth-title {margin:0 0 10px;font-size:28px;line-height:1.25;font-weight:700;letter-spacing:-.02em;color:#202c43;}
.bmlms-auth-card .bmlms-auth-intro {margin:0 0 28px;color:#667085;font-size:15px;line-height:1.65;}
.bmlms-auth-card .bmlms-auth-heading .bmlms-auth-intro {margin-bottom:0;}
.bmlms-auth-card .bmlms-auth-label,
.bmlms-auth-card .bmlms-form-group>label,
.bmlms-auth-card .bmlms-password-field>label {display:block;margin:0 0 8px;font-size:14px;font-weight:600;color:#344054;}
.bmlms-auth-card .bmlms-input-field {margin-bottom:20px;}
.bmlms-auth-card #bmlms-login-form>.bmlms-mb-20,
.bmlms-auth-card #bmlms-login-form>.bmlms-mb-32 {margin-bottom:20px!important;}
.bmlms-auth-card #bmlms-login-form>.bmlms-mt-20 {margin-top:24px!important;}
.bmlms-auth-card .bmlms-mb-8:empty {display:none;}
.bmlms-auth-card .bmlms-form-control {
 box-sizing:border-box;width:100%;min-height:48px;padding:12px 14px;
 border:1px solid #d8deea;border-radius:10px;background:#fff;
 color:#25324a;font-size:16px;line-height:1.5;box-shadow:none;
}
.bmlms-auth-card .bmlms-form-control::placeholder {color:#929aa8;opacity:1;}
.bmlms-auth-card .bmlms-form-control:focus {outline:2px solid var(--bmlms-color-primary,#515edc);outline-offset:2px;border-color:var(--bmlms-color-primary,#515edc);}
.bmlms-auth-card a {color:var(--bmlms-color-primary,#515edc);text-underline-offset:3px;}
.bmlms-auth-card a:hover {text-decoration:underline;}
.bmlms-auth-card :is(a,button,input):focus-visible {outline:2px solid var(--bmlms-color-primary,#515edc);outline-offset:3px;}
.bmlms-auth-card .bmlms-auth-options {display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin:4px 0 24px;font-size:14px;}
.bmlms-auth-card .bmlms-auth-options .bmlms-input-field {margin:0;}
.bmlms-auth-card .bmlms-auth-options label {font-size:14px;line-height:1.5;}
.bmlms-auth-card .bmlms-auth-options a {padding:0;font-size:14px;white-space:normal;}
.bmlms-auth-card .bmlms-input-wrapper {display:flex;align-items:center;gap:8px;}
.bmlms-auth-card input[type="checkbox"] {flex-shrink:0;accent-color:var(--bmlms-color-primary,#515edc);}
.bmlms-auth-card button[type="submit"] {display:block;width:100%;min-height:48px;margin:12px 0 0;padding:12px 20px;border:1px solid transparent;border-radius:10px;background:var(--bmlms-surface-brand-primary,var(--bmlms-color-primary,#515edc));color:#fff;font-size:16px;font-weight:600;line-height:1.5;}
.bmlms-auth-card button[type="submit"]:hover {filter:brightness(.95);}
.bmlms-auth-card button[type="submit"]:disabled {opacity:.6;cursor:wait;}
.bmlms-auth-card .bmlms-verification-link,
.bmlms-auth-card .bmlms-auth-back {margin:24px 0 0;padding-top:20px;border-top:1px solid #edf0f5;text-align:center;font-size:14px;line-height:1.6;}
.bmlms-auth-card .bmlms-verification-hint {margin:0 0 20px;color:#667085;font-size:14px;line-height:1.6;}
.bmlms-auth-card>.bmlms-verification-hint {margin:16px 32px 0;}
.bmlms-auth-card .bmlms-social-button {margin:12px 0 0;}
.bmlms-auth-card .bmlms-social-button a {display:block;padding:12px 16px;border:1px solid #d8deea;border-radius:10px;font-size:15px;text-align:center;white-space:normal;}
.bmlms-auth-card form :is(.bmlms-justify-center,.bmlms-justify-between) {flex-wrap:wrap;gap:8px;}
.bmlms-auth-card .bmlms-small {font-size:14px;line-height:1.65;}
.bmlms-auth-card .bmlms-btn-link {padding:0;font-size:inherit;white-space:normal;}
/* Registration has its own heading; hide only the containing article's theme title. */
article:has(.bmlms-auth-registration)>.entry-header {display:none;}
.bmlms-auth-card.bmlms-auth-registration {max-width:880px;}
.bmlms-auth-registration .bmlms-auth-heading {padding:40px 40px 0;}
.bmlms-auth-registration #bmlms-registration-form {padding:28px 40px 36px!important;}
.bmlms-auth-registration-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 24px;margin-bottom:28px;}
.bmlms-auth-registration-fields>* {min-width:0;margin:0;}
.bmlms-auth-registration-fields .bmlms-input-field {margin-bottom:0!important;}
.bmlms-auth-registration-fields .bmlms-form-wrap {margin:0;}
.bmlms-auth-registration-fields .password-checker {padding-inline-end:46px;}
.bmlms-auth-card.bmlms-auth-forgot,
.bmlms-auth-card.bmlms-auth-reset {max-width:560px;}
.bmlms-auth-forgot .bmlms-auth-heading,
.bmlms-auth-reset .bmlms-auth-heading {padding:36px 36px 0;}
.bmlms-auth-forgot .lost_reset_password,
.bmlms-auth-reset .lost_reset_password {padding:24px 36px 32px!important;}
.bmlms-auth-card .bmlms-auth-symbol {display:flex;align-items:center;justify-content:center;width:56px;height:56px;margin-bottom:22px;border-radius:16px;background:var(--bmlms-surface-brand-tertiary,#f0f2ff);color:var(--bmlms-text-brand,#515edc);}
.bmlms-auth-forgot .bmlms-form-row {margin-top:0;}
.bmlms-auth-forgot .bmlms-form-group>label,
.bmlms-auth-reset .bmlms-form-group>label {font-size:14px;}
.bmlms-auth-forgot .bmlms-auth-intro {font-size:15px;line-height:1.75;}
.bmlms-auth-forgot button[type="submit"],
.bmlms-auth-reset button[type="submit"] {margin-top:4px;}
@media(max-width:700px) {
 .bmlms-auth-registration-fields {grid-template-columns:minmax(0,1fr);gap:20px;margin-bottom:24px;}
 .bmlms-auth-registration .bmlms-auth-heading {padding:28px 28px 0;}
 .bmlms-auth-registration #bmlms-registration-form {padding:24px 28px 28px!important;}
}
@media(max-width:600px) {
 .bmlms-auth-card.bmlms-card,.bmlms-auth-card.bmlms-login-wrap {margin:24px auto;border-radius:16px;}
 .bmlms-auth-card .bmlms-login-form-wrapper,.bmlms-auth-card #bmlms-registration-form,.bmlms-auth-card .lost_reset_password {padding:24px!important;}
 .bmlms-auth-card .bmlms-auth-heading {padding:24px 24px 0;}
 .bmlms-auth-card>.bmlms-verification-hint {margin-inline:24px;}
 .bmlms-auth-card .bmlms-auth-title {font-size:25px;}
 .bmlms-auth-card.bmlms-auth-forgot .lost_reset_password,.bmlms-auth-card.bmlms-auth-reset .lost_reset_password {padding:24px!important;}
}
