/* Lovetree Login V3 - Aesthetic Alignment (Screenshot 5) */

body.login-page {
  background-color: #fdfaf4;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-shell {
  width: 100%;
  max-width: 440px;
  z-index: 10;
}

.login-card {
  background: #fff;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.login-stack-sm {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-stack-sm h1 {
  font-size: 1.6rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.3;
}

.login-muted {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
}

.login-stack-md {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-google-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  font-weight: 800;
  color: #0f172a;
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.login-google-btn:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.login-google-mark {
  width: 24px;
  height: 24px;
  background: #e11d48;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
}

.login-divider {
  position: relative;
  text-align: center;
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 700;
  margin: 10px 0;
}

.login-divider::before,
.login-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: #f1f5f9;
}

.login-divider::before { left: 0; }
.login-divider::after { right: 0; }

.login-submit-btn {
  width: 100%;
  padding: 18px;
  background: #0f172a;
  color: #fff;
  border-radius: 16px;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.login-submit-btn:hover {
  background: #1e293b;
  transform: translateY(-2px);
}

.login-footer {
  text-align: center;
}

.login-footer p {
  color: #0f172a;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.login-badge {
  background: #f1f5f9;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
}

.login-link-btn {
  text-align: center;
  color: #94a3b8;
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}

.login-link-btn:hover {
  color: #e11d48;
}

/* Modal Styling */
.auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.auth-modal-content {
  background: #fff;
  width: 100%;
  max-width: 400px;
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.15);
  position: relative;
}

.login-field { margin-bottom: 20px; }
.login-label { display: block; font-size: 0.85rem; font-weight: 800; color: #475569; margin-bottom: 8px; }
.login-input { width: 100%; padding: 16px; border-radius: 12px; border: 1px solid #e2e8f0; font-family: inherit; font-size: 1rem; font-weight: 700; }
.login-input:focus { border-color: #b56e6e; outline: none; }
