/* ==========================================================
   MHDS — LOGIN
   ========================================================== */


/* ==========================================================
   CONTAINER
   ========================================================== */

.login-form {
    display: flex;

    justify-content: center;

    width: 100%;

    padding: 34px 0 60px;
}


/* ==========================================================
   CARD PRINCIPAL
   ========================================================== */

.login-form .card {
    position: relative;

    width: min(100%, 540px);

    overflow: hidden;

    border: 1px solid #dce5ed;
    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 22px 55px
        rgba(16, 47, 77, .10);
}


/* detalhe superior */

.login-form .card::before {
    content: "";

    position: absolute;

    top: 0;
    right: 0;
    left: 0;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            #0e497e,
            #69c7f2,
            #ffc400
        );
}


/* ==========================================================
   CORPO
   ========================================================== */

.login-form .card-body {
    padding:
        34px
        38px
        30px !important;
}


/* ==========================================================
   CABEÇALHO
   ========================================================== */

.login-form .card-body > .mb-4 {
    margin-bottom: 26px !important;
}

.login-form .card-body > .mb-4::before {
    content: "Área do cliente";

    display: inline-block;

    margin-bottom: 8px;

    color: #0e497e;

    font-size: 8px;
    font-weight: 850;

    letter-spacing: .10em;
    text-transform: uppercase;
}

.login-form .h3 {
    margin: 0 0 7px;

    color: #173a59;

    font-size: 28px;
    font-weight: 850;

    line-height: 1.15;
}

.login-form .text-muted {
    color: #82909d !important;

    font-size: 10px;
    line-height: 1.6;
}


/* ==========================================================
   LABELS
   ========================================================== */

.login-form .form-control-label {
    margin-bottom: 7px;

    color: #173a59;

    font-size: 9px;
    font-weight: 850;
}


/* ==========================================================
   CAMPOS
   ========================================================== */

.login-form .input-group {
    overflow: hidden;

    border: 1px solid #d7e1e9;
    border-radius: 11px;

    background: #ffffff;

    transition:
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.login-form .input-group:focus-within {
    border-color: #0e497e;

    box-shadow:
        0 0 0 3px
        rgba(14, 73, 126, .08);
}

.login-form .input-group-text {
    min-width: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 0;

    background: #f5f8fb;

    color: #0e497e;
}

.login-form .form-control {
    min-height: 46px;

    border: 0;

    background: #ffffff;

    color: #173a59;

    font-size: 10px;

    box-shadow: none;
}

.login-form .form-control:focus {
    box-shadow: none;
}


/* ==========================================================
   REVELAR SENHA
   ========================================================== */

.login-form .btn-reveal-pw {
    min-width: 46px;

    border: 0;

    background: #f5f8fb;

    color: #68798a;
}

.login-form .btn-reveal-pw:hover,
.login-form .btn-reveal-pw:focus {
    background: #edf3f7;

    color: #0e497e;
}


/* ==========================================================
   ESQUECI A SENHA
   ========================================================== */

.login-form a.small.text-muted {
    color: #0e497e !important;

    font-size: 8px;
    font-weight: 800;

    text-decoration: none;
}

.login-form a.small.text-muted:hover {
    text-decoration: underline;
}


/* ==========================================================
   BOTÃO LOGIN
   ========================================================== */

#login {
    min-height: 46px;

    padding: 0 22px;

    border: 0;
    border-radius: 11px;

    background: #0e497e;

    color: #ffffff;

    font-size: 10px;
    font-weight: 850;

    box-shadow:
        0 10px 24px
        rgba(14, 73, 126, .16);

    transition:
        background-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

#login:hover,
#login:focus {
    background: #082f53;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 14px 30px
        rgba(14, 73, 126, .22);
}


/* ==========================================================
   LEMBRAR-ME
   ========================================================== */

.login-form .text-right label {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin: 10px 0 0;

    color: #68798a;

    font-size: 8px;
    font-weight: 760;
}

.login-form .form-check-input {
    position: static;

    margin: 0;
}


/* ==========================================================
   FOOTER
   ========================================================== */

.login-form .card-footer {
    padding:
        16px
        38px !important;

    border-top: 1px solid #e8eef3;

    background: #f8fafc;
}

.login-form .card-footer small {
    color: #82909d;

    font-size: 8px;
}

.login-form .card-footer a {
    margin-left: 5px;

    color: #0e497e;

    font-size: 8px;
    font-weight: 850;

    text-decoration: none;
}

.login-form .card-footer a:hover {
    text-decoration: underline;
}


/* ==========================================================
   MENSAGENS / FLASH
   ========================================================== */

.login-form .alert {
    border-radius: 12px;

    font-size: 9px;
    line-height: 1.55;
}


/* ==========================================================
   CAPTCHA
   ========================================================== */

.login-form .captcha-container,
.login-form .recaptcha-container {
    margin: 18px 0;
}


/* ==========================================================
   LINKED ACCOUNTS
   ========================================================== */

.providerLinkingFeedback {
    max-width: 540px;

    margin: 20px auto 0;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 650px) {

    .login-form {
        padding:
            24px
            14px
            46px;
    }

    .login-form .card-body {
        padding:
            30px
            22px
            26px !important;
    }

    .login-form .card-footer {
        padding:
            15px
            22px !important;
    }

}