/* ==========================================================
   LOGIN ADMINISTRATIVO — LENDÁRIOS FC
   ========================================================== */

.login-container {
    min-height: calc(100vh - 70px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 20px;

    background:
        radial-gradient(
            circle at top right,
            rgba(254, 102, 1, .10),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #f5f6fb 0%,
            #ffffff 55%,
            #eef0fa 100%
        );
}


/* ==========================================================
   CARD
   ========================================================== */

.login-card {
    position: relative;

    width: 100%;
    max-width: 400px;

    background: #ffffff;

    border-radius: 18px;

    padding: 42px 38px 36px;

    border: 1px solid rgba(0, 2, 125, .08);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, .12),
        0 4px 12px rgba(0, 2, 125, .06);

    text-align: center;

    overflow: hidden;
}


/* Faixa superior */

.login-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: linear-gradient(
        90deg,
        #00027D 0%,
        #00027D 65%,
        #FE6601 65%,
        #FE6601 100%
    );
}


/* ==========================================================
   TÍTULO
   ========================================================== */

.login-card h1 {
    margin: 0 0 8px;

    color: #00027D;

    font-family: "Bebas Neue", sans-serif;

    font-size: 2.3rem;

    letter-spacing: 1px;

    line-height: 1;
}


.login-card p {
    margin: 0 0 30px;

    color: #777;

    font-size: .85rem;

    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* ==========================================================
   FORMULÁRIO
   ========================================================== */

.login-card form {
    width: 100%;
}


/* ==========================================================
   CAMPOS
   ========================================================== */

.login-card input {
    width: 100%;

    box-sizing: border-box;

    padding: 14px 16px;

    margin-bottom: 15px;

    border: 1px solid #d9dce7;

    border-radius: 9px;

    background: #fafbfe;

    color: #222;

    font-family: "Montserrat", sans-serif;

    font-size: 14px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


.login-card input::placeholder {
    color: #999;
}


.login-card input:focus {
    border-color: #00027D;

    background: #fff;

    box-shadow:
        0 0 0 3px rgba(0, 2, 125, .10);
}


/* ==========================================================
   BOTÃO ENTRAR
   ========================================================== */

.login-card button {
    width: 100%;

    padding: 14px 18px;

    margin-top: 5px;

    border: none;

    border-radius: 9px;

    background: #00027D;

    color: #fff;

    font-family: "Montserrat", sans-serif;

    font-size: 15px;

    font-weight: 700;

    letter-spacing: .3px;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


.login-card button:hover {
    background: #00006b;

    transform: translateY(-1px);

    box-shadow:
        0 8px 18px rgba(0, 2, 125, .25);
}


.login-card button:active {
    transform: translateY(0);

    box-shadow: none;
}


/* ==========================================================
   MENSAGEM DE ERRO
   ========================================================== */

.erro {
    margin-bottom: 20px;

    padding: 11px 14px;

    border-radius: 8px;

    border-left: 4px solid #b00020;

    background: #fff0f1;

    color: #9b001c;

    font-size: 13px;

    font-weight: 600;

    text-align: left;
}


/* ==========================================================
   BOTÃO FECHAR
   ========================================================== */

.btn-fechar-login {
    position: absolute;

    top: 15px;
    left: 15px;

    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    text-decoration: none;

    color: #777;

    background: transparent;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}


.btn-fechar-login:hover {
    background: #f1f2f7;

    color: #00027D;

    transform: scale(1.05);
}


/* ==========================================================
   VOLTAR AO SITE
   ========================================================== */

.btn-voltar-site {
    display: block;

    margin-top: 20px;

    color: #777;

    text-decoration: none;

    font-size: 13px;

    font-weight: 500;

    transition:
        color .2s ease;
}


.btn-voltar-site:hover {
    color: #00027D;

    text-decoration: none;
}


/* ==========================================================
   EFEITO DE FOCO ACESSÍVEL
   ========================================================== */

.login-card button:focus-visible,
.login-card input:focus-visible,
.btn-voltar-site:focus-visible,
.btn-fechar-login:focus-visible {
    outline: 3px solid rgba(254, 102, 1, .35);

    outline-offset: 2px;
}


/* ==========================================================
   CELULAR
   ========================================================== */

@media (max-width: 600px) {

    .login-container {
        min-height: calc(100vh - 60px);

        padding: 25px 16px;
    }


    .login-card {
        max-width: 100%;

        padding: 38px 24px 30px;

        border-radius: 15px;
    }


    .login-card h1 {
        font-size: 2rem;
    }


    .login-card p {
        margin-bottom: 25px;

        font-size: .78rem;
    }


    .login-card input {
        padding: 13px 14px;
    }


    .login-card button {
        padding: 13px 16px;
    }

}