header h1 {
  font-size: 2rem;
  color: #ff3c3c;
  margin-bottom: 10px;
  text-shadow: 1px 1px 3px rgba(255, 50, 50, 0.3);
}

header p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 25px;
}

/* ---------------------- FORM ---------------------- */
form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.input-group {
  text-align: left;
}

label {
  font-weight: 600;
  color: #ff4b2b;
  display: block;
  margin-bottom: 8px;
}

input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid transparent;
  border-radius: 10px;
  font-size: 1rem;
  transition: 0.3s;
  outline: none;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 8px rgba(255, 166, 0, 0.15);
}

input:focus {
  border-color: #ff7a00;
  box-shadow: 0 0 10px rgba(255, 120, 0, 0.4);
}

/* ---------------------- TOOLTIP ---------------------- */
.tooltip {
  position: relative;
  cursor: pointer;
  color: #ff9800;
  font-size: 1rem;
}

.tooltiptext {
  visibility: hidden;
  width: 200px;
  background-color: #ffb84d;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 8px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -100px;
  opacity: 0;
  transition: opacity 0.4s;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* ---------------------- MOSTRA PASSWORD ---------------------- */
.show-password {
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-block;
  margin-top: 8px;
  transition: color 0.3s ease;
}

.show-password:hover {
  color: #ff7a00;
}

/* ---------------------- ERRORI ---------------------- */
.error {
  font-size: 1.3rem;
  color: #e63946;
  margin-top: 6px;
  animation: shake 0.3s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* ---------------------- BUTTONS ---------------------- */
.button-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}