/* ============================================================
   FINANCEL AUTH v3.1
   Login / Signup / Esqueci / Reset
   Padrão UI iOS 26 + Vidro Premium Celestial
   ============================================================ */

/* -------------------------
   PAGE CONTAINER
-------------------------- */
.auth-page {
  position: relative;
  z-index: var(--z-page);
  max-width: 420px;
  margin: 0 auto;
  padding: 2rem 1.4rem;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* -------------------------
   LOGO + BRAND
-------------------------- */
.auth-logo {
  width: 78px;
  height: 78px;
  margin: 0 auto 1rem;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, #0f172a, #020617 55%, #000);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 28px rgba(250,204,21,0.8),
    0 10px 34px rgba(0,0,0,0.92);
  animation: logoPulse 3s ease-in-out infinite;
}

.auth-logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.auth-title {
  text-align: center;
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--gold-300);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.auth-subtitle {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-top: 0.3rem;
}

/* -------------------------
   AUTH CARD (FORM)
-------------------------- */
.auth-card {
  margin-top: 1.3rem;
  padding: 1.65rem 1.35rem;
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(248,250,252,0.06), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(250,204,21,0.14), transparent 55%),
    linear-gradient(145deg, rgba(15,23,42,0.98), rgba(15,23,42,0.92));
  border: 1px solid rgba(148,163,184,0.42);
  box-shadow: 0 22px 70px rgba(0,0,0,0.92);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  animation: fadeUp 0.55s ease both;
}

/* -------------------------
   INPUTS DO FORM
-------------------------- */
.auth-input {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid rgba(148,163,184,0.32);
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(148,163,184,0.18), transparent 55%),
    rgba(15,23,42,0.98);
  color: var(--text-main);
  transition: var(--transition-fast);
}

.auth-input::placeholder {
  color: var(--text-muted);
}

.auth-input:focus {
  border-color: var(--cyan-400);
  box-shadow: 0 0 0 1px rgba(56,189,248,0.45);
}

/* -------------------------
   BOTÕES
-------------------------- */
.auth-btn-primary {
  width: 100%;
  border-radius: var(--radius-full);
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  text-align: center;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(90deg, #fbbf24, #facc15, #f97316);
  color: #111827;
  border: 1px solid rgba(250,204,21,0.75);
  box-shadow:
    0 10px 26px rgba(0,0,0,0.9),
    0 0 18px rgba(250,204,21,0.65);
  transition: var(--transition-normal);
}

.auth-btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

/* Link abaixo */
.auth-link {
  font-size: 0.82rem;
  color: var(--cyan-400);
  text-align: center;
  margin-top: 0.6rem;
  display: block;
  transition: var(--transition-fast);
}

.auth-link:hover {
  color: var(--gold-300);
}

/* -------------------------
   DIVISOR
-------------------------- */
.auth-divider {
  margin: 0.4rem 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-soft);
  position: relative;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: rgba(148,163,184,0.25);
}

.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

/* -------------------------
   ANIMAÇÕES
-------------------------- */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes logoPulse {
  0% { transform: scale(1); box-shadow: 0 0 22px rgba(250,204,21,0.5); }
  50% { transform: scale(1.05); box-shadow: 0 0 32px rgba(250,204,21,0.85); }
  100% { transform: scale(1); box-shadow: 0 0 22px rgba(250,204,21,0.5); }
}

/* -------------------------
   RESPONSIVIDADE
-------------------------- */
@media (max-width: 420px) {
  .auth-card {
    padding: 1.4rem 1.05rem;
  }
  .auth-title { font-size: 1.15rem; }
  .auth-input { font-size: 0.88rem; }
}
