body {
  margin: 0;
  padding: 0;
  background-color: #121212;
  font-family: 'Segoe UI', sans-serif;
  color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-container {
  background: #1e1e1e;
  padding: 2rem 2.5rem;
  border: 1px solid #333;
  border-radius: 20px; /* More rounded for smoother glow */
  width: 100%;
  max-width: 400px;
  box-shadow:
    0 0 60px 20px rgba(0, 255, 255, 0.25), /* Wider, softer glow */
    0 0 10px rgba(0, 255, 255, 0.2);       /* Subtle inner pulse */
  animation: fadeIn 0.3s ease-in-out;
}


.login-container h2 {
  text-align: center;
  color: #00faff;
  margin-bottom: 1.5rem;
}

label {
  font-size: 0.95rem;
  color: #ccc;
  display: block;
  margin-bottom: 0.25rem;
}

input[type="email"],
input[type="password"],
input[type="text"] { /* Added input[type="text"] here */
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 5px;
  background-color: #2c2c2c;
  color: #f0f0f0;
}

input::placeholder {
  color: #888;
}

button[type="submit"] {
  width: 100%;
  background-color: #00faff;
  color: #000;
  font-weight: bold;
  padding: 0.7rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
  margin-bottom: 1.5rem; /* Added margin-bottom to create space below the button */
}

button[type="submit"]:hover {
  background-color: #00d4d4;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
}

.login-logo::before {
  content: "";
  position: absolute;
  width: 160px; /* Slightly larger for a wider glow effect */
  height: 160px; /* Slightly larger for a wider glow effect */
  border-radius: 50%;
  background: rgba(0, 255, 255, 0.4); /* Increased opacity to 0.4 */
  filter: blur(40px); /* Increased blur for a softer, wider glow */
  animation: pulseGlow 2.5s infinite ease-in-out;
  z-index: 0;
}

.login-logo img {
  max-width: 100px;
  height: auto;
  z-index: 1;
  position: relative;
  transition: transform 0.3s ease-in-out;
}

.login-logo img:hover {
  transform: scale(1.07);
}

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    opacity: 0.8; /* Increased base opacity */
  }
  50% {
    transform: scale(1.3); /* Increased scale slightly for more pronounced pulse */
    opacity: 1; /* Ensured peak opacity is 1 */
  }
  100% {
    transform: scale(1);
    opacity: 0.8; /* Increased base opacity */
  }
} /* Removed extra '}' here */

.register-link {
  margin-top: 1.5rem; /* Adjusted margin-top for better spacing */
  text-align: center;
  font-size: 0.9rem;
  color: #ccc; /* This sets the text color for the entire .register-link */
  font-family: 'Segoe UI', sans-serif;
  opacity: 0.85;
  animation: fadeIn 0.6s ease-in-out;
}

.register-link a {
  color: #ccc; /* Initially match the surrounding text color */
  text-decoration: none; /* No underline by default */
  font-weight: 500;
  transition: color 0.3s ease, opacity 0.3s ease; /* Smooth transition for color and opacity */
}

.register-link a:hover {
  color: #00faff; /* Change to highlight color on hover */
  text-decoration: underline; /* Add underline on hover for clear interaction */
  opacity: 1; /* Fully opaque on hover */
}