* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-image:
        linear-gradient(rgba(0,0,0,.10), rgba(0,0,0,.10)),
        url("/static/img/speedbox_login.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #171717;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.login-card {
    width: 100%;
    max-width: 430px;
    background: #111111;
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(0,0,0,.42);
    overflow: hidden;
}

.login-brand {
    padding: 28px 36px 26px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-speedbox-login {
    display: block;
    width: 480px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.subtitulo {
    margin-top: 8px;
    color: #bdbdbd;
    font-size: 13px;
}

.separador {
    height: 1px;
    background: #2a2a2a;
}

form {
    background: white;
    padding: 32px 36px 30px;
}

.titulo-form h1 {
    margin: 0 0 8px;
    font-size: 27px;
}

.titulo-form p {
    margin: 0 0 28px;
    color: #777;
    font-size: 13px;
}

label {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 800;
    color: #444;
}

input {
    width: 100%;
    height: 46px;
    border: 1px solid #d9d9d9;
    border-radius: 9px;
    padding: 0 13px;
    font-size: 14px;
    margin-bottom: 18px;
    outline: none;
}

input:focus {
    border-color: #e31b23;
    box-shadow: 0 0 0 3px rgba(227,27,35,.08);
}

button {
    width: 100%;
    height: 48px;
    margin-top: 4px;
    border: 0;
    border-radius: 9px;
    background: #e31b23;
    color: white;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

button:hover {
    background: #c9161d;
}

button:disabled {
    opacity: .65;
    cursor: wait;
}

.login-error {
    min-height: 18px;
    margin: -4px 0 12px;
    color: #c91d24;
    font-size: 12px;
    font-weight: 700;
}

.rolbox-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 72px;
    padding: 15px 20px;
    background: #111111;
}

.rolbox-footer img {
    width: 220px;
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 900px) {
    body {
        background-position: center center;
    }

    .login-page {
        justify-content: center;
        padding: 24px;
    }
}

@media (max-width: 520px) {
    .login-page {
        padding: 18px;
    }

    .login-brand,
    form {
        padding-left: 25px;
        padding-right: 25px;
    }
}
