@charset "UTF-8";

body {
    padding: 16px 16px 64px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-wrap: nowrap;
    background-color: var(--one);
}

.header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}


/* Estilos gerais dos formulários */
form.login,
form.recovery,
form.register {
    max-height: calc(100% - 64px);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    flex-wrap: nowrap;
    overflow: hidden;
    border-radius: 8px;
    background-color: #fff;
    -webkit-box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.5);
}

/* Estilos do formulário de login */
.login img {
    width: auto;
    height: 64px;
    margin-bottom: 24px;
}
.login h1 { margin-bottom: 8px; }
.login h2 { margin-bottom: 40px; }

.message {
    width: 100%;
    margin: 40px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-wrap: nowrap;
    text-align: center;
}
    .message.info { color: var(--info); }
    .message.danger { color: var(--danger); }
    .message.success { color: var(--success); }

    .login .register {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row;
        flex-wrap: nowrap;
    }
        .register button { margin-left: 8px; }

/* Estilos do container do autor */
.author {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 16px;
    color: #fff;
    text-align: center;
    font-size: 16px;
}


/* Tratamento de responsividade */

/* Mídias pequenas */
@media only screen and (max-width: 400px) and (min-width: 296px) {
    body { justify-content: flex-start; }
    label {
        margin: 0px 0px 4px 0px !important;
        font-size: 12px !important;
    }
    input { margin: 0px 0px 8px 0px !important; }
    form.login,
    form.recovery,
    form.register {
        width: 100% !important;
        padding: 16px !important;
    }
    .login img {
        height: 48px !important;
        margin-bottom: 16px !important;
    }
    .login h1 { font-size: 16px !important; }
    .login h2 {
        margin-bottom: 16px !important;
        font-size: 11px !important;
    }
    .login .filled { margin-top: 8px !important; }
    .login .text { font-size: 14px !important; }
    .login .message {
        margin: 8px 0px !important;
        font-size: 14px !important;
    }
    .login .register span { font-size: 14px !important; }
    .login .register button { font-size: 14px !important; }

    .author { font-size: 12px !important; }
    .apps .wrapper { padding: 16px !important; }
}
@media only screen and (max-height: 631px) {
    body { justify-content: flex-start !important; }
}

/* Mídia com largura insuficiente */
@media only screen and (max-width: 295px) {
    .login { display: none !important; }
    .recovery { display: none !important; }
    .register { display: none !important; }
    .apps { display: none !important; }
    .author { display: none !important; }
    .loader { display: none !important; }
    .error { display: flex !important; }
}

/* Mídia com altura insuficiente */
@media only screen and (max-height: 591px) {
    .login { display: none !important; }
    .recovery { display: none !important; }
    .register { display: none !important; }
    .apps { display: none !important; }
    .author { display: none !important; }
    .loader { display: none !important; }
    .error { display: flex !important; }
}

/* Use when in debug mode */
/* *, *::before, *::after, button, i { border: 1px dashed #000 !important; } */