/* SOLTECK PAY — Banking access (0.9.4.1) */

.auth-gateway {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(1.25rem + var(--safe-top)) 1.25rem calc(1.25rem + var(--safe-bottom));
  background: radial-gradient(1200px 600px at 10% -10%, rgba(0, 212, 255, 0.14), transparent),
    radial-gradient(900px 500px at 90% 0%, rgba(61, 255, 154, 0.08), transparent),
    var(--bg-deep);
}

.auth-splash,
.auth-boot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 420px;
  flex: 1;
}

.auth-splash.is-hidden,
.auth-boot.is-hidden,
.auth-main.is-hidden {
  display: none;
}

.auth-logo-float {
  width: min(42vw, 168px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(0, 212, 255, 0.35));
  animation: authLogoIn 0.85s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  .auth-logo-float {
    animation: none;
  }
}

@keyframes authLogoIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.auth-spinner {
  width: 28px;
  height: 28px;
  margin-top: 1.75rem;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--accent-electric);
  border-radius: 50%;
  animation: authSpin 0.75s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .auth-spinner {
    animation: none;
    opacity: 0.6;
  }
}

@keyframes authSpin {
  to {
    transform: rotate(360deg);
  }
}

.auth-boot-title {
  margin: 1.25rem 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.auth-boot-sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 280px;
}

.auth-main {
  width: 100%;
  max-width: 420px;
  animation: authMainIn 0.45s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  .auth-main {
    animation: none;
  }
}

@keyframes authMainIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-panel {
  background: rgba(22, 25, 34, 0.92);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
}

.auth-greeting {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.auth-subline {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.auth-account-label {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.auth-links {
  margin-top: 1rem;
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
}

.auth-error-box {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 77, 109, 0.35);
  background: rgba(255, 77, 109, 0.08);
  font-size: 0.88rem;
  text-align: center;
}

.auth-welcome-actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}
