* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  height: 100vh;
  background: linear-gradient(135deg, #56ab2f, #a8e063); /* 🌿 Zöld átmenet */
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-container {
  background: white;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.login-container:hover {
  transform: scale(1.02);
}

.login-form h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: grey;
}

.input-group {
  margin-bottom: 1rem;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: grey;
}

.input-group input {
  width: 100%;
  padding: 0.75rem;
  border: solid;
  border-width: 1px;
  border-radius: 12px;
  font-size: 1rem;
  background: #ffffff;
  color: grey;
  backdrop-filter: blur(5px);
  outline: none;
  transition: background 0.3s;
}

.input-group input::placeholder {
  color: #ddf2dd;
}

.input-group input:focus {
  background: #ffffff;
}

.password-wrapper {
  position: relative;
}

.password-wrapper input {
  padding-right: 2.5rem;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.2rem;
  color: white;
}

/* ✅ Zöld gomb */
button {
  width: 100%;
  padding: 0.75rem;
  background-color: #56ab2f;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
  background-color: #48872B;
  transform: scale(1.02);
}

.signup-link {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #3CAE63;
}

.signup-link a {
  color: #50C878;
  text-decoration: underline;
}

#error-message {
  color: #ffcccc;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 1rem;
}
.toggle-password svg {
  width: 24px;
  height: 24px;
  stroke: #888888; /* Szürke vonalszín */
}