@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body{
    background: #f5f7fb;
}

/* CONTAINER */
.container{
    display: flex;
    height: 100vh;
}

/* LADO ESQUERDO */

.lado_esquerdo {
    width: 50%;
    background: linear-gradient(to bottom right, #0145f2, #4debff);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
}

.logo {
    width: 150px;
    margin-bottom: 20px;
    border-radius: 50%;
}
.lado_esquerdo h1{
    font-size: 36px;
    margin-bottom: 15px;
}

.lado_esquerdo span{
    font-weight: 800;
}

.lado_esquerdo p{
    opacity: 0.9;
    max-width: 420px;
}

/* LADO DIREITO */
.lado_direito{
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* CARD */
.card_login{
    background: white;
    padding: 40px;
    border-radius: 20px;
    width: 360px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.voltar_index{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    padding: 8px 12px;
    border: 1px solid rgba(1,69,242,0.16);
    border-radius: 8px;
    background: #ffffff;
    color: #0145f2;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(1,69,242,0.06);
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}

.voltar_index:hover{
    background: #f8fbff;
    border-color: rgba(1,69,242,0.28);
    color: #013bd1;
}

.card_login h2{
    margin-bottom: 25px;
    color: #1a1f2b;
}

/* INPUTS */
.input_group{
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.input_group label{
    font-size: 13px;
    margin-bottom: 5px;
    color: #1a1f2b;
}

.input_group input{
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #d6dbe0;
    outline: none;
    color: #0f172a;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.input_group input:focus-visible{
    border-color: rgba(1,69,242,0.65);
    box-shadow: 0 0 0 4px rgba(1,69,242,0.10);
}

.password_field{
    position: relative;
}

.password_field input{
    padding-right: 44px;
}

.password_toggle{
    position: absolute;
    top: 50%;
    right: 6px;
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        background 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease;
}

.password_toggle:hover{
    background: #eff4ff;
    color: #0145f2;
}

.password_toggle:focus-visible{
    outline: none;
    box-shadow: 0 0 0 3px rgba(1,69,242,0.16);
}

.password_toggle[aria-pressed="true"]{
    background: #e8efff;
    color: #0145f2;
}

.password_toggle svg{
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

/* OPÇÕES */
.opcoes{
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 20px;
    color: #94a3b8;
}

.opcoes a{
    text-decoration: none;
    color: #0145f2;
}

/* BOTÃO LOGIN */
.botao_login{
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;

    background: linear-gradient(to right, #0145f2, #4debff);
    color: white;
    font-weight: 500;
    cursor: pointer;

    transition: 0.2s;
}

.botao_login:hover{
    opacity: 0.9;
}

.botao_login:disabled{
    cursor: wait;
    opacity: 0.68;
}

.form_feedback{
    display: none;
    margin: -8px 0 14px;
    padding: 10px 12px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fff1f2;
    color: #b91c1c;
    font-size: 12px;
    line-height: 1.45;
}

.form_feedback.is_visible{
    display: block;
}

.form_feedback[data-tipo="sucesso"]{
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #047857;
}

.password_recovery_step{
    margin-top: 16px;
}

/* DIVISOR */
.divisor{
    text-align: center;
    margin: 20px 0;
    color: #aaa;
}

/* GOOGLE */
.botao_google{
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #d6dbe0;
    background: white;
    cursor: pointer;
    transition: 0.2s;
}

.botao_google:hover{
    background: #f9fafc;
}

.botao_google:disabled{
    cursor: not-allowed;
    color: #94a3b8;
    background: #f8fafc;
    opacity: 0.82;
}

/* CADASTRO */
.cadastro{
    margin-top: 20px;
    font-size: 13px;
    text-align: center;
}

.cadastro a{
    color: #0145f2;
    text-decoration: none;
}

.account_status_overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15,23,42,0.34);
    backdrop-filter: blur(5px);
}

.account_status_overlay.is_visible {
    display: flex;
}

.account_status_card {
    width: 100%;
    max-width: 470px;
    overflow: hidden;
    border: 1px solid rgba(190,18,60,0.16);
    border-radius: 10px;
    background: #ffffff;
    box-shadow:
        0 24px 70px rgba(15,23,42,0.22),
        0 0 0 1px rgba(225,29,72,0.03);
}

.account_status_line {
    height: 4px;
    background:
        linear-gradient(
            90deg,
            #be123c,
            #e11d48
        );
}

.account_status_body {
    padding: 28px;
}

.account_status_label {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 9px;
    border: 1px solid #fecdd3;
    border-radius: 8px;
    background: #fff1f2;
    color: #be123c;
    font-size: 12px;
    font-weight: 600;
}

.account_status_body h2 {
    margin: 0;
    color: #0f172a;
    font-size: 22px;
    font-weight: 650;
    line-height: 1.2;
}

.account_status_body p {
    margin-top: 10px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
}

.account_status_actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 24px;
}

.account_status_primary,
.account_status_secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease;
}

.account_status_primary {
    border: 1px solid rgba(1,69,242,0.18);
    background: linear-gradient(135deg,#0145f2,#2563eb);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(1,69,242,0.16);
}

.account_status_primary:hover {
    background: linear-gradient(135deg,#013bd1,#1d4ed8);
    box-shadow: 0 10px 24px rgba(1,69,242,0.20);
}

.account_status_secondary {
    border: 1px solid #dbe3f0;
    background: #ffffff;
    color: #334155;
}

.account_status_secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0145f2;
}

@media (max-width: 520px) {

    .account_status_actions {
        flex-direction: column-reverse;
    }

    .account_status_primary,
    .account_status_secondary {
        width: 100%;
    }

}

@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: vantara-page-exit 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

::view-transition-new(root) {
    animation: vantara-page-enter 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes vantara-page-exit {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateX(var(--vantara-page-exit-x, -18px)) scale(0.992);
    }
}

@keyframes vantara-page-enter {
    from {
        opacity: 0;
        transform: translateX(var(--vantara-page-enter-x, 18px)) scale(0.992);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none !important;
    }

    * {
        scroll-behavior: auto !important;
    }
}


/*
    ========================================
    VANTARA MOBILE APP DENSITY — LOGIN
    ========================================
*/

@media (max-width: 768px) {
    body {
        background: #edf1f5;
    }

    .container {
        min-height: 100vh;
        padding: 18px 14px;
    }

    .lado_esquerdo {
        display: none;
    }

    .lado_direito {
        width: 100%;
    }

    .card_login {
        width: min(100%, 390px);
        padding: 24px;
        border: 1px solid #dbe3f0;
        border-radius: 22px;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.075);
    }

    .card_login h2 {
        margin-bottom: 18px;
        font-size: 24px;
        line-height: 1.15;
    }

    .input_group {
        margin-bottom: 12px;
    }

    .input_group input {
        min-height: 42px;
        padding: 10px 12px;
        border-radius: 12px;
        font-size: 14px;
    }

    .opcoes {
        gap: 10px;
        margin-bottom: 16px;
    }

    .btn_login {
        min-height: 42px;
        border-radius: 13px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 12px;
    }

    .card_login {
        padding: 20px;
        border-radius: 20px;
    }
}

html.vantara_page_reveal body {
    animation: vantara-page-enter 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
    html.vantara_page_reveal body {
        animation: none !important;
    }
}