.login-wrapper {
  max-width: 500px;
  min-width: 450px; /* adaugă linia asta */
  margin: 0 auto;
  padding: 30px; /* crește paddingul */
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.05);
  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;
}

.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;
}

#login-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.0);
  color: white;
}

.login-bottom-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  font-size: 14px;
  color: #fff;
}

.login-bottom-links a {
  font-weight: bold;
  color: #ff0000;
  text-decoration: none;
}

.login-bottom-links a:hover {
  text-decoration: underline;
}

.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(3px);
  z-index: 1000;
}

