/* ── LOGIN PAGE ── */
.login-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  padding: 80px 16px 40px;
}

.login-container {
  width: 100%;
  max-width: 440px;
  position: relative;
}

.login-shape {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}
.shape-a {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #6366f1, transparent 70%);
  top: -80px; right: -100px;
}
.shape-b {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #ec4899, transparent 70%);
  bottom: -80px; left: -100px;
}

.login-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem 2.25rem;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
  position: relative;
  z-index: 1;
}

.login-logo {
  font-size: 2.5rem;
  display: inline-block;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── LABELS ── */
.login-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 8px;
}

/* ── INPUT WRAPPER ── */
.input-wrap {
  position: relative;
}
.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 15px;
  pointer-events: none;
  z-index: 2;
}
.login-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: #e2e8f0;
  padding: 14px 48px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.login-input::placeholder { color: #475569; }
.login-input:focus {
  background: rgba(255,255,255,0.06);
  border-color: rgba(99,102,241,0.6);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
  outline: none;
  color: #e2e8f0;
}

/* Toggle password button */
.toggle-pw {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.toggle-pw:hover { color: #94a3b8; }

/* ── FORGOT LINK ── */
.forgot-link {
  font-size: 12px;
  color: #6366f1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.forgot-link:hover { color: #a5b4fc; }

/* ── SUBMIT BUTTON ── */
.login-btn {
  border-radius: 12px;
  font-size: 1rem;
  letter-spacing: -0.2px;
  transition: all 0.25s;
}
.login-btn:hover:not(:disabled) { transform: translateY(-1px); opacity: 0.9; }
.login-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* ── ALERT ── */
.login-alert {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  color: #fca5a5;
  display: flex;
  align-items: center;
  animation: shake 0.4s ease;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  60%       { transform: translateX(6px); }
}

/* ── DIVIDER ── */
.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #475569;
  font-size: 12px;
  font-weight: 500;
}
.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.07);
}

/* ── JOIN INFO BOX ── */
.join-info-box {
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 14px;
  padding: 1rem 1.25rem;
}
.join-icon {
  width: 36px; height: 36px;
  background: rgba(99,102,241,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── EARN EMAIL LINK (shared) ── */
.earn-email {
  color: #a5b4fc;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed rgba(165,180,252,0.4);
  transition: color 0.2s;
}
.earn-email:hover { color: #6366f1; }
