@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

body {
    margin: 0;
    padding: 0;
    background-color: #212529;
}
/* NAVBAR */
.navbar {
    background-color: #fff;
    height: 50px;
    margin: auto;
    border-radius: 6px;
    padding: 0.5rem;
}

.navbar .container {
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}
.navbar-brand {
    font-weight: 500;
    color: #aa0000;
    font-size: 22px;
    transition: 0.3s color;
    margin: auto;
}

.login-button {
    background-color: #aa0000;
    color: #fff;
    font-size: 13px;
    padding: 4px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s background-color;
}

.login-button:hover {
    background-color: #e80000;
}

.navbar-toggler {
    border: none;
    font-size: 1.25rem;
}

.navbar-toggler:focus, .btn-close:focus {
    box-shadow: none;
    outline: none;
}

.nav-link{
    color: #666777;
    font-weight: 500;
    position: relative;
}

.nav-link:hover, nav-link:active {
    color: #000;
}
@media (min-width: 991px) {
    .nav-link::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background-color: #aa0000;
        visibility: hidden;
        transition: 0.3s ease-in-out;
    }
    
    .nav-link:hover::before, .nav-link.active::before {
        width: 100%;
        visibility: visible;
    }
}
.navbar-left {
  flex: 1;
}

.navbar-center {
  flex: 1;
  text-align: center;
}

.navbar-right {
  flex: 1;
  justify-content: end;
}

.navbar-nav .nav-link {
  padding: 8px 12px;
}
/* END NAVBAR */
/* PORTADA */
.portada {
  background-image: url('../images/portada_celus.webp');
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  height: 360px;
}
@media (min-width: 435px) and (max-width: 1029px) {
        .portada {
        background-image: url('../images/portada_tablets.webp');
        background-size: cover;
        background-position: center;
        height: 480px;
    }
}
@media (min-width: 1030px) and (max-width: 1445px) {
    .portada {
        background-image: url('../images/portada_chicos.webp');
        background-size: cover;
        background-position: center;
        height: 540px;
    }
}
@media (min-width: 1446px) and (max-width: 1925px) {
    .portada {
        background-image: url('../images/portada_medios.webp');
        background-size: cover;
        background-position: center;
        height: 648px;
    }
}
@media (min-width: 1926px) {
    .portada {
        background-image: url('../images/portada_grandes.webp');
        background-size: cover;
        background-position: center;
        height: 864px;
    }
}
.overlay {
    position:relative;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.overlay h1 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: black;
    font-size: 2.8em;
}

/* FIN PORTADA */
/* RECUADRO ROJO */
.recuadro-rojo {
  position: relative;
  top: -100px;
  background: linear-gradient(180deg, #e50914 0%, #a10000 100%);
  border-radius: 12px;
  color: white;
  padding: 20px 10px;
  margin: 0 auto;
  max-width: 900px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.login-columns {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.login-box {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
}

.login-box h2 {
  font-size: 1.6em;
  margin-bottom: 10px;
}

.login-box p {
  margin: 5px 0 20px;
  text-align: center;
}

.login-box input {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border: none;
  border-radius: 6px;
  font-size: 1em;
}

.login-box button {
  margin-top: 10px;
  padding: 10px 30px;
  background-color: white;
  color: #a10000;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.login-box button:hover {
  background-color: #ffeaea;
}

.login-box .link {
  font-size: 0.9em;
  margin-top: 10px;
}

.login-box .link a {
  color: white;
  text-decoration: underline;
}
.form-row {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  margin-top: 10px;
}

.form-row input {
  flex: 1;
  padding: 10px;
  font-size: 1em;
  border: none;
  border-radius: 6px;
}

.form-row button {
    display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  padding: 0 20px;
  white-space: nowrap;
  background-color: white;
  color: #a10000;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}
.form-row input,
.form-row button {
  height: 42px;
  box-sizing: border-box;
  line-height: 1;
  margin: 0;
  vertical-align: middle;
}
.form-row button:hover {
  background-color: #ffeaea;
}
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 8px;
  }

  .form-row button {
    width: 100%;
  }
}
.inlogin button {
    font-size: 1em;
    padding: 0 15px;
    height: 30px;
}
#logout {
    font-size: 1em;
    background: linear-gradient(180deg, #e50914 0%, #a10000 100%);
    border: 1px solid gray;
    color: white;
}
.results-container {
  font-family: "Segoe UI", sans-serif;
  color: #212529;
  padding: 10px;
}

.results-container h3 {
  margin-bottom: 10px;
  font-size: 1.5em;
  color: #a10000;
  border-bottom: 2px solid #a10000;
  padding-bottom: 5px;
}

.results-container h4 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.2em;
  color: #555;
}

.results-container ol {
  padding-left: 20px;
}

.results-container li {
  margin-bottom: 8px;
  background-color: #f8f9fa;
  padding: 10px;
  border-left: 4px solid #a10000;
  border-radius: 6px;
  list-style: decimal;
}

.results-container .no-routes {
  padding: 15px;
  background-color: #ffeaea;
  border-left: 4px solid #dc3545;
  border-radius: 6px;
  margin-top: 10px;
  font-weight: bold;
}

/* END RECUADRO ROJO */
/* MAPA EN VIVO */
#map {
    margin: 0px 0px 10px 0px;
    height: 70vh;
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}
.map-container {
    height: 70vh;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 576px) {
    .map-container {
        height: 40vh;
    }
}
/* END OF MAPA EN VIVO */
/* PARTNERS */
.partners {
    margin: 0 auto;
}
.partners h3 {
    color:white;
    font-family: "Montserrat", sans-serif;
}
/* END PARTNERS */
/* WHO ARE WE */
.whoarewe {
    background-color: #eeeeee;
    padding: 50px 0;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.whoarewe h2 {
    color: #333;
    font-weight: bold;
}

.whoarewe p {
    color: #555;
    font-size: 1.2rem;
}

.whoarewe-button {
    display: inline-block;
    margin-top: 20px;
}
@media (max-width: 768px) {
    .whoarewe {
        padding: 30px 20px;
    }
    
    .whoarewe p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .whoarewe {
        padding: 20px 10px;
    }
    
    .whoarewe h2 {
        font-size: 1.8rem;
    }

    .whoarewe p {
        font-size: 0.95rem;
    }
}
/* END WHO ARE WE */
.stats {
    color:white;
}
.statstitle {
    font-size: 1.3rem;
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: white;
}
.statsp {
    font-size: 2.325rem;
    font-family: "Lato", serif;
    font-weight: 400;
    font-style: normal;
}
@media (max-width: 576px) {
    .statstitle {
    font-size: 1.1rem;
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #7b7b7b;
    }
    .statsp {
    font-size: 2.1rem;
    font-family: "Lato", serif;
    font-weight: 400;
    font-style: normal;
    }
}
/* END OF GRAL STATS */
/* VENTAJAS */
.ventajas {
    background-color: #eeeeee;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 40%;
}
.ventajas h3 {
    font-size: 1.8rem;
    color: white;
}
.icon-square {
  width: 3rem;
  height: 3rem;
  border-radius: .75rem;
}
/* END VENTAJAS */
/* NO GRANTED */
.notgranted {
    background-color: #cbcbcb;
}

.imgcenter {
    text-align: center;
}
# --bs-bg-opacity: 1;
tablaroster {
    border-radius: 7px;
}
/* END NO GRANTED */
/* FOOTER */
.pie footer {
    background-color: white;
    color: #000; 
    padding: 20px; 
    border-top: 1px solid #ddd;
    border-radius: 9px;
    width: 100%;
}
.enlacepie {
    font-size: 1em;
    text-decoration:none;
    padding:10px 0px 0px 10px;
    color: #666777;
}
@media (max-width: 576px) {
    .enlacepie {
        padding:25px 0px 0px 10px;
        margin-bottom: 0px;
    }
}
/* END FOOTER */
/* TABLERO AEROPUERTO */
.airport-board {
  width: 50%; 
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('/home/images/hall.png') center center / cover no-repeat;
  border-radius: 6px;
}

.board-header {
  background-color: #FECB00; 
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0rem;
}
.board-english {
  background-color: #FECB00; 
  text-align: center;
  font-size: 0.8rem;
  font-weight: 300;
  padding: 0rem;
}

.board-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; 
}

.board-table th {
  height: 30px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0 0 0 1rem;
  color: #ffffff;
}

.board-table td {
  height: 30px;
  text-align: left;
  font-size: 0.6rem;
  font-weight: 200;
  color: #ffffff;
}

.board-table thead {
  background-color: #003E7E;
}

.board-table tbody tr + tr {
  border-top: 1px solid rgba(255,255,255,0.3);
}
.flight-board-box {
  width: 50%;
  max-height: 240px;
  background-color: #0055A4;
  border: 4px solid #fff;
  border-radius: 4px;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
.estado-aterrizado {
    font-family: 'Share Tech Mono', monospace;
    font-weight: bold;
    font-size: 0.5rem;
    color: #000000;
    background-color: #FECB00;
    border-radius: 5px;
    padding: 6px 12px;
    text-align: center;
    transition: all 0.4s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* END TABLERO AEROPUERTO */
/* BUSCADOR DE VUELOS */
.billete {
  display: inline-block;
  background-color: #28a745; /* verde */
  color: #0056b3; /* azul para texto */
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 5px;
  font-family: monospace;
  font-size: 0.9rem;
  min-width: 50px;
  text-align: center;
  user-select: none;
}


@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* BUSCADOR DE VUELOS */
/* GLOBAL */
.wrapper {
  max-width: calc(100%); /* celulares en vert (menos de 435 px) 3px de cada lado*/
  margin-left: 3px;
  margin-right: 3px;
}
@media (min-width: 435px) and (max-width: 1029px) {
    .wrapper {
      max-width: calc(100%); /*celulares horiz y tablets 20px de cada lado */
      margin-left: 20px;
      margin-right: 20px;
    }
    
    .board-table th {
    font-size: 0.3rem;
    padding: 0px;
    }

    .board-table td {
    font-size: 0.3rem;
    }
    
    .board-table th:nth-child(1),
    .board-table td:nth-child(1) {
    width: 20px;
    padding: 0px;
    }

    .board-table th:nth-child(2),
    .board-table td:nth-child(2) {
    width: 60px;
    padding: 0 0 0 1rem;
    }

    .board-table th:nth-child(3),
    .board-table td:nth-child(3) {
    width: 60px;
    padding: 0 0 0 1rem;
    }

    .board-table th:nth-child(4),
    .board-table td:nth-child(4) {
    width: 160px;
    text-align: center;
    padding: 0px;
    }
    
    .board-header {
    font-size: 0.7rem;
    }

    .board-english {
    font-size: 0.6rem;
    }
    
    .airport-board {
    height: 100%;
    }
    
    .flight-board-box {
    max-height: 240px;
    width: 300px;
    }
    
    .estado-aterrizado {
    font-family: 'Share Tech Mono', monospace;
    font-weight: bold;
    font-size: 0.5rem;
    color: #000000;
    background-color: #FECB00;
    border-radius: 5px;
    padding: 6px 12px;
    text-align: center;
    transition: all 0.4s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 1px;
    }
}
@media (min-width: 1030px) and (max-width: 1445px) {
    .wrapper {
      max-width: calc(100%); /* 100px de cada lado */
      margin-left: 100px;
      margin-right: 100px;
    }
    .board-table th {
    font-size: 0.5rem;
    }

    .board-table td {
    font-size: 0.5rem;
    padding: 1px;
    }

    .board-table th:nth-child(1),
    .board-table td:nth-child(1) {
    width: 25px;
    padding: 0 0 0 1px;
    }

    .board-table th:nth-child(2),
    .board-table td:nth-child(2) {
    width: 75px;
    padding: 0 0 0 1.2rem;
    }

    .board-table th:nth-child(3),
    .board-table td:nth-child(3) {
    width: 75px;
    padding: 0 0 0 1.2rem;
    }

    .board-table th:nth-child(4),
    .board-table td:nth-child(4) {
    width: 200px;
    text-align: center;
    padding: 0px;
    }

    .board-header {
    font-size: 1rem;
    }

    .board-english {
    font-size: 0.7rem;
    }
    .airport-board {
    height: 100%;
    }
    .flight-board-box {
    max-height: 240px;
    width: 375px;
    }
}
@media (min-width: 1446px) and (max-width: 1925px) {
    .wrapper {
      max-width: calc(100%); /* 130px de cada lado */
      margin-left: 130px;
      margin-right: 130px;
    }
    .board-table th {
    font-size: 0.8rem;
    }

    .board-table td {
    font-size: 0.8rem;
    padding: 2px;
    }

    .board-table th:nth-child(1),
    .board-table td:nth-child(1) {
    width: 30px;
    padding: 0 0 0 2px;
    }

    .board-table th:nth-child(2),
    .board-table td:nth-child(2) {
    width: 100px;
    padding: 0 0 0 1.5rem;
    }

    .board-table th:nth-child(3),
    .board-table td:nth-child(3) {
    width: 100px;
    padding: 0 0 0 1.5rem;
    }

    .board-table th:nth-child(4),
    .board-table td:nth-child(4) {
    width: 270px;
    text-align: center;
    padding: 0px;
    }

    .board-header {
    font-size: 1rem;
    }

    .board-english {
    font-size: 0.95rem;
    }
    .flight-board-box {
    height: 240px;
    width: 500px;
    }
}
@media (min-width: 1926px) {
    .wrapper {
      max-width: calc(100%); /* 270px de cada lado */
      margin-left: 270px;
      margin-right: 270px;
    }
    .board-table th {
    font-size: 1rem;
    }

    .board-table td {
    font-size: 1rem;
    padding: 3px;
    }
    
    .board-table th:nth-child(1),
    .board-table td:nth-child(1) {
    width: 40px;
    padding: 3px;
    }

    .board-table th:nth-child(2),
    .board-table td:nth-child(2) {
    width: 130px;
    padding: 0 0 0 2rem;
    }

    .board-table th:nth-child(3),
    .board-table td:nth-child(3) {
    width: 130px;
    padding: 0 0 0 2rem;
    }

    .board-table th:nth-child(4),
    .board-table td:nth-child(4) {
    width: 350px;
    text-align: center;
    padding: 0px;
    }

    .board-header {
    font-size: 1.3rem;
    }

    .board-english {
    font-size: 1.1rem;
    }
    .flight-board-box {
    max-height: 280px;
    width: 650px;
    }
}
.contenido {
    margin-top: 20px;
}
/* END GLOBAL */