.simple-login-page {
    min-height: 100vh;
    margin: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    color: #1b1b1b;
    font-family: "Segoe UI", "Segoe UI Variable", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
    background:
        linear-gradient(125deg, rgba(255,255,255,.91), rgba(245,249,251,.76)),
        linear-gradient(145deg, #e8f0f2 0%, #f4f1ea 48%, #dce9ed 100%);
}

.simple-login-page::before,
.simple-login-page::after {
    content: "";
    position: fixed;
    z-index: -1;
    width: 42vw;
    height: 42vw;
    opacity: .42;
    transform: rotate(28deg);
    background: linear-gradient(135deg, rgba(0,120,212,.15), rgba(80,230,190,.08));
}

.simple-login-page::before { top: -28vw; right: -10vw; }
.simple-login-page::after { bottom: -31vw; left: -10vw; }
.simple-login-shell { width: min(440px, 100%); }

.simple-login-card {
    box-sizing: border-box;
    width: 100%;
    padding: 44px 44px 40px;
    background: #fff;
    border: 0;
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

.login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin-bottom: 26px;
}

.login-brand img {
    display: block;
    max-width: 190px;
    width: auto;
    height: 46px;
    object-fit: contain;
    object-position: center;
}

.login-brand-fallback {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: #0078d4;
    color: #fff;
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
}

.simple-login-card h1 {
    margin: 0;
    font-family: inherit;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 600;
    text-align: left;
    letter-spacing: -.01em;
}

.login-intro {
    margin: 8px 0 24px;
    color: #605e5c;
    font-size: 14px;
    line-height: 20px;
    text-align: left;
}

.simple-login-card > label {
    display: grid;
    gap: 7px;
    margin: 16px 0;
    color: #323130;
    font-size: 14px;
    font-weight: 600;
}

.simple-login-card input[type=email],
.simple-login-card input[type=password] {
    box-sizing: border-box;
    width: 100%;
    min-height: 36px;
    padding: 8px 10px;
    background: #fff;
    color: #201f1e;
    border: 1px solid #8a8886;
    border-radius: 2px;
    outline: none;
    font: 14px/20px inherit;
    transition: border-color .1s ease, box-shadow .1s ease;
}

.simple-login-card input[type=email]:hover,
.simple-login-card input[type=password]:hover { border-color: #323130; }
.simple-login-card input:focus { border-color: #0078d4; box-shadow: inset 0 0 0 1px #0078d4; }

.simple-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 20px 0 24px;
    font-size: 14px;
}

.simple-login-options .checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #323130;
    font-weight: 400;
}

.simple-login-options input[type=checkbox] { width: 16px; height: 16px; accent-color: #0078d4; }
.simple-login-options a { color: #0067b8; font-weight: 400; text-decoration: none; }
.simple-login-options a:hover { color: #004578; text-decoration: underline; }

.simple-login-card .button {
    min-height: 36px;
    padding: 8px 20px;
    border: 1px solid #0078d4;
    border-radius: 2px;
    background: #0078d4;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
    box-shadow: none;
}

.simple-login-card .button:hover { border-color: #106ebe; background: #106ebe; }
.simple-login-card .button:focus-visible { outline: 2px solid #1b1b1b; outline-offset: 2px; }
.simple-login-card .notice,
.simple-login-card .alert { border-radius: 2px; font-size: 14px; }

@media (max-width: 520px) {
    .simple-login-page { padding: 0; place-items: stretch; background: #fff; }
    .simple-login-shell { width: 100%; }
    .simple-login-card { min-height: 100vh; padding: 36px 28px; box-shadow: none; }
    .login-brand img { max-width: 170px; height: 42px; }
}

.login-footer {
    display: grid;
    gap: 4px;
    margin-top: 18px;
    color: #605e5c;
    font-family: "Segoe UI", "Segoe UI Variable", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
    font-size: 11px;
    line-height: 16px;
    text-align: center;
}

.login-footer b { color: #0067b8; font-weight: 600; }
