/*
|--------------------------------------------------------------------------
| RESET
|--------------------------------------------------------------------------
*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


:root {

    --bg-main: #212121;

    --bg-box: #171717;

    --bg-input: #2f2f2f;

    --bg-input-focus: #343434;

    --text-primary: #ececec;

    --text-secondary: #a5a5a5;

    --border-color: #424242;

    --danger-bg: rgba(220, 53, 69, 0.12);

    --danger-border: #8b3139;

    --danger-text: #ffb5bc;
}


html,
body {

    width: 100%;
    height: 100%;
}


body {

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: var(--bg-main);

    color: var(--text-primary);
}


/*
|--------------------------------------------------------------------------
| PÁGINA
|--------------------------------------------------------------------------
*/

.login-page {

    width: 100%;
    min-height: 100vh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;
}


/*
|--------------------------------------------------------------------------
| CAIXA DE LOGIN
|--------------------------------------------------------------------------
*/

.login-box {

    width: 100%;

    max-width: 410px;

    background: var(--bg-box);

    border:
        1px solid
        #303030;

    border-radius: 18px;

    padding:
        36px
        34px;

    box-shadow:
        0 18px 50px
        rgba(0, 0, 0, 0.30);
}


/*
|--------------------------------------------------------------------------
| LOGO
|--------------------------------------------------------------------------
*/

.logo-area {

    text-align: center;

    margin-bottom: 30px;
}


.logo-icon {

    width: 52px;
    height: 52px;

    margin:
        0 auto
        18px;

    border-radius: 50%;

    background: #ececec;

    color: #171717;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 24px;

    font-weight: 700;
}


.logo-area h1 {

    font-size: 25px;

    font-weight: 600;

    margin-bottom: 7px;
}


.logo-area p {

    font-size: 14px;

    color: var(--text-secondary);
}


/*
|--------------------------------------------------------------------------
| ERRO
|--------------------------------------------------------------------------
*/

.login-error {

    margin-bottom: 20px;

    padding:
        11px
        13px;

    border:
        1px solid
        var(--danger-border);

    background:
        var(--danger-bg);

    color:
        var(--danger-text);

    border-radius: 9px;

    font-size: 13px;
}


/*
|--------------------------------------------------------------------------
| FORMULÁRIO
|--------------------------------------------------------------------------
*/

.form-group {

    margin-bottom: 18px;
}


.form-group label {

    display: block;

    margin-bottom: 7px;

    font-size: 13px;

    color: #d3d3d3;
}


.form-group input {

    width: 100%;

    height: 46px;

    padding:
        0
        14px;

    border:
        1px solid
        var(--border-color);

    border-radius: 10px;

    background:
        var(--bg-input);

    color:
        var(--text-primary);

    font-size: 15px;

    outline: none;

    transition:
        border-color 0.15s ease,
        background 0.15s ease;
}


.form-group input:focus {

    border-color: #747474;

    background:
        var(--bg-input-focus);
}


.form-group input::placeholder {

    color: #858585;
}


/*
|--------------------------------------------------------------------------
| CAMPO DE SENHA
|--------------------------------------------------------------------------
*/

.password-area {

    position: relative;
}


.password-area input {

    padding-right: 48px;
}


.btn-show-password {

    position: absolute;

    right: 5px;
    top: 5px;

    width: 36px;
    height: 36px;

    border: none;

    background: transparent;

    color: #bdbdbd;

    border-radius: 8px;

    cursor: pointer;

    font-size: 16px;
}


.btn-show-password:hover {

    background: #424242;
}


/*
|--------------------------------------------------------------------------
| BOTÃO ENTRAR
|--------------------------------------------------------------------------
*/

.btn-login {

    width: 100%;

    height: 46px;

    margin-top: 5px;

    border: none;

    border-radius: 10px;

    background: #ececec;

    color: #202020;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.15s ease,
        transform 0.1s ease;
}


.btn-login:hover {

    background: #ffffff;
}


.btn-login:active {

    transform:
        scale(0.99);
}


/*
|--------------------------------------------------------------------------
| RODAPÉ
|--------------------------------------------------------------------------
*/

.login-footer {

    margin-top: 25px;

    padding-top: 20px;

    border-top:
        1px solid #292929;

    text-align: center;

    font-size: 11px;

    color: #777777;
}


/*
|--------------------------------------------------------------------------
| RESPONSIVO
|--------------------------------------------------------------------------
*/

@media (max-width: 480px) {

    .login-box {

        padding:
            30px
            22px;

        border-radius: 14px;
    }

}