:root { color-scheme: light; --login-primary: #1A7BFF; --login-primary-hover: #3c7ced; }
*, *::before, *::after { box-sizing: border-box; }
body.login-page { margin: 0; background: #fff; color: #313f51; font: 16px Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.login-shell { min-height: 100vh; min-height: 100svh; padding: 24px; }
.login-wrapper {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 48px);
    min-height: calc(100svh - 48px);
    padding: 100px 0;
    border-radius: 32px;
    background: linear-gradient(135deg, #1177f2 0%, #1744cb 45%, #06419e 100%);
}
.login-background { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; z-index: -1; }
.login-background video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.login-background::after { content: ''; position: absolute; inset: 0; background: rgb(0 108 255 / 60%); }
.login-content { display: flex; align-items: stretch; justify-content: space-between; gap: 24px 40px; width: 1157px; max-width: 100%; padding: 0 40px; }
.login-brand { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; max-width: 100%; }
.login-brand-image { display: flex; justify-content: flex-start; }
.login-logo { display: block; width: 220px; height: auto; max-width: 100%; }
.login-brand-copy h2 { font-size: 28px; line-height: 1.2; letter-spacing: .28px; font-weight: 700; color: #fff; opacity: .6; margin: 0 0 18px; }
.login-brand-words { display: flex; flex-direction: column; }
.login-brand-words span { color: #fff; opacity: .9; font-size: 64px; line-height: 1; letter-spacing: .64px; font-weight: 900; }
.login-form-panel { flex: 1; width: 100%; min-width: 0; max-width: 461px; padding: 56px 40px; border-radius: 24px; background: #fff; }
.login-form-heading h1 { margin: 0 0 12px; color: var(--login-primary); text-align: center; font-size: 34px; line-height: 1; font-weight: 700; }
.login-form-heading p { margin: 0 0 30px; color: #626e7a; text-align: center; font-size: 15px; line-height: 20px; }
.login-field { position: relative; }
.login-field + .login-field { margin-top: 30px; }
.login-field input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 50px;
    padding: 0 20px;
    border: 1px solid #a3aeb9;
    border-radius: 4px;
    outline: none;
    background: #fff;
    color: #22272e;
    font: 400 14px / 50px Roboto, Arial, sans-serif;
    box-shadow: 0 2px 2px rgb(0 0 0 / 5%);
}
.login-field label { position: absolute; top: 0; left: 0; width: 100%; padding: 0 20px; color: #254853; font-size: 14px; line-height: 46px; font-weight: 400; cursor: text; transition: top .2s ease, padding .2s ease, line-height .2s ease; }
.login-field input:focus + label, .login-field input:not(:placeholder-shown) + label, .login-field input:-webkit-autofill + label { top: -18px; padding: 0; line-height: 14px; }
.login-field input:focus { border-color: var(--login-primary); box-shadow: 0 0 0 2px rgb(26 123 255 / 15%); }
.login-submit { display: block; width: 100%; min-height: 46px; padding: 0 24px; margin: 24px 0 0; border: 0; border-radius: 4px; background: var(--login-primary); color: #fff; font: 500 15px / 46px Roboto, Arial, sans-serif; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.login-submit:hover { background: var(--login-primary-hover); transform: translateY(3px); }
.login-submit:active { transform: translateY(1px); }
.login-submit:focus-visible { outline: 3px solid #1A7BFF; outline-offset: 4px; }
.login-error { margin: 0 0 30px; padding: 12px 14px; border: 1px solid #f0cccc; border-radius: 4px; color: #a43434; background: #fff5f5; font-size: 13px; line-height: 1.6; }
.login-footer { position: absolute; bottom: 38px; left: 0; width: 100%; padding: 0 12px; text-align: center; color: rgb(255 255 255 / 50%); font-size: 12px; line-height: 16px; }
@media (max-width: 992px) {
    .login-wrapper { padding: 64px 0 94px; }
    .login-content { flex-direction: column; align-items: center; justify-content: center; }
    .login-brand-image { justify-content: center; }
    .login-brand-copy h2 { margin-top: 18px; text-align: center; }
    .login-brand-words { display: none; }
}
@media (max-width: 575px) {
    .login-content { padding: 0 24px; }
    .login-field input { font-size: 16px; }
    .login-app-name { display: block; }
}
@media (max-width: 359px) {
    .login-content { padding: 0 16px; }
    .login-form-panel { padding: 40px 24px; }
    .login-brand-copy h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .login-background video { display: none; }
    .login-field label, .login-submit { transition: none; }
    .login-submit:hover, .login-submit:active { transform: none; }
}
