* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: linear-gradient(to right, #023f80, #28a745); /* Azul para Verde */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.login-container {
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
}

/* Animação pulse */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.logo img {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
  animation: pulse 3s infinite ease-in-out;
}

.login-container h2 {
  margin-bottom: 24px;
  color: #04045e; /* cortítulo */
}

.form-group {
  margin-bottom: 16px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  color: #04045e; /* Azul nos labels */
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #28a745; /* Verde nas bordas */
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus {
  border-color: #dc3545; /* Vermelho ao focar */
  outline: none;
}

.login-button {
  width: 100%;
  padding: 12px;
  background-color: #28a745; /* Verde no botão */
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.login-button:hover {
  background-color: #dc3545; /* Vermelho ao passar mouse */
}

.footer-text {
  text-align: center;
  margin-top: 16px;
  color: #555;
  font-size: 14px;
}

.footer-text a {
  color: #007bff; /* Azul no link */
  text-decoration: none;
}

@media (max-width: 320px) {
  .login-container {
    padding: 10px;
    max-width: 95%;
  }

  .logo img {
    width: 70px;
  }

  .login-button {
    font-size: 14px;
    padding: 10px;
  }

  .form-group input {
    font-size: 14px;
    padding: 8px;
  }
}
