/* LOGIN PAGE */
body { min-height: 100dvh; position: relative; overflow-x: hidden; }

.login-bg {
  position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(160deg, #0b0916 0%, #130f2a 50%, #091520 100%);
}
.login-orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.orb-a {
  width: 500px; height: 500px; top: -150px; left: -100px;
  background: radial-gradient(circle, rgba(91,63,196,0.45) 0%, transparent 70%);
  animation: orbA 14s ease-in-out infinite;
}
.orb-b {
  width: 400px; height: 400px; bottom: -100px; right: -80px;
  background: radial-gradient(circle, rgba(15,168,178,0.3) 0%, transparent 70%);
  animation: orbA 18s ease-in-out infinite reverse;
}
@keyframes orbA { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px,-30px); } }

.login-main {
  min-height: calc(100dvh - 64px);
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-8) var(--space-4);
}
.login-card {
  width: 100%; max-width: 440px;
  padding: clamp(var(--space-8), 5vw, var(--space-12));
  background: rgba(14,11,30,0.88) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-2xl);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  display: flex; flex-direction: column; gap: var(--space-5);
}
.login-logo-mark {
  width: 60px; height: 60px; border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-2);
}
.login-title { font-family: var(--font-display); font-size: var(--text-xl); color: #fff; }
.login-sub { font-size: var(--text-sm); color: rgba(255,255,255,0.5); margin-top: calc(var(--space-2) * -1); }
.login-label { color: rgba(255,255,255,0.7) !important; }
.login-label .forgot-link { float: right; font-size: var(--text-xs); color: rgba(255,255,255,0.4); font-weight: 400; transition: color var(--transition); }
.login-label .forgot-link:hover { color: rgba(255,255,255,0.7); }
.login-input { background: rgba(255,255,255,0.07) !important; border-color: rgba(255,255,255,0.15) !important; color: #fff !important; }
.login-input::placeholder { color: rgba(255,255,255,0.25) !important; }
.login-input:focus { border-color: rgba(156,130,240,0.7) !important; box-shadow: 0 0 0 4px rgba(156,130,240,0.15) !important; }
.login-form { display: flex; flex-direction: column; gap: var(--space-4); }
.login-check { color: rgba(255,255,255,0.55) !important; }
.login-check input { accent-color: var(--color-primary); }

.password-wrap { position: relative; }
.password-toggle { position: absolute; right: var(--space-3); top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.3); transition: color var(--transition); line-height: 0; }
.password-toggle:hover { color: rgba(255,255,255,0.6); }

.bio-divider { display: flex; align-items: center; gap: var(--space-3); }
.bio-divider::before, .bio-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.12); }
.bio-divider span { font-size: var(--text-xs); color: rgba(255,255,255,0.35); }
.bio-btn { color: rgba(255,255,255,0.7) !important; border-color: rgba(255,255,255,0.2) !important; background: rgba(255,255,255,0.05) !important; }
.bio-btn:hover { background: rgba(255,255,255,0.1) !important; color: #fff !important; }
.signup-prompt { text-align: center; font-size: var(--text-sm); color: rgba(255,255,255,0.45); }
.signup-prompt a { color: rgba(255,255,255,0.75); font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.3); }
.signup-prompt a:hover { color: #fff; border-bottom-color: #fff; }
