/* Login centralizado, sem alterar as demais páginas de autenticação. */
.auth-login-card .auth-login-options { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; }
.auth-login-card .auth-form .auth-login-remember { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: #a6bdb3; font-size: 12px; font-weight: 400; cursor: pointer; }
.auth-login-card .auth-login-remember input { appearance: auto; position: static; width: 16px; height: 16px; min-height: 0; margin: 0; opacity: 1; accent-color: #0d9862; }
.auth-login-card .auth-login-options a { color: #28cf8d; text-decoration: none; font-weight: 400; }
.auth-login-card .auth-login-options a:hover { text-decoration: underline; }
.auth-login-card .auth-login-options :is(a, input):focus-visible { outline: 2px solid #0d9862; outline-offset: 3px; }
.auth-body.auth-v3.auth-nexus.auth-login-card {
    background: #0e141d;
    font-family: Montserrat, Inter, sans-serif;
}
.auth-body.auth-v3.auth-nexus.auth-particle-scene {
    background: #0e141d;
    isolation: isolate;
}
.auth-particle-scene .auth-background-particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.auth-background-particles::before,
.auth-background-particles::after {
    content: "";
    position: absolute;
    inset: -140px;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(40,207,141,.3) 0 2px, transparent 3px),
        radial-gradient(circle at 67% 32%, rgba(40,207,141,.22) 0 1px, transparent 1.8px),
        radial-gradient(circle at 36% 74%, rgba(40,207,141,.24) 0 1.6px, transparent 2.6px),
        radial-gradient(circle at 84% 86%, rgba(40,207,141,.18) 0 1px, transparent 1.8px);
    background-size: 337px 293px, 461px 379px, 389px 443px, 523px 347px;
    animation: auth-particle-drift 16s ease-in-out infinite alternate;
}
.auth-background-particles::after {
    opacity: .55;
    background-position: 110px 70px;
    animation-duration: 22s;
    animation-direction: alternate-reverse;
}
.auth-particle-scene .auth-nexus-layout { position: relative; z-index: 1; }
.auth-nexus.auth-trial.auth-particle-scene .auth-nexus-story {
    background: transparent;
}
.auth-nexus.auth-trial.auth-particle-scene .auth-nexus-story::before {
    display: none;
}
.auth-nexus.auth-trial.auth-particle-scene .auth-nexus-access {
    background: #151c27;
    border-left: 1px solid #253142;
    box-shadow: -10px 0 24px rgba(3, 8, 15, .08);
}
@keyframes auth-particle-drift {
    from { transform: translate3d(-45px, 85px, 0); }
    to { transform: translate3d(55px, -95px, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .auth-background-particles::before,
    .auth-background-particles::after { animation: none; }
}
.auth-login-card .auth-nexus-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    min-height: 100dvh;
    padding: 32px 16px;
    box-sizing: border-box;
}
.auth-login-card .auth-nexus-access {
    display: block;
    width: min(480px, 100%);
    margin: auto;
    padding: 36px 40px 30px;
    box-sizing: border-box;
    border: 1px solid #253142;
    border-radius: 24px;
    background: #151c27;
    box-shadow: 0 20px 60px rgba(0,0,0,.26);
}
.auth-login-card .auth-nexus-access-inner { width: 100%; gap: 24px; }
.auth-particle-scene .auth-nexus-access {
    background: #080b16;
}
/* login-card-surface-test:start
   Teste reversível: remova este bloco para recuperar o fundo #080b16 acima. */
.auth-login-card.auth-particle-scene .auth-nexus-access {
    background: #151c27;
}
/* login-card-surface-test:end */
.auth-login-card .auth-nexus-mobile-brand {
    display: flex;
    justify-self: center;
    gap: 12px;
    margin: 0 0 4px;
    font-size: 28px;
}
.auth-login-card .auth-nexus-mobile-brand img { width: 72px; height: 72px; }
.auth-login-card .auth-nexus-mobile-brand strong { font-size: 30px; font-weight: 600; line-height: 1; color: #eaf8f1; }
.auth-login-card .auth-nexus-mobile-brand em { color: #28cf8d; }
.auth-login-card .brand-nexus-divider {
    width: 1px;
    height: 50px;
    flex: 0 0 1px;
    background: linear-gradient(180deg, transparent, rgba(40,207,141,.9) 18%, rgba(40,207,141,.9) 82%, transparent);
}
.auth-login-card .brand-nexus-copy { display: grid; gap: 7px; }
.auth-login-card .brand-nexus-copy small {
    color: rgba(232,245,241,.53);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .13em;
    text-transform: uppercase;
    white-space: nowrap;
}
.auth-login-card .auth-nexus-login-header {
    transform: none;
    gap: 8px;
    padding-bottom: 20px;
    border-bottom: 2px solid #0d9862;
}
.auth-login-card .auth-nexus-login-header h1 { color: #11aa6f; font-size: 26px; font-weight: 600; }
.auth-login-card .auth-nexus-login-header p { color: #82978e; font-size: 13px; line-height: 1.5; }
.auth-login-card .auth-nexus-form { gap: 18px; }
.auth-nexus.auth-login-card .auth-nexus-form .auth-input-shell { border-radius: 10px; }
.auth-body.auth-v3.auth-nexus:is(.auth-login-card, .auth-trial) .auth-nexus-form .auth-input-shell {
    border-color: #253142;
    background: #0e141d;
}
.auth-body.auth-v3.auth-nexus:is(.auth-login-card, .auth-trial) .auth-nexus-form .auth-input-shell input:-webkit-autofill {
    box-shadow: 0 0 0 100px #0e141d inset;
    -webkit-text-fill-color: #f0f5f3;
}
.auth-login-card .auth-turnstile { display: flex; justify-content: center; max-width: 100%; }
.auth-login-card .auth-primary-button {
    height: 44px;
    border-radius: 10px;
    background: var(--button-green, #0d9862);
    color: #fff;
    font-weight: 500;
    box-shadow: none;
}
.auth-login-card .auth-primary-button:not(:disabled):hover { background: var(--button-green-hover, #11aa6f); box-shadow: none; transform: none; filter: none; }
.auth-login-card .auth-primary-button:disabled { background: #0b5e40; color: #a6bdb3; box-shadow: none; }
.auth-login-card .auth-nexus-help { margin: 0; color: #8b949e; font-size: 12px; text-align: center; line-height: 1.6; }
@media (max-width: 420px) {
    .auth-login-card .auth-nexus-layout { padding: 20px 10px; }
    .auth-login-card .auth-nexus-access { padding: 28px 16px; border-radius: 20px; }
    .auth-login-card .auth-nexus-mobile-brand { font-size: 25px; }
    .auth-login-card .auth-nexus-mobile-brand img { width: 60px; height: 60px; }
    .auth-login-card .auth-nexus-mobile-brand strong { font-size: 28px; }
    .auth-login-card .brand-nexus-copy small { font-size: 10px; }
}

@media (max-width: 900px) {
    .auth-nexus.auth-trial.auth-particle-scene .auth-nexus-access {
        border-left: 0;
        box-shadow: none;
    }
}
