* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: linear-gradient(135deg, #ff7e5f 0%, #ec4899 45%, #7c3aed 100%);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  position: relative;
  overflow: hidden;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
body::before, body::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
}
body::before {
  width: 320px;
  height: 320px;
  background: #fbbf24;
  top: -80px;
  left: -80px;
}
body::after {
  width: 360px;
  height: 360px;
  background: #38bdf8;
  bottom: -100px;
  right: -100px;
}
.login-wrap { padding: 20px; width: 100%; max-width: 380px; position: relative; z-index: 1; }
.login-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 25px 60px rgba(124, 58, 237, 0.35);
  text-align: center;
}
.login-logo {
  font-size: 40px;
  margin-bottom: 6px;
  filter: drop-shadow(0 4px 8px rgba(236, 72, 153, 0.4));
}
.login-card h1 {
  font-size: 23px;
  margin: 0 0 6px;
  background: linear-gradient(135deg, #ec4899, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
.subtitle { color: #6b7280; font-size: 14px; margin: 0 0 26px; }
form { display: flex; flex-direction: column; gap: 16px; text-align: left; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #374151; font-weight: 600; }
input {
  padding: 11px 14px;
  border: 1.5px solid #e9d5ff;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  background: #fdfcff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus {
  border-color: #ec4899;
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.15);
}
button {
  margin-top: 6px;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #ec4899, #7c3aed);
  color: white;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: transform 0.15s, box-shadow 0.15s;
}
button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}
.error-msg {
  background: #fef2f2;
  color: #b91c1c;
  font-size: 13px;
  padding: 9px 10px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #fecaca;
}
