/* auth.css — telas de acesso (login, 2FA, convite): painel da marca + formulário */
.auth-page { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100vh; }
.auth-hero {
    position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
    padding: 3rem; color: var(--on-primary);
    background: linear-gradient(145deg, var(--primary-strong) 0%, var(--primary) 55%, color-mix(in srgb, var(--primary) 75%, #ffffff) 100%);
}
.auth-hero::before, .auth-hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.auth-hero::before { width: 520px; height: 520px; right: -180px; top: -160px; }
.auth-hero::after { width: 380px; height: 380px; left: -140px; bottom: -160px; }
.auth-brand { position: relative; display: flex; align-items: center; gap: .75rem; font-size: 1.2rem; font-weight: 650; }
.auth-brand .icon { width: 36px; height: 36px; }
.auth-brand img { max-height: 48px; max-width: 220px; object-fit: contain; }
.auth-hero h2 { position: relative; font-size: 2rem; line-height: 1.2; max-width: 440px; margin: 0 0 .75rem; font-weight: 650; }
.auth-hero p { position: relative; max-width: 420px; opacity: .88; margin: 0; }
.auth-panel { display: grid; place-items: center; padding: 2rem 16px; }

.auth { display: grid; place-items: center; min-height: 100vh; padding: 16px; }
.auth-page .auth { min-height: 0; padding: 0; width: 100%; }
.card { width: 100%; max-width: 400px; padding: 2.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-md); }
.card-wide { max-width: 480px; }
.card h1 { margin-bottom: .4rem; }
.card > .muted:first-of-type { margin-bottom: 1.5rem; }
.card button, .card a.button { width: 100%; margin-top: .5rem; }

@media (max-width: 900px) {
    .auth-page { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .auth-panel { place-items: start center; padding-top: 1.5rem; }
    .auth-hero { min-height: 0; padding: 1.25rem 16px; flex-direction: row; align-items: center; }
    .auth-hero h2, .auth-hero p, .auth-hero::before, .auth-hero::after { display: none; }
    .card { padding: 1.75rem 1.25rem; box-shadow: none; }
}

/* Página do link de assinatura */
.sign-card p { margin: 0 0 1rem; }
.sign-card a.btn { width: 100%; justify-content: center; }
.sign-decline { margin-top: 1.25rem; }
.sign-decline summary { cursor: pointer; color: var(--muted); }
