.login-wrapper {
  max-width: 500px;
  margin: 20px auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.1);
  transition: box-shadow 0.5s ease;
}

.login-wrapper.success {
  box-shadow: 0 0 50px rgba(0, 255, 0, 0.6); /* Green glow on success */
}

.login-wrapper h1 {
  text-align: center;
  margin-bottom: 10px;
}

.login-wrapper input,
.login-wrapper button {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 6px;
  display: block;
  box-sizing: border-box;
}

.login-wrapper input {
  background: #1b1b1b;
  color: white;
  font-size: 16px;
}

.login-wrapper button {
  background: #ff0000;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.login-wrapper button:hover {
  background: #cc0000;
}

.register-link {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #fff;
}

.register-link a {
  font-weight: bold;
  color: #ff0000;
  text-decoration: none;
  margin-left: 4px;
  margin-right: 4px;
}

.register-link a:hover {
  text-decoration: underline;
}

#recovery-message {
  display: none;
  margin-top: 15px;
  font-size: 14px;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: rgba(0, 255, 0, 0.2);
  color: white;
}


#recovery-message {
  margin-top: 15px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  background-color: transparent;
  color: red; /* default red, va fi schimbat din JS */
}

#recovery-message.success {
  color: lime;
  background-color: transparent;
}

#recovery-message.error {
  color: red;
  background-color: transparent;
}