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

#listado_cruceros,
#listado_configuraciones {
  width: 45vw;
  height: 50vh;
  margin-right: 15px;
  border-right: 2px solid lightgray;
  overflow-x: scroll;
}

#form_cruceros {
  padding: 2vw;
  width: 45vw;
  height: 50vh;
}

.modalConfig {
  height: 60vh;
  width: 60vw;
}

.modalConfig textarea {
  height: 80%;
}

.modalNewPasajero {
  height: 82vh;
  width: 30vw;
}

@media (max-width: 700px) {
  .modalNewPasajero {
    height: 70vh;
    width: 70vw;
  }
}



.container_filtros {
  position: absolute;
  left: 10vw;
  background-color: rgb(63, 81, 152);
  box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
  z-index: 999;
  border-radius: 15px;
  transition: all .25s ease-in-out;
}

.container_inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 10px;
  transition: all .25s ease-in-out;
}

#modalApertura,
#modalCierre {
  position: absolute;
  top: 13vh;
  z-index: 999;
  height: 75vh;
  width: 60vw;
  background-color: rgb(224, 226, 234);
  border-radius: 20px;
  box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
  transition: all .75s ease-in-out;
}

#listado_etiquetas,
#listado_despachos,
#listado_pendientes,
#listado_erroneo,
#listado_en_crucero {
  position: fixed;
  margin-top: 2%;
  margin-right: 5vw;
  width: 20%;
  overflow: auto;
  z-index: 9999;
  transition: all 1s ease-in-out;
}

/* Webkit (Chrome, Safari, Edge) */
#listado_etiquetas::-webkit-scrollbar,
#listado_despachos::-webkit-scrollbar,
#listado_pendientes::-webkit-scrollbar,
#listado_erroneo::-webkit-scrollbar,
#listado_en_crucero::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

#listado_etiquetas::-webkit-scrollbar-track {
  background: rgb(13, 110, 235);
  border-radius: 4px;
}

#listado_despachos::-webkit-scrollbar-track {
  background: rgb(110, 114, 118);
  border-radius: 4px;
}

#listado_pendientes::-webkit-scrollbar-track {
  background: rgb(255, 193, 7);
  border-radius: 4px;
}

#listado_erroneo::-webkit-scrollbar-track {
  background: rgb(255, 7, 7);
  border-radius: 4px;
}

#listado_en_crucero::-webkit-scrollbar-track {
  background: rgb(25, 135, 84);
  border-radius: 4px;
}


#listado_etiquetas::-webkit-scrollbar-thumb {
  background: rgb(10, 75, 161);
  border-radius: 4px;
}

#listado_despachos::-webkit-scrollbar-thumb {
  background: rgb(110, 114, 118);
  border-radius: 4px;
}

#listado_pendientes::-webkit-scrollbar-thumb {
  background: rgb(184, 140, 7);
  border-radius: 4px;
}

#listado_erroneo::-webkit-scrollbar-thumb {
  background: rgb(255, 7, 7);
  border-radius: 4px;
}

#listado_en_crucero::-webkit-scrollbar-thumb {
  background: rgb(19, 101, 63);
  border-radius: 4px;
}


#listado_etiquetas::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

#listado_despachos::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

#listado_pendientes::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

#listado_erroneo::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

#listado_en_crucero::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

/* .contenedor-cards:hover .cardSection {
  transform: scale(0.9);
  opacity: 0.7;
} */

/* === Pero la card sobre la que está el hover se agranda === */
.contenedor-cards .cardSection:hover {
  opacity: 1;
  flex: 2;
  z-index: 10; /* para que quede encima de las otras */
  background-color: #e0ecff; /* opcional: cambia el color */
  box-shadow:
    rgba(255, 255, 255, 1) 0px 0px 6px 2px inset,
    rgba(0, 0, 0, 0.35) 0px 0px 30px 5px,
    rgba(255, 255, 255, 1) 0px 0px 80px 15px;
}
.descInfo{
  max-height: 0vh;
  overflow: hidden;
  transition: max-height 0.3s ease; 
}

.cardSection:hover .descInfo {
  max-height: 10vh; 
  transition: max-height 1s ease 0.2s;
}

.cardSection {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 17%;
  height: 70vh;
  background-color: whitesmoke;
  overflow: hidden;
  box-shadow:
    rgba(255, 255, 255, 1) 0px 0px 4px 1px inset,
    rgba(0, 0, 0, 0.25) 0px 0px 25px 0px,
    rgba(255, 255, 255, 1) 0px 0px 60px 10px;
  border-radius: 15px;
  transition: all .5s ease-in-out;
  margin: 1vw;
}

.iconoSection {
  font-size: 45vh;
  position: relative;
  right: -20%;
  bottom: -10%;
}

.button_change {
  position: fixed;
  right: 5rem;
}

#loader {
  position: absolute;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.15);
  justify-content: center;
  align-items: center;
}

.spinner-square {
  display: flex;
  flex-direction: row;
  width: 90px;
  height: 120px;
}

.spinner-square>.square {
  width: 17px;
  height: 80px;
  margin: auto auto;
  border-radius: 4px;
}

.square-1 {
  animation: square-anim 1200ms cubic-bezier(0.445, 0.05, 0.55, 0.95) 0s infinite;
}

.square-2 {
  animation: square-anim 1200ms cubic-bezier(0.445, 0.05, 0.55, 0.95) 200ms infinite;
}

.square-3 {
  animation: square-anim 1200ms cubic-bezier(0.445, 0.05, 0.55, 0.95) 400ms infinite;
}

@keyframes square-anim {
  0% {
    height: 80px;
    background-color: rgb(132, 132, 132);
  }

  20% {
    height: 80px;
  }

  40% {
    height: 120px;
    background-color: rgb(132, 132, 132);
  }

  80% {
    height: 80px;
  }

  100% {
    height: 80px;
    background-color: rgb(132, 132, 132);
  }
}

.container-stat {
  width: 20%;
}

#listado_cruceros_filtros {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 10%;
  position: absolute;
  background: white;
  z-index: 99;
  border-radius: 5px;
}
#listado_cruceros_filtros li {
  padding: 5px;
  cursor: pointer;
}
#listado_cruceros_filtros li:hover {
  background: #eee;
}
.sidebar {
  position: fixed;
  top: 0;
  left: -22.5vw; /* Oculto inicialmente */
  width: 22.5vw;
  height: 100vh;
  background-color: rgb(47, 130, 254);
  color: white;
  box-shadow: 5px 0 80px rgba(0,0,0,0.4);
  transition: left 0.3s ease;
  z-index: 1000;
}

.sidebar.active {
  left: 0; /* Se muestra */
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  margin: 10px 0;
}

.sidebar ul li a {
  text-decoration: none;
}

.font-size-xl { font-size: 2.25vh;}
.font-size-l { font-size: 1.75vh;}
.font-size-m { font-size: 1.5vh;}

@media (max-width: 700px) {
  .font-size-xl { font-size: 2.5vw;}
  .font-size-l { font-size: 1.75vw;}
  .font-size-m { font-size: 1.5vw;}
  .sidebar {
    left: -65vw; /* Oculto inicialmente */
    width: 65vw;
  }
  .contenedor-cards {
    flex-direction: column;
  }
  .cardSection {
    width: 95%;
    height: 10%;
  }
  .iconoSection {
    font-size: 20vh;
  }
}


.section-line {
  color:white;
  transition: all .3s ease-in-out;
}
.section-line a{
  font-size: 1.75vh;
  color:white;
  transition: all .3s ease-in-out;
}
.section-line i{
  font-size: 1.75vh;
  color: white;
  transition: all .3s ease-in-out;
}
.section-line:hover {
  background-color: white;
}
.section-line:hover a, .section-line:hover i{
  color: rgb(47, 130, 254) !important;
}

.header_nav{
  box-shadow: 0px 5px 20px rgb(47, 130, 254);
}