body {
  background: linear-gradient(135deg, #1976d2, #f2f6fa);
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-container {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(25, 118, 210, 0.15);
  width: 100%;
  max-width: 400px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-container:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 24px rgba(25, 118, 210, 0.25);
}

.login-container h2 {
  color: #1976d2;
  margin-bottom: 24px;
  font-size: 1.8rem;
  font-weight: 700;
}

.login-container img.logo {
  width: 400px;
  margin-bottom: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

form {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centraliza os inputs e labels */
  gap: 16px;
}

label {
  width: 100%; /* Garante que as labels fiquem alinhadas com os inputs */
  font-weight: 600;
  color: #1976d2;
  text-align: left;
  font-size: 1rem;
}

input {
  width: 100%; /* Garante que os inputs fiquem alinhados com as labels */
  padding: 10px;
  border: 1px solid #b3b3b3;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

input:focus {
  outline: none;
  border-color: #1976d2;
  box-shadow: 0 0 6px rgba(25, 118, 210, 0.4);
}

.password-container {
  position: relative;
  width: 100%;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #1976d2;
}

button {
  background: #1976d2;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  width: 100%; /* Define o mesmo tamanho para todos os botões */
}

button:hover {
  background: #125ea2;
  box-shadow: 0 2px 8px rgba(18, 94, 162, 0.3);
}

button:disabled {
  background: #b3b3b3;
  cursor: not-allowed;
}

button[type="button"] {
  background: #e0e0e0;
  color: #1976d2;
  margin-top: 16px; /* Adiciona espaço entre os botões */
}

button[type="button"]:hover {
  background: #b3b3b3;
}

@media (max-width: 480px) {
  .login-container {
    padding: 24px;
  }

  .login-container h2 {
    font-size: 1.5rem;
  }

  input {
    font-size: 0.95rem;
  }

  button {
    font-size: 1rem;
    padding: 10px;
  }
}
