/* ---------------------------------- */
/* Stili della Pagina di Login */
/* ---------------------------------- */
body.login-page {
  background: linear-gradient(135deg, #6dd5ed 0%, #2193b0 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.login-container {
  background: #2c3e50;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #34495e;
}

.login-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.login-container h2 {
  text-align: center;
  color: #ecf0f1;
  margin-bottom: 30px;
  font-size: 2.2em;
  font-weight: 500;
}

.form-login {
  margin-bottom: 25px;
}

.form-login label {
  display: block;
  margin-bottom: 10px;
  color: #bdc3c7;
  font-size: 0.95em;
  font-weight: 500;
}

.form-login input[type="text"],
.form-login input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #3e526a;
  border-radius: 8px;
  font-size: 1em;
  background-color: #34495e;
  color: #ecf0f1;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.form-login input:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
  outline: none;
}

.captcha-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.captcha-container img {
  border: 1px solid #3e526a;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
}

.captcha-container input[type="text"] {
  flex-grow: 1;
  padding: 12px 15px;
  border: 1px solid #3e526a;
  border-radius: 8px;
  font-size: 1em;
  background-color: #34495e;
  color: #ecf0f1;
  box-sizing: border-box;
}

.form-login button {
  width: 100%;
  padding: 14px;
  border: none;
  background-color: #3498db;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.form-login button:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
}

.error {
  color: #e74c3c;
  background-color: #f8d7da30;
  border: 1px solid #e74c3c50;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 20px;
  font-size: 0.9em;
}

.login-container .logo-container {
  text-align: center;
  margin-bottom: 25px;
}

.login-container .logo-container img {
  max-width: 350px;
  height: auto;
  filter: brightness(1.2);
}
