body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  font-family: 'Segoe UI', sans-serif;
  color: #000;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  justify-content: flex-end;
  padding: 20px 40px 0 0;
}

.logo {
  max-width: 180px;
}

.content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-box {
  max-width: 320px;
  width: 100%;
}

input[type="email"],
input[type="password"],
input[type="text"],
input[type="submit"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 26px;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f0f5ff;
  color: #000;
  box-sizing: border-box;
}

input::placeholder {
  color: #888;
}

input[type="submit"] {
  background-color: #ff4500;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

input[type="submit"]:hover {
  background-color: #ff6a33;
}

.forgot-password {
  text-align: right;
  margin-top: -10px;
  margin-bottom: 20px;
}

.forgot-password a {
  font-size: 14px;
  color: #007BFF;
  text-decoration: none;
}

.forgot-password a:hover {
  text-decoration: underline;
}

.footer {
  text-align: center;
  padding: 15px;
  font-size: 13px;
  color: #999;
}

/* Gestione campo password con icona */
.password-wrapper {
  position: relative;
}

.password-wrapper input {
  padding-right: 40px !important; /* spazio per l�icona */
}

.password-wrapper img.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px !important;
  height: 20px !important;
  object-fit: contain;
  cursor: pointer;
  pointer-events: all;
}
