body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to bottom, #f0f0f0, #dfe3e6);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  padding: 20px;
}

.form-container {
  background-color: #f9f9f9;
  padding: 30px 40px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 450px;  
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.welcome-title {
  font-size: 2rem;
  color: #333;
  margin-bottom: 10px;
}

.form-subtitle {
  color: #555;
  font-weight: normal;
  margin-bottom: 20px;
}

form div {
  width: 150%;
  margin-left: -25%;  
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.form-label {
  position: relative; /* Necessário para usar left */
  left: -5%;         /* Move a label 20% para a esquerda */
  margin-bottom: 5px;
  font-size: 1rem;
  color: #333;
  padding-left: 5%;
}


.form-input {
  width: 100%;  /* Garante que o campo de input ocupe toda a largura */
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  margin: 0 auto;  /* Centraliza o campo de input */
}

.btn-primary {
  width: 100%;  /* O botão ocupa 100% da largura */
  padding: 12px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s;
  text-align: center;
}

.btn-primary:hover {
  background-color: #0056b3;
  transform: scale(1.02);
}

.btn-primary:active {
  transform: scale(0.98);
}

@media (max-width: 600px) {
  .form-container {
    padding: 20px;
  }

  .form-label {
    font-size: 0.9rem;
  }

  .form-input {
    font-size: 0.9rem;
  }
}
