/* ===== ESTILOS BASE (Mobile First) ===== */
.position-motor {
  margin-top: -40px;
}

/* ===== DISPOSITIVOS MÓVILES TÁCTILES ===== */
@media (max-width: 576px) {
  /* Para móviles reales (detección más confiable) */
  @media (hover: none) and (pointer: coarse),
    (hover: none) and (pointer: fine) and (max-width: 576px) {
    body.font-size-normal .position-motor,
    body.font-size-large .position-motor,
    body.font-size-very-large .position-motor {
      margin-top: -210px;
    }
  }

  /* Fallback para navegadores que no soportan hover/pointer */
  body.font-size-normal .position-motor,
  body.font-size-large .position-motor,
  body.font-size-very-large .position-motor {
    margin-top: -40px;
  }
}

/* ===== TABLETS ===== */
@media (min-width: 577px) and (max-width: 768px) {
  body.font-size-very-small .position-motor,
  body.font-size-small .position-motor {
    margin-top: -40px;
  }
  @media (hover: none) and (pointer: coarse),
    (hover: none) and (pointer: fine) and (max-width: 576px) {
    body.font-size-normal .position-motor,
    body.font-size-large .position-motor,
    body.font-size-very-large .position-motor {
      margin-top: -210px;
    }
  }
  body.font-size-normal .position-motor,
  body.font-size-large .position-motor,
  body.font-size-very-large .position-motor {
    margin-top: -45px;
  }
}

/* ===== TABLETS GRANDES / LAPTOPS PEQUEÑOS ===== */
@media (min-width: 769px) and (max-width: 992px) {
  body.font-size-very-small .position-motor,
  body.font-size-small .position-motor {
    margin-top: -200px;
  }
  body.font-size-normal .position-motor,
  body.font-size-large .position-motor,
  body.font-size-very-large .position-motor {
    margin-top: -45px;
  }
}

/* ===== ESTRATEGIA ALTERNATIVA CON DETECCIÓN JAVASCRIPT ===== */
/* Agrega esta clase con JavaScript detectando el dispositivo */
body.touch-device .font-size-normal .position-motor,
body.touch-device .font-size-large .position-motor,
body.touch-device .font-size-very-large .position-motor {
  margin-top: -210px;
}

.table-text-whit-v0 {
  text-decoration: none !important;
  color: #fff !important;
}

.header-motor {
  background: rgba(237, 100, 0, 0.9);
}

.footer-motor {
  background: rgba(43, 43, 43, 0.9);
}

.table-v0 {
  top: 0;
}

.hover-v0 {
  --background-image: url("./img/favicon/favicon.ico");
  background-repeat: no-repeat;
  background-position: -1% center;
  padding-top: 5px;
  padding-left: 25px;
  font-size: 14px;
  color: #000;
  text-decoration: none;
  height: 25px;
  width: 85%;
  cursor: pointer;
}

.hover-v0:hover {
  background-color: rgba(247, 109, 10, 0.2);
  text-decoration: none;
  color: rgb(29, 28, 28) !important;
  text-shadow: 0px 0px 1px #222;
  height: 25px;
}

/* Outline styling for inputs */
input[type="text"] {
  width: 100%;
  border: 2px solid #fff;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 5px !important;
  border-top-right-radius: 5px !important;
  margin: 0 0;
  margin-bottom: 0px;
  outline: 0;
  padding: 8px;
  box-sizing: border-box;
  transition: 0.3s;
  cursor: pointer;
}

.form-outline {
  position: relative;
}

.input-group-text {
  background: #fff !important;
  border: 2px solid #fff;
  width: 0;
  color: #ee7500 !important;
  border-top-left-radius: 5px !important;
  border-bottom-left-radius: 5px !important;
  border-bottom-right-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

.margin-icon-v0 {
  width: 15px;
  margin: 0px 0px 0px -5px !important;
}

.input-group-text:disabled {
  color: #000 !important;
  background-color: #000 !important;
  cursor: pointer;
}

.form-control {
  color: #000 !important;
  background-color: #fff !important;
  opacity: 1;
}

.form-control:focus {
  border-color: #ee7500 !important;
  box-shadow: 0 0 0 1px #ee7500 !important;
}

/* Checkbox styling */
.form-check-input {
  margin-top: 0.3rem;
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
}

.form-check-label {
  margin-left: 0.5rem;
  color: #fff;
}

.form-check-input:focus {
  border-color: #ee7500 !important;
  outline: 0;
  box-shadow: 0 0 0 1px #ee7500 !important;
}

.form-check-input:checked {
  background-color: #ee7500 !important;
  border-color: #ee7500 !important;
}

/** slider **/
.card-img-top-v0 {
  max-height: 250px !important;
}
.card-img-publicidad-v0 {
  height: 400px !important;
}

.card-body-v0 {
  max-height: 200px !important;
}

.card-footer-v0 {
  margin-top: -30px !important;
  border-top: none !important;
}

.sombra-v0 {
  box-shadow: 2px 2px 2px 2px #ff510080;
  border-radius: 2px;
}

/** Menu de slider destinos img **/

.btn-outline-orange {
  color: #ff8c00;
  /* Color de texto naranja */
  border-color: #ff8c00;
  /* Color de borde naranja */
}

.btn-outline-orange:hover,
.btn-outline-orange:focus {
  color: #fff;
  /* Cambiar el texto a blanco al hacer hover */
  background-color: #ff8c00;
  /* Fondo naranja al hacer hover */
  border-color: #ff8c00;
}

.icon {
  font-size: 18px;
}

/** Pasarela **/
label {
  font-family: hevetica, sans-serif;
  font-weight: bold;
  --width: 200px;
}

input[type="radio"] {
  visibility: hidden;
}

input[type="radio"] + * {
  font-size: 1.5em;
  color: #ee7500;
}

input.checkbold + *:before {
  --content: "☐";
  content: "\2610";
  /* ☐ */
  font-family: Arial, sans-serif;
}

input.checkbold:checked + *:before {
  --content: "🗹";
  content: "\2611";
  /* 🗹 */
  font-family: Arial, sans-serif;
}

/***************/
.list-group-item {
  background-color: transparent !important;
  border: none !important;
}

.modal-backdrop {
  position: absolute !important;
  width: 100% !important;
  height: 100% !important;
  background-color: #000;
}

/* Extra pequeño - Teléfonos (≤ 576px) */
@media (max-width: 576px) {
  .position-motor {
    margin-top: -40px;
  }

  .icon {
    font-size: 10px;
  }
}

/* Teléfonos grandes y tablets en vertical (577px a 768px) */
@media (min-width: 577px) and (max-width: 768px) {
  .position-motor {
    margin-top: -40px;
  }
  .modal-xl {
    max-width: 710px !important;
  }
}

/* Tablets horizontales (769px a 992px) */
@media (min-width: 769px) and (max-width: 992px) {
  .position-motor {
    margin-top: -200px;
  }
  .modal-xl {
    max-width: 960px !important; /* +250px respecto a 576px */
  }
}

/* Laptops pequeñas y tablets grandes (993px a 1200px) */
@media (min-width: 993px) and (max-width: 1200px) {
  .position-motor {
    margin-top: -220px;
  }
  .modal-xl {
    max-width: 1300px !important; /* +340px respecto a 992px */
  }
}

/* Computadoras de escritorio (1301px a 1600px) */
@media (min-width: 1301px) and (max-width: 1400px) {
  .position-motor {
    margin-top: -245px;
  }
}

@media (min-width: 1401px) and (max-width: 1500px) {
  .position-motor {
    margin-top: -250px;
  }
}

@media (min-width: 1501px) and (max-width: 1600px) {
  .position-motor {
    margin-top: -255px;
  }
}

@media (min-width: 1201px) and (max-width: 1300px) {
  .position-motor {
    margin-top: -240px;
  }
}

/* Pantallas grandes (más de 1600px) */
@media (min-width: 1601px) and (max-width: 1700px) {
  .position-motor {
    margin-top: -260px;
  }
  .modal-xl {
    max-width: 1400px !important; /* +340px respecto a 992px */
  }
}

@media (min-width: 1701px) and (max-width: 1800px) {
  .position-motor {
    margin-top: -265px;
  }
  .modal-xl {
    max-width: 1450px !important;
  }
}

@media (min-width: 1801px) {
  .position-motor {
    margin-top: -270px;
  }
  .modal-xl {
    max-width: 1500px !important;
  }
}
/*************************************/

.position-relative {
  position: relative;
}

#popper-pasajeros {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
}

.btn-outline-orange {
  border-color: #ee7500;
  color: #ee7500;
}

.btn-outline-orange:hover {
  background-color: #ee7500;
  color: white;
}

.btn-orange {
  background-color: #ee7500;
  color: white;
  border: none;
}

.btn-orange:hover {
  background-color: #d66800;
}

/* Estilos para las tarjetas de método de pago */
.card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #dee2e6;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

.card-title {
  color: #333;
  font-weight: bold;
}

.card-text {
  color: #666;
}

/* Estilos para los botones */
.peach-gradient {
  background: linear-gradient(45deg, #ee7500, #ff9500);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.peach-gradient:hover:not(:disabled) {
  background: linear-gradient(45deg, #d66800, #e58400);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(238, 117, 0, 0.3);
}

.peach-gradient:disabled {
  background: #cccccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Ajustes responsivos para el modal */
@media (max-width: 768px) {
  .modal-xl {
    margin: 10px;
  }

  .col-12.col-md-5 {
    margin-bottom: 15px;
  }
}

/* Estilos mejorados para el offcanvas de Web Check-in */
.offcanvas-end[style*="width: 100vw"] {
    max-width: 100vw !important;
}

/*#spinnerWebCheckin {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}
*/
#iframeWebCheckin {
    width: 100%;
    height: 90%;
    border: none;
}

.bg-orange {
    --bs-bg-opacity: 1;
    background-color: rgba(238, 117, 0, var(--bs-bg-opacity)) !important;
}


.height-v0-1 {
  overflow-y: auto;
  max-height: 690px !important;
}
/* Para pantallas entre 1700px y 1900px */
@media (min-width: 1700px) and (max-width: 1900px) {
    .height-v0-1 {
        max-height: 690px !important;
    }
}

/* Para pantallas entre 1600px y 1699px */
@media (min-width: 1600px) and (max-width: 1699px) {
    .height-v0-1 {
        max-height: 660px !important;
    }
}

/* Para pantallas entre 1100px y 1599px */
@media (min-width: 1100px) and (max-width: 1599px) {
    .height-v0-1 {
        max-height: 530px !important;
    }
}
/* Para pantallas entre 1100px y 1599px */
@media (min-width: 980px) and (max-width: 1099px) {
    .height-v0-1 {
        max-height: 490px !important;
    }
}
.height-v0-2 {
  max-height: 710px !important;
}