body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0px 0px 100px 0px;
  background-color: #f4f4f4;
}

#passengerFormsContainer {
  max-width: 800px;
  margin: 30px auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.passengerForm {
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.passengerForm:last-child {
  border-bottom: none;
}

h3 {
  color: #333;
  padding: 0;
  margin: 0 0 20px 0;
}

label {
  display: inline-block;
  margin: 10px 0 5px;
  color: #666;
  width: 20%; /* Ajuste a largura conforme necessário */
  min-width: 70px;
  text-align: right;
  margin-right: 10px; /* Espaço entre label e input */
}

input[type="text"] {
  width: calc(80% - 20px); /* Subtrai a margem direita do label e o padding */
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

button, input[type="submit"] {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
  display: inline-block; /* Para centralizar os botões */
  margin: 0 5px; /* Espaço entre os botões */
}

.buttons-container {
  text-align: center; /* Centraliza os botões */
  padding-top: 20px;
}

#addPassengerBtn {
  background-color: #28a745;
  color: white;
}

#addPassengerBtn:hover {
  background-color: #218838;
}

#submitAll {
  background-color: #df7638;
  color: white;
}

#submitAll:hover {
  background-color: #e37d43;
}

.dataNascimento {
  width: 20% !important;
  display: inline !important;
}

@media (max-width: 767px) {
  label {
      display: block; /* Labels acima dos inputs em telas pequenas */
      width: auto;
      text-align: left;
      margin-right: 0;
  }

  input[type="text"] {
      width: 100%;
  }

  .buttons-container {
      display: block;
  }

  button, input[type="submit"] {
      width: 100%;
      margin-bottom: 10px;
  }
}

.div-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.div-logo img {
  width: 15%;
}

#tripsListContainer {
  margin-top: 50px;
}

.tripSelection {
  width: 80%;
  text-align: left;
  padding-left: 10px;
}