@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
}

/* Login Box */
.login-container {
  width: 100%;
  max-width: 420px;
  padding: 20px;
}

.login-box {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  backdrop-filter: blur(15px);
  padding: 40px 35px;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
  color: white;
}

.brand {
  font-size: 2.2rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.brand span {
  color: #00ff99;
}

/* Toggle Buttons */
.toggle-buttons {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}

.toggle-buttons button {
  flex: 1;
  padding: 10px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  transition: 0.3s;
  border-bottom: 3px solid transparent;
}

.toggle-buttons button.active {
  border-bottom: 3px solid #00ff99;
  color: #00ff99;
}

/* Forms */
.form {
  display: none;
  animation: fade 0.4s ease;
}

.form.active {
  display: block;
}

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

/* Input Fields */
.input-group {
  text-align: left;
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  color: #ccc;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.input-group input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.input-group input:focus {
  border: 2px solid #00ff99;
}

/* Login Button */
.login-btn {
  width: 100%;
  padding: 12px;
  background: #00ff99;
  border: none;
  border-radius: 8px;
  color: #000;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.login-btn:hover {
  background: #00e58a;
  transform: translateY(-2px);
}

/* Footer Links */
.options {
  margin-top: 20px;
  color: #ccc;
  font-size: 0.9rem;
}

.options a {
  color: #00ff99;
  text-decoration: none;
}

.options a:hover {
  text-decoration: underline;
}
