/* Telas de autenticação ligadas ao login, exceto o card principal e o cadastro. */
body .auth-flow {
    font-family: "Inter SESMT", "Open Sans", sans-serif;
    padding: 7rem 0 3.5rem !important;
}
body .auth-flow > .container { position: relative; z-index: 1; }
body .auth-flow::before,
body .auth-flow::after {
    background: transparent;
    border: 1px solid rgba(200, 155, 99, 0.13);
}
body .auth-flow .card {
    position: relative;
    overflow: hidden;
    padding: clamp(1.6rem, 4vw, 2.6rem) !important;
    border: 1px solid #dce4e1 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 30px 70px rgba(3, 13, 17, 0.3) !important;
    color: #193039 !important;
    text-align: left !important;
}
body .auth-flow #cardLogin.card { text-align: left !important; }
body .auth-flow .card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #c89b63, #e2bc86 46%, #397f83);
}
body .auth-flow .card .text-center,
body .auth-flow .card.text-center { text-align: center !important; }
body .auth-flow .card h1,
body .auth-flow .card h3,
body .auth-flow #cardLogin.card h3 {
    margin: 0 0 0.55rem;
    color: #193039 !important;
    font-size: clamp(1.4rem, 2.6vw, 1.65rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
}
body .auth-flow .card p,
body .auth-flow #cardLogin.card p {
    color: #637980 !important;
    line-height: 1.55;
}
body .auth-flow .card p strong { color: #193039; }
body .auth-flow .card .bg-primary,
body .auth-flow .card .bg-success,
body .auth-flow__symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px !important;
    background: #e5f3f2 !important;
    color: #397f83 !important;
    margin-bottom: 1.1rem;
}
body .auth-flow__symbol { font-size: 1.7rem; }
body .auth-flow__symbol--warning {
    background: #faf0e2 !important;
    color: #946735 !important;
}
body .auth-flow .input-group-text {
    border-color: #dce4e1;
    background: #f6f7f4;
    color: #397f83;
}
body .auth-flow .form-control {
    min-height: 48px;
    border-color: #dce4e1;
    border-radius: 6px;
    background: #fff;
    color: #193039;
    font-family: inherit;
    font-size: 0.94rem;
}
body .auth-flow .form-control:focus,
body .auth-flow #cardLogin.card .form-control:focus {
    border-color: #397f83;
    box-shadow: 0 0 0 4px rgba(57, 127, 131, 0.16);
}
body .auth-flow .form-check-input:checked {
    border-color: #397f83;
    background: #397f83;
}
body .auth-flow .btn-en,
body .auth-flow #cardLogin.card .btn-en {
    min-height: 48px;
    border: 1px solid #10242d !important;
    border-radius: 6px;
    background: #10242d !important;
    color: #fff !important;
    font-family: inherit;
    font-weight: 700;
}
body .auth-flow .btn-en:hover,
body .auth-flow #cardLogin.card .btn-en:hover {
    border-color: #18333c !important;
    background: #18333c !important;
    color: #fff !important;
}
body .auth-flow #cardLogin.card a.btn-en,
body .auth-flow #cardLogin.card a.btn-en:hover { color: #fff !important; }
body .auth-flow .card a:not(.btn),
body .auth-flow #cardLogin.card a:not(.btn) {
    color: #236c70 !important;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
body .auth-flow .card a:not(.btn):hover,
body .auth-flow #cardLogin.card a:not(.btn):hover { color: #193039 !important; }
body .auth-flow .card ul { color: #637980; line-height: 1.55; }
body .auth-flow .card li + li { margin-top: 0.65rem; }
body .auth-flow .card .alert-danger { border-radius: 6px; }
body .auth-flow .card .text-danger { color: #b64547 !important; }
body .auth-flow .card .text-muted { color: #637980 !important; }
body .auth-flow .card.text-center > p { margin-bottom: 1.6rem; }

/* Ícone, campo e botão de senha formam uma peça só, sem cantos na junção. */
body .auth-flow .input-group > .input-group-text:first-child {
    border-radius: 6px 0 0 6px;
}
body .auth-flow .input-group > .form-control {
    border-radius: 0;
}
body .auth-flow .input-group > .form-control:last-child {
    border-radius: 0 6px 6px 0;
}
body .auth-flow .input-group > .input-group-text:last-child {
    border-radius: 0 6px 6px 0;
}

@media (max-width: 575.98px) {
    body .auth-flow { padding: 7rem 0 2.5rem !important; }
}
