/* Background Gradient + Animated Shapes */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(120deg, #1a2a6c, #b21f1f, #fdbb2d);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Floating abstract shapes */
.background-shapes::before,
.background-shapes::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  filter: blur(80px);
}

.background-shapes::before {
  width: 400px;
  height: 400px;
  background: #ff6ec4;
  top: 10%;
  left: -100px;
}

.background-shapes::after {
  width: 300px;
  height: 300px;
  background: #7873f5;
  bottom: -50px;
  right: -100px;
}

/* Container with glassmorphism */
.container {
  z-index: 2;
  padding: 40px;
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-align: center;
  animation: fadeIn 1s ease;
}

/* Headings */
h2 {
  margin-bottom: 25px;
  font-size: 28px;
  color: #ffffff;
}

/* Form Fields */
form {
  display: flex;
  flex-direction: column;
  text-align: left;
}

label {
  margin-bottom: 6px;
  font-size: 14px;
  color: #e0e0e0;
}

input[type="text"],
input[type="password"] {
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: none;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(6px);
  outline: none;
}

input::placeholder {
  color: #ddd;
}

.checkbox-row {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 14px;
}

.checkbox-row input {
  margin-right: 8px;
}

/* Button */
button {
  padding: 14px;
  background-color: #ff6ec4;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s ease;
}

button:hover {
  background-color: #e057aa;
}

/* Links */
p {
  margin-top: 15px;
  font-size: 14px;
}

a {
  color: #00ffe7;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Animations */
@keyframes gradientShift {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}
