/* Sign-in, registration and password pages: homepage look (navy mesh, cyan accent, glass panels). */
body.auth-body {
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(34, 227, 243, 0.18), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(2, 131, 222, 0.22), transparent 60%),
    linear-gradient(160deg, #000b1f 0%, #00112d 45%, #002147 100%) fixed;
  font-family: "Inter", system-ui, sans-serif;
}
body.auth-body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
body.auth-body > * { position: relative; z-index: 1; }
.auth-shell { animation: authIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes authIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.auth-brand-panel { border-radius: 28px !important; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 8, 30, 0.5); }
.auth-brand-panel::after {
  background:
    radial-gradient(circle at 85% 12%, rgba(34, 227, 243, 0.28), transparent 32%),
    linear-gradient(180deg, rgba(0, 17, 45, 0.25) 0%, rgba(0, 17, 45, 0.88) 78%) !important;
}
.auth-brand-copy span {
  display: inline-flex !important; align-items: center; gap: 8px; padding: 6px 14px !important; border-radius: 999px;
  background: rgba(34, 227, 243, 0.12) !important; border: 1px solid rgba(34, 227, 243, 0.35) !important; color: #a5f3fc !important;
  letter-spacing: 0.12em;
}
.auth-brand-copy span::before { content: "" !important; width: 7px; height: 7px; border-radius: 50%; background: #22e3f3; box-shadow: 0 0 0 4px rgba(34, 227, 243, 0.2); position: static !important; display: block; }
.auth-brand-copy h2 em {
  background: linear-gradient(100deg, #22e3f3, #7dd3fc 45%, #fcfeaa) !important; -webkit-background-clip: text !important; background-clip: text !important;
  color: transparent !important; -webkit-text-fill-color: transparent;
}
.auth-brand-stats > div {
  background: rgba(255, 255, 255, 0.08) !important; border: 1px solid rgba(255, 255, 255, 0.14) !important;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 16px !important;
}
.auth-brand-stats strong { color: #22e3f3 !important; }

.auth-card { border-radius: 28px !important; box-shadow: 0 40px 90px rgba(0, 8, 30, 0.45) !important; }
.auth-card-head h1 { color: #00112d; letter-spacing: -0.02em; }
.auth-trust-pill { background: rgba(3, 189, 249, 0.1) !important; color: #0369a1 !important; border-color: rgba(3, 189, 249, 0.25) !important; }
.auth-card .form-group input, .auth-card .form-group select, .auth-card .form-group textarea {
  background: #f4f8fc; border-color: #d8e3f0; border-radius: 12px;
}
.auth-card .form-group input:focus, .auth-card .form-group select:focus, .auth-card .form-group textarea:focus {
  background: #fff; border-color: #03bdf9 !important; box-shadow: 0 0 0 4px rgba(3, 189, 249, 0.15) !important; outline: none;
}
.btn-auth-primary { color: #00112d !important; border-radius: 12px !important; font-weight: 700 !important; box-shadow: 0 12px 28px rgba(3, 189, 249, 0.28); }
.btn-auth-primary:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.05); }
.auth-card a, .auth-footer a, .forgot-link { color: #0283de !important; }
.auth-card a:hover, .auth-footer a:hover { color: #00112d !important; }
.text-gold-500 { color: #0283de !important; }
.auth-logo img { filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35)); }

@media (prefers-reduced-motion: reduce) { .auth-shell { animation: none; } }
.auth-card { background: rgba(255, 255, 255, 0.97) !important; }
.profile-uploader-placeholder i, .profile-uploader-target i { color: #0283de !important; }

/* Phone verification after signup (PhoneVerifyCard). */
.pv-card { margin: 16px 0; padding: 18px; border-radius: 18px; background: #f4f8fc; border: 1px solid #d8e3f0; }
.pv-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pv-head strong { display: block; color: #00112d; }
.pv-head small { display: block; color: #64748b; }
.pv-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, #22e3f3, #0283de); color: #00112d; }
.pv-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pv-form input { flex: 1 1 140px; height: 46px; padding: 0 14px; border-radius: 12px; border: 1.5px solid #d8e3f0; font: 700 1.1rem/1 ui-monospace, Consolas, monospace; letter-spacing: 0.3em; text-align: center; }
.pv-form .btn-auth-primary, .pv-send { width: auto !important; padding: 0.75rem 1.2rem !important; }
.pv-link { border: 0; background: none; color: #0283de; font-weight: 700; cursor: pointer; }
.pv-link:disabled { color: #94a3b8; cursor: default; }
.pv-note { margin: 10px 0 0; font-size: 0.88rem; font-weight: 600; }
.pv-note--ok { color: #047857; }
.pv-note--err { color: #b91c1c; }
.auth-field-hint { margin: 6px 0 0; font-size: 0.8rem; color: #64748b; }
.auth-field-hint i { color: #0283de; margin-right: 4px; }
.btn-phone-verify small { font-weight: 600; opacity: 0.8; }
