body main {
    background: radial-gradient(circle farthest-corner at bottom, rgb(25, 23, 181) 0, rgb(30, 29, 122) 35%);
    display: flex;
    align-items: center;
}

#login_widget {
    display: flex;
    justify-content: space-between;
    width: 100rem;
    gap: 1rem;
    padding: 1rem;
}

@media screen and (max-width: 600px) {
    body main {
        align-items: flex-start;
    }

    #login_widget {
        flex-direction: column;
    }

    #login_widget:before {
        content: '';
        display: block;
        background: url(../theme/img/app/logo_cloud.svg);
        background-size: auto 4rem, 100% 100%;
        background-position: center 2rem, center;
        background-repeat: no-repeat;
        height: 8rem;
    }
}

#login_widget .dialog {
    flex: 0 1 50%;
    position: relative;
    left: 0;
    width: 100%;
}

#login_widget .dialog>section {
    display: flex;
    flex-direction: column;
}

#login_widget article>section {
    padding: 0;
}

#login_widget .dialog>section .about {
    margin-top: auto;
}

#login_widget .dialog .banner {
    max-width: 100%;
    padding: 0;
    margin-top: -1rem;
    object-fit: cover;
    min-height: 9rem;
    max-height: 18rem;
    width: 100%;
    mask-image: linear-gradient(to bottom, black 60%, transparent);
}

#login_widget:not(.error)>#error,
#login_widget.error>div:not(#error) {
    display: none;
}

#login_widget input#complete {
    position: absolute;
    top: 0;
    z-index: -1;
    color: rgba(var(--movim-font), 0.54);
    box-shadow: none;
    width: calc(100% - 3rem);
}

#login_error code {
    display: block;
    margin-top: 1rem;
    max-height: 10rem;
}
/* ---- local theme: login focus colors (keep at end of file) ---- */

/* centered gold accent, grows from the middle on focus */

/* underline drawn as two layers: gold centered on top of full-width lightskyblue */

#login_widget form input:not(.button):not(#complete) {
    caret-color: #D4AF37;
    background-image:
        linear-gradient(#D4AF37, #D4AF37),
        linear-gradient(transparent, transparent);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 0 2px, 100% 2px;
}

#login_widget form input:focus:not(.button):not(#complete) {
    box-shadow: none;
    background-image:
        linear-gradient(#D4AF37, #D4AF37),
        linear-gradient(lightskyblue, lightskyblue);
    background-size: 65% 2px, 100% 2px;
    animation: login-gold-grow .50s ease;
}

@keyframes login-gold-grow {
    from { background-size: 0 2px, 100% 2px; }
}

/* label of the focused field */
#login_widget form input:focus+label {
    color: lightskyblue;
}

/* text in an invalid field (was red); delete this rule to keep the normal text color */
#login_widget form>div>input:invalid {
    color: lightskyblue;
}

/* text selection highlight */
#login_widget input::selection {
    background: lightskyblue;
    color: #1a1a1a;
}
