@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/584938/library.less");
@import url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/584938/variables.less");

:root {
  --whitewhite: rgba(255, 255, 255, 1);
  --grey-1000: rgba(31, 36, 41, 1);
  --body-medium-font-family: "Inter", Helvetica;
  --body-medium-font-weight: 500;
  --body-medium-font-size: 15px;
  --body-medium-letter-spacing: 0px;
  --body-medium-line-height: 20px;
  --body-medium-font-style: normal;
  --t2-semibold-font-family: "Inter", Helvetica;
  --t2-semibold-font-weight: 600;
  --t2-semibold-font-size: 16px;
  --t2-semibold-letter-spacing: 0px;
  --t2-semibold-line-height: 20px;
  --t2-semibold-font-style: normal;
  --barcode: white;
  --body: #48CAE8;
  --grey: #A2A2A2;
  --ticket-body: #161616;
}

* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100%;
  background-color: var(--global-bg-color, #48CAE8); 
  display: block; 
  overflow-y: auto;
}

a {
  text-decoration: none;
}

button:focus-visible {
  outline: 2px solid #4a90e2 !important;
  outline: -webkit-focus-ring-color auto 5px !important;
}


/* Estilos adicionales para el SVG y el mensaje */
.widget svg {
  width: 100%;
  height: 150px;
}

.widget p {
  margin-top: 20px;
  font-size: 18px;
  color: #0077B6;
  text-align: center;
  font-family: "Poppins", serif;
  font-weight: 400;
  font-style: normal;
}

#thank-you-logo {
  width: 150px;
  height: 150px;
}

#thank-you-text {
  margin-top: 20px;
  font-size: 21px;
  color: #0077B6;
  text-align: center;
}


/* Para móviles (320px a 743px) se utiliza el mismo tamaño que para pantallas grandes */
@media (min-width: 320px) and (max-width: 743px) {
  .widget {
    width: 580px; /* mismo ancho que en computadoras/tablets */
    height: 625px; /* mismo alto que en computadoras/tablets */
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto; /* Make the .widget container center horizontally */
  }
  .image {
    height: 290px; /* igual que en pantallas mayores */
  }
  .div {
    padding: 0 20px; /* igualar el padding */
    height: calc(100% - 290px);
  }
  /* Si hay estilos específicos para .answer-input, .options-wrapper, etc.,
     ajusta o elimina las diferencias para lograr la misma apariencia */
}

.widget {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.cls-1,
.cls-2 {
  fill: #0077B6; 
}

.m-FRAME {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: ·#48CAE8;
}

.widget {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 90%;
  height: auto;
  margin: auto;
  box-shadow: 0px 20px 25px #1c1b2126;
  border-radius: 32px;
  background-color: #ffffff;
  will-change: transform, opacity, width, height;
}

.image {
  width: 100%;
  height: auto;
  object-fit: cover;
  user-select: none;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  margin-bottom: -1px; /* Ajustar para eliminar el espacio en blanco */
}

.div {
  flex: 1;
  background-color: #4355a3;
  border-radius: 24px;
  z-index: 1;
  margin-top: -22px; /* Ajustar para eliminar el espacio en blanco */
  height: calc(100% - 50px); /* Reduce height */
}

.frame-2 {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
  padding: 20px;
}

.footer {
  display: flex;
  flex-wrap: nowrap; /* Asegura que los elementos estén en una sola línea */
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  background-color: transparent;
  position: absolute;
  bottom: 0;
}

.LOGO-LINEAS-negro, .rectangle {
  height: 40px;
  object-fit: cover;
}

.LOGO-LINEAS-negro {
  margin-left: 10px; /* Ajustar la distancia desde la izquierda */
}

.frame-3 {
  display: flex;
  gap: 10px;
}

.base-button {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  padding: 10px;
  border-radius: 100000px;
  transition: background-color 0.4s, color 0.4s;
  font-family: var(--body-medium-font-family);
  font-weight: var(--body-medium-font-weight);
  font-size: var(--body-medium-font-size);
  letter-spacing: var(--body-medium-letter-spacing);
  line-height: var(--body-medium-line-height);
  white-space: nowrap;
  font-style: var(--body-medium-font-style);
}

.button-aceptar {
  background-color: white;
  color: black;
}

.button-aceptar:hover {
  background-color: #1F2429;
  color: white;
  cursor: pointer;
}

.button-rechazar {
  color: black;
}

.button-rechazar:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
}

.hidden {
  display: none;
}
:root {
  --barcode: white;
  --body: #48CAE8;
  --grey: #A2A2A2;
  --ticket-body: #161616;
}

body {
  background-color: var(--body);
  font-family: "Montserrat", "Helvetica Neue", "Open Sans", "Arial";
  font-weight: 300;
}

.container-fluid {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.ticket {
  border-radius: 12px;
  display: inline-block;
  max-width: 320px;
  text-align: left;
  text-transform: uppercase;
  width: 100%;
  height: 306px; 
  width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ticket.dark {
  background-color: var(--ticket-body);
  color: white;
}

.ticket.light {
  background-color: white;
  color: var(--ticket-body);
}

.ticket.light .ticket-body {
  border-color: var(--ticket-body);
}

.ticket-head {
  background-position: center;
  background-size: cover;
  border-radius: 12px 12px 0 0;
  color: white;
  height: 140px;
  position: relative;
}

.ticket-head .from-to {
  font-family: "Poppins", serif;
  display: flex;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  font-weight: 600;
  width: 100%;
  z-index: 2;
  justify-content: center;
}

.ticket-head .from-to .ticket-title {
  position: static;
  transform: none;
  margin: 0;
}

.ticket-head .icon {
  display: inline-block;
  margin: 0 40px;
  transform: rotate(135deg) translate(25%, 25%);
}

.ticket-body {
  padding: 15px 45px;
  position: relative;
}

.ticket-body p {
  color: var(--grey);
  font-size: 12px;
  margin-top: 5px;
}

.ticket-body .flight-info {
  margin-top: 5px;
}

.ticket-body .flight-date {
  font-size: 12px;
  margin-top: 10px;
}


.layer {
  transition: all 0.2s ease;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 12px 12px 0 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

p, h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
}
.ticket-title {
  font-family: "Poppins", serif;
  display: flex;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  font-weight: 600;
  width: 100%;
  z-index: 2;
  justify-content: center;
}

.from-to {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ticket-logo {
  width: 40px; /* ajusta según tus necesidades */
  height: auto;
  margin-right: 10px; /* espacio entre el logo y el texto */
}
.col-xs-6 {
  display: block;
}
.logo {
  width: 40px; /* ajusta según tus necesidades */
  height: 40px;
  position: left;
  display: absolute;
}

.codigo-container {
  display: flex;
  justify-content: flex-start;
  position: relative; /* para que el absoluto se posicione relativo a este contenedor */
}

.codigo-logo {
  width: 80px; /* ajusta según tus necesidades */
  height: auto;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 10px; /* opcional, si deseas espacio extra */
}
html, body {
  height: 100%;
}

body {
  display: grid;
  overflow: hidden;
}

.btn-circle-download {
  position: relative;
  height: 48px;
  width: 48px;
  margin: auto;
  border-radius: 100%;
  background: #E8EAED;
  cursor: pointer;
  overflow: hidden;
  transition: all .2s ease;
}

.btn-circle-download:after {
  content: "";
  position: relative;
  display: block;
  width: 200%;
  height: 100%;
  background-image: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0));
  transform: translateX(-100%);
}

.btn-circle-download svg {
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.btn-circle-download svg#border {
  position: absolute;
  top: 0;
  left: 0;
  stroke: none;
  stroke-dasharray: 144;
  stroke-dashoffset: 144;
  transition: all .9s linear;
}

.btn-circle-download svg#arrow {
  position: absolute;
  top: 14px;
  left: 17px;
  stroke: #9098A9;
  transition: all .2s ease;
}

.btn-circle-download svg#check {
  position: absolute;
  top: 17px;
  left: 13px;
  stroke: white;
  transform: scale(0);
}

.btn-circle-download:hover {
  background: rgba(0, 119, 255, 0.2);
}

.btn-circle-download:hover #arrow path,
.btn-circle-download:hover #arrow polyline {
  stroke: #0077FF;
}

.btn-circle-download.load {
  background: rgba(0, 119, 255, 0.2);
}

.btn-circle-download.load #arrow path,
.btn-circle-download.load #arrow polyline {
  stroke: #0077FF;
}

.btn-circle-download.load #border {
  stroke: #0077FF;
  stroke-dasharray: 144;
  stroke-dashoffset: 0;
}

.btn-circle-download.done {
  background: #0077FF;
  animation: rubberBand .8s;
}

.btn-circle-download.done:after {
  transform: translateX(50%);
  transition: transform .4s ease;
  transition-delay: .7s;
}

.btn-circle-download.done #border,
.btn-circle-download.done #arrow {
  display: none;
}

.btn-circle-download.done #check {
  transform: scale(1);
  transition: all .2s ease;
  transition-delay: .2s;
}

@keyframes rubberBand {
  from {
    transform: scale(1, 1, 1);
  }
  30% {
    transform: scale3d(1.15, 0.75, 1);
  }
  40% {
    transform: scale3d(0.75, 1.15, 1);
  }
  50% {
    transform: scale3d(1.10, 0.85, 1);
  }
  65% {
    transform: scale3d(.95, 1.05, 1);
  }
  75% {
    transform: scale3d(1.05, .95, 1);
  }
  to {
    transform: scale3d(1, 1, 1);
  }
}

.credit {
  position: fixed;
  right: 20px;
  bottom: 20px;
  transition: all .2s ease;
  -webkit-user-select: none;
  user-select: none;
  opacity: .6;
}

.credit img {
  width: 72px;
}

.credit:hover {
  transform: scale(.95);
}

/* Media queries para hacer el diseño responsivo */

/* Desktops */
@media (min-width: 1281px) {
  .widget {
      width: 500px;
      height: 545px;
  }
  .image {
      height: 250px;
  }
  .div {
      height: calc(100% - 248px); /* Ajustar según la altura de la imagen */
  }
}

/* Laptops */
@media (min-width: 1025px) and (max-width: 1280px) {
  .widget {
      width: 500px;
      height: 545px;
  }
  .image {
      height: 250px;
  }
  .div {
      height: calc(100% - 248px); /* Ajustar según la altura de la imagen */
  }
}

/* Tablets en modo retrato */
@media (min-width: 744px) and (max-width: 1024px) and (orientation: portrait) {
  .widget {
      width: 500px;
      height: 545px;
  }
  .image {
      height: 250px;
  }
  .div {
      height: calc(100% - 248px); /* Ajustar según la altura de la imagen */
  }
}

/* Tablets en modo paisaje */
@media (min-width: 744px) and (max-width: 1024px) and (orientation: landscape) {
  .widget {
      width: 500px;
      height: 545px;
  }
  .image {
      height: 250px;
  }
  .div {
      height: calc(100% - 248px); /* Ajustar según la altura de la imagen */
  }
}

/* iPhones más grandes (569px a 743px) */
@media (min-width: 320px) and (max-width: 743px) {
  .widget {
    width: 340px;
    height: auto; /* Quitar límite fijo */
  }
  .div {
    height: auto; /* Quitar height calc */
    overflow-y: auto;
  }
}

/* iPhone 5 (320px a 568px) */
@media (min-width: 320px) and (max-width: 568px) {
  .widget {
    width: 320px;
    height: auto; /* Quitar límite fijo */
  }
  .div {
    padding: 0 5px 60px 5px;
    height: auto; 
    overflow-y: auto; /* Quitar hidden */
  }
}
