html, body {
  height: 100%;
}
body {
  font-family: Arial, sans-serif;
  background-color: #ffefef;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.container {
  width: 100%;
  /*max-width: 500px; /* ou 500px se quiser mais largo */
  padding: 20px;
  padding-top: 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

    h2 {
      text-align: center;
      color: #d62828;
    }

    .mensagem {
      text-align: center;
      font-size: 1rem;
      color: #555;
      margin-bottom: 20px;
    }

    .form-group {
      margin-bottom: 15px;
    }

    label {
      display: inline-block;
      margin-top: 15px;
      margin-bottom: 5px;
      font-weight: bold;
      color: #333;
    }

    select, input, button {
      width: 100%;
      padding: 12px;
      border: 1px solid #ccc;
      border-radius: 8px;
      font-size: 1rem;
    }

    button {
      background-color: #2a9d8f;
      color: white;
      font-weight: bold;
      margin-top: 10px;
      border: none;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    button:hover {
      background-color: #21867a;
    }

    .valor {
      font-size: 1.3rem;
      font-weight: bold;
      color: #2a9d8f;
      text-align: center;
      margin-top: 15px;
      display: none;
    }

    #formulario {
      display: none;
    }
    form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

form input,
form select,
form button {
  width: 100%;
  /*max-width: 400px;*/
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}
