body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: #f5f7fb;
    color: #0f172a;
}

* {
    box-sizing: border-box;
}

.container {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
}

.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;
    height: 150px;
    margin-bottom: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.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;
}

.lado_direito {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px 20px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    width: min(100%, 390px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card h2 {
    margin-bottom: 20px;
}

.verification_badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 6px 10px;
    border: 1px solid rgba(1,69,242,0.14);
    border-radius: 999px;
    background: #eff6ff;
    color: #0145f2;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.verification_card {
    border: 1px solid transparent;
}

.verification_text {
    margin: -8px 0 18px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.verification_text strong {
    color: #0f172a;
}

.verification_card_error {
    animation: verification-card-error 460ms ease both;
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input_group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input_group label {
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.input_group small {
    color: #64748b;
    font-size: 11px;
    line-height: 1.4;
}

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

input:focus-visible,
select: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: 46px;
}

.password_toggle {
    position: absolute;
    top: 50%;
    right: 6px;
    display: inline-flex;
    width: 36px;
    height: 36px;
    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;
    opacity: 1;
}

.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;
}

.legal_acceptance_group {
    display: grid;
    gap: 10px;
    margin: 2px 0 4px;
}

.legal_acceptance_option {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 11px;
    border: 1px solid rgba(219, 227, 240, 0.96);
    border-radius: 12px;
    background: #f8fbff;
    color: #334155;
    font-size: 12px;
    line-height: 1.45;
}

.legal_acceptance_option input {
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    accent-color: #0145f2;
    cursor: pointer;
}

.legal_acceptance_option a {
    color: #0145f2;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal_acceptance_option a:hover {
    color: #013bd1;
}

form > button {
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(to bottom right, #0145f2, #4debff);
    color: white;
    cursor: pointer;
}

form > button:hover {
    opacity: 0.9;
}

form > button:disabled {
    cursor: wait;
    opacity: 0.68;
}

.form_feedback {
    display: none;
    margin: 0;
    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.is_success {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #047857;
}

.resend_code_button {
    width: 100%;
    margin-top: 12px;
    padding: 11px 12px;
    border: 1px solid rgba(1,69,242,0.16);
    border-radius: 10px;
    background: #ffffff;
    color: #0145f2;
    cursor: pointer;
    font-weight: 700;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease;
}

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

.resend_code_button:disabled {
    cursor: wait;
    opacity: 0.62;
}

@keyframes verification-card-error {
    0% {
        border-color: transparent;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transform: translateX(0);
    }

    25% {
        border-color: rgba(239, 68, 68, 0.55);
        box-shadow: 0 18px 40px rgba(239, 68, 68, 0.16);
        transform: translateX(-4px);
    }

    50% {
        transform: translateX(4px);
    }

    75% {
        transform: translateX(-2px);
    }

    100% {
        border-color: rgba(239, 68, 68, 0.36);
        box-shadow: 0 14px 34px rgba(239, 68, 68, 0.12);
        transform: translateX(0);
    }
}

.login_link {
    margin-top: 15px;
    text-align: center;
}

.login_link a {
    color: #0145f2;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 780px) {
    .container {
        flex-direction: column;
    }

    .lado_esquerdo,
    .lado_direito {
        width: 100%;
    }

    .lado_esquerdo {
        padding: 34px 24px;
        text-align: center;
    }

    .logo {
        width: 92px;
        height: 92px;
    }

    .card {
        padding: 28px 24px;
    }
}

@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 — CADASTRO
    ========================================
*/

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

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

    .lado_esquerdo {
        display: none;
    }

    .lado_direito {
        width: 100%;
        padding: 0;
    }

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

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

    form {
        gap: 10px;
    }

    .input_group {
        gap: 5px;
    }

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

    form > button {
        min-height: 42px;
        padding: 10px 12px;
        border-radius: 13px;
        font-size: 14px;
    }
}

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

    .card {
        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;
    }
}
