.mosharka-login {
    --login-blue: var(--brand-primary, #176ccb);
    --login-green: var(--brand-green, #39b54a);
    --login-ink: #172740;
    min-height: 100vh;
    margin: 0;
    background: #f2f6fa;
    color: var(--login-ink);
}

.login-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 48px 32px 28px;
    background: radial-gradient(ellipse at 88% 0, rgba(23, 108, 203, .06), transparent 55%), radial-gradient(ellipse at 0 100%, rgba(57, 181, 74, .04), transparent 45%);
}

.login-shell {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    width: min(1080px, 100%);
    min-height: 650px;
    margin: 0 auto;
    border: 1px solid #e1e9f1;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(26, 55, 89, .09), 0 2px 6px rgba(26, 55, 89, .03);
    overflow: hidden;
}

.login-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 42px;
    min-width: 0;
    padding: 44px 40px 36px;
    overflow: hidden;
    background: linear-gradient(145deg, #132b46 0%, #102137 65%, #173748 100%);
    color: #fff;
    isolation: isolate;
}

.login-brand::after {
    position: absolute;
    inset: auto -180px -280px auto;
    z-index: -1;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(255, 255, 255, .022), 0 0 0 140px rgba(255, 255, 255, .017);
    content: "";
    pointer-events: none;
}

.login-brand-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.login-logo { width: 164px; height: auto; max-width: 55%; object-fit: contain; }
.login-brand-label { padding: 6px 11px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 6px; color: #d1e0ee; font-size: 11px; white-space: nowrap; }
.login-eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 19px; color: #b6cbe2; font-size: 12px; font-weight: 600; }
.login-eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: var(--login-green); box-shadow: 0 0 0 4px rgba(57, 181, 74, .1); }
.login-brand h2 { margin: 0 0 21px; color: #fff; font-size: clamp(27px, 2.7vw, 37px); font-weight: 800; line-height: 1.65; }
.login-brand h2 > span { color: #68d879; }
.login-brand-message > p { max-width: 350px; margin: 0; color: #b4c6da; font-size: 13px; line-height: 2.1; }
.login-platform-links { display: flex; flex-wrap: wrap; gap: 9px 15px; margin-top: 24px; }
.login-platform-links > span { display: flex; align-items: center; gap: 6px; color: #dde8f3; font-size: 11px; }
.login-platform-links i { color: #69a9ee; font-size: 17px; }
.login-brand-note { display: flex; align-items: center; gap: 13px; padding-top: 25px; border-top: 1px solid rgba(255, 255, 255, .1); }
.login-note-icon { display: grid; flex: 0 0 40px; height: 40px; place-items: center; border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; color: #70ca85; font-size: 21px; background: rgba(255, 255, 255, .035); }
.login-brand-note strong { display: block; color: #e8f0f7; font-size: 12px; font-weight: 600; }
.login-brand-note p { margin: 5px 0 0; color: #9fb5ca; font-size: 11px; line-height: 1.8; }

.login-form-panel { min-width: 0; padding: 47px 58px 35px; }
.login-lock-icon { display: grid; width: 46px; height: 46px; margin-bottom: 23px; place-items: center; border: 1px solid #dceafa; border-radius: 13px; color: var(--login-blue); background: #eff6fd; font-size: 24px; }
.login-form-kicker { display: block; margin-bottom: 8px; color: #74859a; font-size: 11px; font-weight: 600; }
.login-form-heading h1 { margin: 0 0 10px; color: var(--login-ink); font-size: 28px; font-weight: 800; }
.login-form-heading p { margin: 0 0 29px; color: #7a899a; font-size: 12px; line-height: 1.9; }
.login-field { margin-bottom: 21px; }
.login-field > label { display: block; margin-bottom: 9px; color: #34445b; font-size: 12px; font-weight: 700; }
.login-input-wrap { position: relative; }
.login-input-wrap .form-control { min-height: 51px; padding: 12px 42px 12px 15px; border: 1px solid #dce4ed; border-radius: 9px; background-color: #fcfdff; color: #263b54; font-size: 13px; line-height: 1.6; box-shadow: 0 2px 3px rgba(23, 39, 64, .015); transition: border-color .15s, box-shadow .15s; }
.login-input-wrap .form-control::placeholder { color: #98a6b7; opacity: 1; font-size: 12px; }
.login-input-wrap .form-control:focus { border-color: var(--login-blue); background-color: #fff; box-shadow: 0 0 0 3px rgba(23, 108, 203, .1); }
.login-input-icon { position: absolute; top: 17px; right: 15px; z-index: 1; color: #8fa2b7; font-size: 18px; pointer-events: none; }
.login-password-wrap .form-control { padding-left: 47px; }
.login-password-toggle { position: absolute; top: 7px; left: 6px; display: grid; width: 37px; height: 37px; padding: 0; place-items: center; border: 0; border-radius: 7px; background: transparent; color: #7c91a9; font-size: 20px; cursor: pointer; }
.login-password-toggle[hidden] { display: none; }
.login-password-toggle:hover { background: #edf4fc; color: var(--login-blue); }
.login-password-toggle:focus-visible, .login-forgot:focus-visible { outline: 2px solid var(--login-blue); outline-offset: 3px; }
.login-input-wrap .form-control.is-invalid { border-color: #cc4a4a; background-image: none; }
.login-error { margin-top: 7px; color: #bb3535; font-size: 11px; line-height: 1.8; }
.login-form-options { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 5px 0 27px; }
.login-remember { display: flex; align-items: center; gap: 8px; margin: 0; color: #60728a; font-size: 12px; cursor: pointer; }
.login-remember input { width: 16px; height: 16px; margin: 0; accent-color: var(--login-blue); cursor: pointer; }
.login-remember input:focus-visible { outline: 2px solid var(--login-blue); outline-offset: 3px; }
.login-forgot { color: var(--login-blue); font-size: 11px; font-weight: 700; text-decoration: none; }
.login-forgot:hover { color: #105194; text-decoration: underline; }
.login-submit { display: flex; align-items: center; justify-content: center; gap: 11px; width: 100%; min-height: 51px; padding: 11px 20px; border: 1px solid transparent; border-radius: 9px; color: #fff; background: var(--login-blue); box-shadow: 0 5px 12px rgba(23, 108, 203, .16); font-size: 13px; font-weight: 700; cursor: pointer; transition: background-color .15s, box-shadow .15s; }
.login-submit i { font-size: 22px; }
.login-submit:hover { background: #125eaf; box-shadow: 0 6px 15px rgba(23, 108, 203, .23); }
.login-submit:focus-visible { outline: 3px solid rgba(23, 108, 203, .35); outline-offset: 4px; }
.login-access-note { display: flex; align-items: flex-start; justify-content: center; gap: 7px; margin: 25px 0 0; padding-top: 23px; border-top: 1px solid #edf0f4; color: #8190a2; font-size: 10px; line-height: 1.9; }
.login-access-note i { flex-shrink: 0; margin-top: 2px; color: var(--login-green); font-size: 15px; }
.login-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; width: min(1080px, 100%); margin: 23px auto 0; padding: 0 5px; color: #8493a5; font-size: 10px; line-height: 1.8; }
.login-footer bdi { margin-inline-start: 3px; color: #62778f; }

@media (max-width: 991.98px) {
    .login-page { padding: 28px 22px 24px; }
    .login-shell { grid-template-columns: .95fr 1.05fr; min-height: 620px; }
    .login-brand { padding: 35px 27px 29px; }
    .login-form-panel { padding: 37px 33px 29px; }
    .login-logo { width: 145px; }
    .login-brand-label { font-size: 10px; }
    .login-brand h2 { font-size: 29px; }
}

@media (max-width: 767.98px) {
    .login-page { justify-content: flex-start; padding: 22px 16px; }
    .login-shell { grid-template-columns: 1fr; min-height: auto; max-width: 480px; border-radius: 20px; }
    .login-brand { padding: 24px 27px 26px; gap: 24px; }
    .login-logo { width: 145px; }
    .login-brand-message .login-eyebrow, .login-platform-links, .login-brand-note { display: none; }
    .login-brand h2 { margin: 0; font-size: 25px; line-height: 1.65; }
    .login-brand h2 br { display: none; }
    .login-brand h2 > span::before { content: " "; }
    .login-brand-message > p { max-width: none; margin: 10px 0 0; font-size: 11px; }
    .login-form-panel { padding: 28px 27px; }
    .login-lock-icon { display: none; }
    .login-form-heading h1 { font-size: 25px; }
    .login-form-heading p { margin-bottom: 25px; }
    .login-footer { max-width: 480px; justify-content: center; gap: 3px 12px; text-align: center; }
}

@media (max-width: 359.98px) {
    .login-page { padding: 12px 10px; }
    .login-brand, .login-form-panel { padding-right: 20px; padding-left: 20px; }
    .login-brand h2 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .login-input-wrap .form-control, .login-submit { transition: none; }
}
