@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Manrope:wght@400;500;600;700&display=swap");


/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


.main-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 20px;
}

/* Contenedor principal */
.form-container {
  background-color: #fff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 500px;
}

/* Título y subtítulo */
.form-container h1 {
  font-family: "DM Serif Display", serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #22221c;
  text-align: center;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  letter-spacing: 1.2px;
}

.form-container .subtitulo {
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
  color: #22221c;
  margin-bottom: 2rem;
  text-align: center;
}

.form-container h2 {
  font-family: "Manrope", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin: 30px 0;
}

/* Estilos de campos */
form label {
  font-family: "Manrope", sans-serif;
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #22221c;
}

form input[type="email"],
form input[type="tel"],
form select {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 1rem;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}

form input:focus,
form select:focus {
  border-color: #007bff;
  outline: none;
}

/* Teléfono con código de país */
.telefono-input {
  display: flex;
  gap: 0.5rem;
}

.telefono-input select {
  flex: 1.2;
}

.telefono-input input[type="tel"] {
  flex: 2;
}

/* Botón */
form button {
  font-family: "Manrope", sans-serif;
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 0.75rem;
  width: 100%;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #0056b3;
}

/* reCAPTCHA centrado */
.g-recaptcha {
  margin: 1rem auto 2rem;
  display: flex;
  justify-content: center;
}

/* Botón de volver */
.boton-volver {
  display: inline-block;
  background-color: #4178b0;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.boton-volver:hover {
  background-color: #0056b3;
}

/* Etiquetas */
label {
  display: block;
  margin: 12px 0 6px;
  font-weight: 600;
}

/* Inputs y selects */
input[type="text"],
input[type="number"],
select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  transition: border-color 0.3s;
  background-color: #fafafa;
}

input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
  border-color: #4178b0;
  outline: none;
  background-color: #fff;
}

/* Botón */
button[type="submit"] {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #4178b0;
  color: white;
  border: none;
  border-radius: 6px;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 25px;
  transition: background-color 0.3s;
}

button[type="submit"]:hover {
  background-color: #3b6f8c;
}

.botones-compra {
  display: flex;
  gap: 16px;
  margin-top: 25px;
  flex-wrap: wrap; /* para que en pantallas pequeñas se acomoden verticalmente */
}

.resumen{
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  letter-spacing: .7px;
}

.btn-pago{
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  color: #fff;
  background: #f57d26;
  text-align: center;
  justify-content: space-between;
  margin-top: 5px;
  padding: 8px 10px;
  border-radius: 8px;
  letter-spacing: 1px;
  cursor: pointer;
  flex: 1 1 auto;
  transition: background 0.3s ease;
}

.btn-pago:hover {
  background: #22221c;
}


@media (max-width: 900px) {
  .pasajero-card {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 600px) {

  .form-container h1{
    letter-spacing: .1px;
    font-size: 1.5rem;
  }

  .form-container .subtitulo{
    font-size: .8rem;
  }

  .form-container .confirmacionh1{
    font-size: 2.5rem;
    letter-spacing: .7px;
  }

  .form-container .confirmacionh2{
    font-size: 1.3rem;
    text-align: center;
  }

  .form-container .boton-volver {
    display: block;
    margin: 20px auto 0 auto;
    text-align: center;
  }

  .pasajero-card {
    flex: 1 1 100%;
  }
}
