body.emanager-login {
    min-height: 100vh;
    margin: 0;
    background: #070d0e;
    color: #e4e5e6;
    font-family: Roboto, sans-serif;
}

.login-shell {
    display: grid;
    min-height: 100vh;
    grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
}

.login-showcase {
    display: flex;
    background: #12181a;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.login-showcase::after {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    right: -180px;
    bottom: -150px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(255, 255, 255, .03), 0 0 0 140px rgba(255, 255, 255, .025);
}

.showcase-inner {
    display: flex;
    flex-direction: column;
    width: min(100%, 620px);
    min-height: 100%;
    padding: 48px clamp(32px, 7vw, 96px);
    position: relative;
    z-index: 1;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: .2px;
}

.brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.showcase-copy {
    margin: auto 0;
    max-width: 500px;
}

.eyebrow {
    margin-bottom: 16px;
    color: #3da9fc;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.showcase-copy h1 {
    margin-bottom: 24px;
    color: #fff;
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 500;
    line-height: 1.08;
}

.showcase-copy p:not(.eyebrow) {
    max-width: 410px;
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-size: 16px;
    line-height: 1.7;
}

.showcase-footer {
    color: rgba(255, 255, 255, .46);
    font-size: 12px;
}

.login-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px clamp(28px, 7vw, 100px);
}

.login-card {
    width: min(100%, 430px);
}

.mobile-brand {
    display: none;
    color: #e4e5e6;
    margin-bottom: 56px;
}

.login-heading {
    margin-bottom: 32px;
}

.login-heading h2 {
    margin-bottom: 10px;
    color: #f1f3f5;
    font-size: 31px;
    font-weight: 600;
}

.login-heading p:not(.eyebrow) {
    margin: 0;
    color: #9ea4aa;
}

.login-form .form-label {
    color: #c0c8d1;
    font-size: 13px;
    font-weight: 600;
}

.login-form .form-control {
    min-height: 50px;
    border-color: #2f383d;
    border-radius: 8px;
    background-color: #12181a;
    color: #e4e5e6;
    box-shadow: none;
}

/* app.css forces every input placeholder to black at 30% opacity, which disappears on the dark panel. */
.login-form .form-control::placeholder {
    color: #8a9299 !important;
    opacity: 1 !important;
}

.login-form .form-control:focus {
    border-color: #3da9fc;
    background-color: #12181a;
    color: #e4e5e6;
    box-shadow: 0 0 0 3px rgba(61, 169, 252, .22);
}

/* Keeps browser autofill from painting the inputs white on the dark panel. */
.login-form .form-control:-webkit-autofill,
.login-form .form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: #e4e5e6;
    caret-color: #e4e5e6;
    box-shadow: 0 0 0 1000px #12181a inset;
}

.password-field {
    position: relative;
}

.password-field .form-control {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #9ea4aa;
    transform: translateY(-50%);
}

.password-toggle:hover {
    background: #1b2427;
    color: #3da9fc;
}

.small-link {
    color: #3da9fc;
    font-size: 12px;
}

.remember-row {
    margin: 18px 0 28px;
    color: #9ea4aa;
    font-size: 13px;
}

.login-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 8px;
    background: #1677b8;
    font-weight: 600;
}

.login-submit:hover,
.login-submit:focus {
    background: #125e91;
}

.login-icon {
    display: block;
    width: 84px;
    height: 84px;
    margin: 0 0 28px;
    object-fit: contain;
}

.login-glyph {
    display: block;
    margin-bottom: 24px;
    color: #3da9fc;
    font-size: 64px;
    line-height: 1;
}

.login-code {
    letter-spacing: 2px;
    text-align: center;
    font-size: 20px;
}

.login-code::placeholder {
    letter-spacing: normal;
    font-size: 15px;
}

.login-back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 50px;
    margin-top: 12px;
    border: 1px solid #2f383d;
    border-radius: 8px;
    background: transparent;
    color: #c0c8d1;
    font-weight: 600;
}

.login-back:hover,
.login-back:focus {
    border-color: #3da9fc;
    background: #12181a;
    color: #fff;
}

.login-note {
    margin-top: 28px;
    color: #7d858c;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 991.98px) {
    .login-shell {
        display: block;
    }

    .login-showcase {
        display: none;
    }

    .login-panel {
        min-height: 100vh;
        padding: 32px 24px;
    }

    .mobile-brand {
        display: inline-flex;
    }
}

@media (max-width: 575.98px) {
    .login-panel {
        padding: 28px 20px;
    }

    .mobile-brand {
        margin-bottom: 48px;
    }

    .login-heading h2 {
        font-size: 27px;
    }
}
