/* Tela de entrada independente, antes da interface da conta. */
.app[hidden], .auth-screen [hidden], .auth-screen[hidden] { display: none !important; }
.auth-screen {
  width: 100%;
  height: var(--altura, 100dvh);
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  padding: max(32px, var(--safe-top)) 24px max(32px, var(--safe-bottom));
  background: #fff;
  color: #141414;
}
.auth-wrap { width: min(100%, 360px); margin: auto; }
.auth-card { text-align: center; }
.auth-card h1 { margin: 0; font-size: 31px; font-weight: 500; line-height: 1.2; letter-spacing: -.9px; text-wrap: balance; }
.auth-description { margin: 16px auto 32px; max-width: 320px; color: #666; font-size: 16px; line-height: 1.6; text-wrap: balance; }
.auth-providers { display: grid; gap: 12px; }
.auth-input { display: block; width: 100%; height: 54px; padding: 0 20px; border: 1px solid #d8d8d8; border-radius: 999px; background: #fff; color: #141414; font-size: 17px; }
.auth-input:focus { outline: none; box-shadow: none; }
.auth-continue { width: 100%; min-height: 52px; margin-top: 22px; padding: 12px 20px; border-radius: 999px; background: #141414; color: #fff; font-size: 16px; }
.auth-continue:hover { background: #292929; }
.auth-continue:disabled { opacity: .55; cursor: wait; }
.auth-divider { display: flex; align-items: center; gap: 16px; margin: 24px 0; font-size: 15px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: #e4e4e4; }
.auth-account { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; padding: 0 6px; text-align: left; font-size: 15px; }
.auth-account span { min-width: 0; overflow-wrap: anywhere; color: #666; }
.auth-account button { flex-shrink: 0; padding: 8px 0 8px 8px; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.auth-password-field { position: relative; }
.auth-password-field input { padding-right: 82px; }
.auth-password-field button { position: absolute; right: 16px; top: 0; height: 100%; padding: 0 4px; color: #555; font-size: 13px; }
.auth-social { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 18px; border: 1px solid #d8d8d8; border-radius: 999px; background: #fff; color: #141414; text-decoration: none; font-size: 16px; line-height: 1.4; transition: background 150ms ease-out; }
.auth-social svg { flex: 0 0 20px; width: 20px; height: 20px; }
.auth-social:hover, .auth-social:active { background: #f7f7f7; }
.auth-social:focus:not(:focus-visible) { outline: none; }
.auth-card .entrar__erro { margin-top: 20px; text-align: left; }
.auth-loading { position: fixed; inset: 0; height: var(--altura, 100dvh); display: grid; place-items: center; }
.auth-progress { width: 180px; height: 7px; overflow: hidden; border-radius: 999px; background: #eee; }
.auth-progress span { display: block; width: 40%; height: 100%; border-radius: inherit; background: #171717; animation: auth-progress 1.3s ease-in-out infinite alternate; }
@keyframes auth-progress { from { transform: translateX(0); } to { transform: translateX(150%); } }
@media (prefers-reduced-motion: reduce) { .auth-progress span { animation: none; width: 65%; } }
@media (max-width: 380px) { .auth-card h1 { font-size: 28px; } }
