* {
    box-sizing: border-box;
}

html {
    height: 100vh;
}

body {
    margin: 0;
    height: 100vh;
    min-height: 100vh;
    background-color: #005377;
    font-family: Poppins,Helvetica,sans-serif;

    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;

    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: stretch;
}

#auth_wrapper {
    flex-basis: 99%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#auth_image {
    flex-basis: 1%;
    background-repeat: no-repeat;
    background-size: cover;
}

#auth_logo {
    margin-top: 120px;
    margin-bottom: 40px;
}
#auth_logo img {
    display: block;
    max-height: 48px;
}

#auth_card form {
    overflow-x: hidden;
}

#auth_card {
    background-color: white;
    padding: 40px;
    border-radius: 0.475rem!important;
    box-shadow: 0 .1rem 1rem .25rem rgba(0,0,0,.05)!important;
    width: 500px;
}
#auth_card #auth_card_title {
    color: #181c32;
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}
#auth_card .auth_form_row {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}
#auth_card .auth_form_row label {
    color: #181c32;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
#auth_card .auth_form_row input {
    outline: none;
    border: none;
    background-color: #eef3f7;
    border-color: #eef3f7;
    color: #5e6278;
    padding: 0.825rem 1.5rem;
    font-size: 1.15rem;
    border-radius: 0.475rem;
}
#auth_card #auth_password_remember {
    margin-left: auto;
    margin-top: 5px;
    font-size: 0.9rem;
    color: #0095e8;
    cursor: pointer;
}
#auth_card #auth_message {
    margin: 15px 0;
    min-height: 40px;
    color: red;
    text-align: center;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#auth_card #auth_submit_loader {
    width: 200%;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
#auth_card #auth_submit_loader #auth_submit {
    flex-basis: 50%;
    padding: 10px 24px;
    color: #fff;
    border: none;
    background-color: #0095e8;
    font-size: 1rem;
    border-radius: 0.475rem;
    cursor: pointer;
    outline: none;
    text-align: center;
    transition: background-color 0.3s ease;
}
#auth_card #auth_submit_loader #auth_submit:hover {
    background-color: #5db4f5;
}
#auth_card #auth_submit_loader #auth_loader {
    flex-basis: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#auth_card #auth_submit_loader #auth_loader .loader {
    margin: 0 auto;
    font-size: 6px;
}

#auth_developedby {
    margin-top: 100px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 5px;
}
#auth_developedby span {
    color: #555;
    font-size: 0.65rem;
}
#auth_developedby img {
    max-height: 32px;
}

footer {
    background-color: white;
    padding: 1rem 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
footer #footer_copyright {
    font-size: 0.85rem;
    color: #777;
}
footer #footer_copyright a {
    transition: color 0.3s ease;
    color: inherit;
    text-decoration: none;
}
footer #footer_copyright a:hover {
    color: #009ef7;
}

@media only screen and (max-width: 600px) {
    #auth_wrapper { flex-basis: 100%; }
    #auth_wrapper #auth_logo { margin-top: 60px; margin-bottom: 20px; }
    #auth_wrapper #auth_card { max-width: 90vw; }
    #auth_image { display: none; }
}
