/* Shared styling for Pivot auth & status pages (login, signup password flows,
   MFA, error). Page-specific rules stay in a small inline <style> on each page. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  background: #080b0f;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: drift 12s ease-in-out infinite alternate;
  pointer-events: none;
}
.orb-1 { width: 520px; height: 520px; background: radial-gradient(circle, #44ccec, #0d2e6e); top: -120px; right: -80px; animation-delay: 0s; }
.orb-2 { width: 380px; height: 380px; background: radial-gradient(circle, #1a7fd4, #0d2e6e); bottom: -60px; left: -100px; animation-delay: -4s; }
.orb-3 { width: 260px; height: 260px; background: radial-gradient(circle, #a8e8f8, #1a4a8a); top: 40%; left: 40%; animation-delay: -8s; }

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 20px) scale(1.05); }
}

.card {
  position: relative;
  z-index: 10;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 48px 44px;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(12px);
  animation: fadeUp 0.5s cubic-bezier(0.16,1,0.3,1) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.wordmark {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #44ccec;
  font-weight: 600;
  margin-bottom: 28px;
}

h1 {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 32px;
}

.field { margin-bottom: 16px; }

label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.15s;
}
input:focus { border-color: rgba(68,204,236,0.5); }
input::placeholder { color: rgba(255,255,255,0.25); }

.error {
  background: rgba(248,113,113,0.1);
  border: 1px solid rgba(248,113,113,0.3);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #fca5a5;
  margin-bottom: 20px;
}

button {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #44ccec, #1a7fd4);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.2s, transform 0.15s;
}
button:hover { opacity: 0.9; transform: translateY(-1px); }

.footer-link {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.footer-link a { color: #44ccec; text-decoration: none; }
.footer-link a:hover { text-decoration: underline; }
