.centrado,
.image-container {
  text-align: center;
}

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

form {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  margin: 20px auto;
  padding: 20px;
  box-sizing: border-box;
}

.radio-toolbar,
h3 {
  margin-bottom: 20px;
}

h3 {
  color: #555;
  font-size: 18px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

button,
h4 {
  font-size: 16px;
}

.line-title-left span,
.line-title-middle span {
  background-color: #f4f4f400;
  padding: 0;
}

.radio-toolbar {
  display: flex;
  width: 100%;
}

.radio-toolbar label {
  flex: 1;
  text-align: center;
  padding: 10px;
  cursor: pointer;
  background-color: #f0f0f0;
  margin: 0;
  border-radius: 0;
}

#campo,
h4 {
  margin-bottom: 15px;
}

.radio-toolbar label:first-of-type {
  border-right: 0;
}

input[type="radio"]:checked + label {
  border-color: #007bff;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 5px;
  color: #000 !important;
}

button,
input[type="number"],
input[type="text"],
select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type="number"]:focus,
input[type="text"]:focus,
select:focus {
  outline: 0;
  border-color: #007bff;
  background-color: #fff;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.image-container {
  margin: 10px 0;
}

.flex-container {
  display: flex;
  justify-content: center;
}

.trayecto {
  margin-bottom: 10px;
  flex: 1;
  min-width: 200px;
}

.image-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

button {
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  text-transform: uppercase;
}

button:hover {
  background-color: #0056b3;
  color: white;
  font-weight: 600;
}

.imgtrayecto {
  display: block;
  margin: 48px auto;
}

.clear {
  clear: both;
}

h4 {
  color: #666;
}

.enano {
  font-size: 12px;
  color: #888;
}

@media (max-width: 768px) {
  form {
    padding: 15px;
  }

  h3 {
    font-size: 16px;
  }

  h4 {
    font-size: 14px;
  }
}
