*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial, Helvetica, sans-serif;
}

body{
  background:#f4f6f9;
  color:#333;
}

header{
  background:#0d47a1;
  color:white;
  padding:20px;
  text-align:center;
  box-shadow:0 2px 10px rgba(0,0,0,0.2);
}

main{
  width:90%;
  max-width:1200px;
  margin:30px auto;
}

.tarjeta{
  background:white;
  border-radius:15px;
  padding:25px;
  margin-bottom:25px;
  box-shadow:0 4px 15px rgba(0,0,0,0.1);
}

h1{
  font-size:32px;
}

h2{
  margin-bottom:20px;
  color:#0d47a1;
}

input,
select,
textarea{
  width:100%;
  padding:14px;
  margin-top:12px;
  border:none;
  border-radius:10px;
  background:#f1f3f6;
  font-size:16px;
}

button{
  width:100%;
  padding:15px;
  margin-top:20px;
  border:none;
  border-radius:10px;
  background:#0d47a1;
  color:white;
  font-size:16px;
  cursor:pointer;
  transition:0.3s;
}

button:hover{
  background:#1565c0;
}

#asientos{

  display:grid;

  grid-template-columns:
    repeat(2, 70px)
    50px
    repeat(2, 70px);

  gap:15px;

  justify-content:center;

  margin-top:30px;

}

.asiento{

  width:70px;

  height:70px;

  background:#43a047;

  color:white;

  display:flex;

  align-items:center;

  justify-content:center;

  border-radius:15px;

  cursor:pointer;

  font-weight:bold;

  font-size:18px;

  transition:0.2s;

}

.asiento:hover{

  transform:scale(1.05);

}

.ocupado{

  background:#e53935;

  cursor:not-allowed;

}

.seleccionado{

  background:#1e88e5;

}

.pasillo{

  visibility:hidden;

}

#infoViaje{
  text-align:center;
  margin-bottom:20px;
  font-size:22px;
}

.resultado-viaje{
  border-left:6px solid #0d47a1;
}


.layout{
  display:flex;
  min-height:100vh;
}

.sidebar{
  width:250px;
  background:#0d47a1;
  color:white;
  padding:30px 20px;
}

.sidebar h2{
  color:white;
  margin-bottom:30px;
}

.sidebar a{
  display:block;
  color:white;
  text-decoration:none;
  margin-bottom:15px;
  padding:12px;
  border-radius:10px;
  transition:0.3s;
}

.sidebar a:hover{
  background:rgba(255,255,255,0.2);
}

.contenido{
  flex:1;
  padding:30px;
}

.grid{
  display:grid;
  grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
}

.mini{
  text-align:center;
}


.hero{

  height:70vh;

  background:
    linear-gradient(
      rgba(0,0,0,0.5),
      rgba(0,0,0,0.5)
    ),
   /* url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?q=80&w=1600');*/

     url("imagenes/sprinter.png");

  background-size:cover;

  background-position:center;

  display:flex;

  align-items:center;

  justify-content:center;

  text-align:center;

  color:white;

  padding:20px;

}

.hero h1{

  font-size:60px;

  margin-bottom:20px;

}

.hero p{

  font-size:22px;

  margin-bottom:25px;

}

.footer{

  background:#0d47a1;

  color:white;

  text-align:center;

  padding:20px;

  margin-top:40px;

}

.footer a{

  color:white;

  text-decoration:none;

}


header{
  background:#0d47a1;
  color:white;
  padding:15px 20px;
  text-align:center;
  box-shadow:0 2px 10px rgba(0,0,0,0.2);

  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
}


.logo-header{
  height:60px;
  width:auto;
  display:block;
  margin:0;
}

.logo-index{
  height:180px;
  width:auto;
}






.login-header{

  width:100%;

  background:#0d47a1;

  padding:20px;

  display:flex;

  align-items:center;

  justify-content:center;

  gap:20px;

  box-shadow:0 2px 10px rgba(0,0,0,0.2);

}

.logo-login{

  height:90px;

  width:auto;

}

.login-header h1{

  color:white;

  font-size:48px;

  margin:0;

}

.pasillo{
  visibility:hidden;
}


.leyenda-asientos{
  display:flex;
  justify-content:center;
  gap:15px;
  flex-wrap:wrap;
  margin:20px 0;
}

.leyenda-asientos span{
  background:white;
  padding:10px 15px;
  border-radius:12px;
  box-shadow:0 3px 10px rgba(0,0,0,0.1);
  font-weight:bold;
}

.color{
  display:inline-block;
  width:15px;
  height:15px;
  border-radius:50%;
  margin-right:8px;
}

.libre{ background:green; }
.pagado{ background:red; }
.pendiente{ background:orange; }
.abordado{ background:blue; }
.cancelado{ background:black; }

.badge-pagado{

  background:#dcfce7;

  color:#166534;

  padding:6px 10px;

  border-radius:999px;

  font-size:13px;

  font-weight:600;

}

.carrusel{
  position:relative;
  height:520px;
  overflow:hidden;
}

.slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transition:opacity 1s ease;
}

.slide.activo{
  opacity:1;
}

.slide::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.45);
}

.slide-contenido{
  position:absolute;
  z-index:10;
  color:white;
  text-align:center;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  width:90%;
}

.slide-contenido h1{
  font-size:48px;
}

.slide-contenido p{
  font-size:22px;
}

.slide-contenido button{
    width:auto !important;
    min-width:220px;
    padding:15px 35px;
    border:none;
    border-radius:30px;
    background:#2563eb;
    color:#fff;
    font-size:18px;
    font-weight:600;
    cursor:pointer;
}
.slide-contenido{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    z-index:10;
    text-align:center;
    width:90%;
    max-width:900px;
}

.logo-carrusel{
    width:140px;
    height:140px;
    object-fit:contain;
    margin-bottom:20px;
    border-radius:50%;
    box-shadow:0 8px 25px rgba(0,0,0,.35);
}


.btn-carrusel{
  width:auto !important;
  min-width:220px;
  padding:15px 35px;
  border-radius:30px;
  background:#2563eb;
  color:white;
  border:none;
  font-size:18px;
  font-weight:bold;
  cursor:pointer;
}

.logo-carrusel{
  animation:flotar 3s ease-in-out infinite;
}

@keyframes flotar{

  0%{
    transform:translateY(0);
  }

  50%{
    transform:translateY(-8px);
  }

  100%{
    transform:translateY(0);
  }

}

.btn-carrusel:hover{

  transform:translateY(-3px);

  box-shadow:0 10px 25px rgba(37,99,235,.4);

}

.slide-contenido h1{
    text-shadow:0 4px 15px rgba(0,0,0,.7);
}

.slide-contenido p{
    text-shadow:0 3px 10px rgba(0,0,0,.7);
}


.navbar{
  position: absolute !important;
  top: 20px !important;
  right: 30px !important;
  left: auto !important;
  width: auto !important;
  z-index: 9999 !important;
}


.btn-admin{
  position:absolute;
  top:20px;
  right:30px;
  z-index:50;
  color:white;
  text-decoration:none;
  background:rgba(0,0,0,.55);
  padding:12px 20px;
  border-radius:25px;
  font-weight:bold;
  box-shadow:0 4px 15px rgba(0,0,0,.3);
}

.btn-admin:hover{
  transform:translateY(-2px);
}

#btnMercadoPago:disabled{
  background:#999 !important;
  color:#fff;
  opacity:.7;
  cursor:not-allowed;
}



button:disabled{
  background:#999;
  color:white;
  cursor:not-allowed;
  opacity:.7;
}

/*@media (max-width: 768px){

  .carrusel{
    height: 620px;
  }

  .slide{
    background-position: center;
  }

  .slide-contenido{
    width: 90%;
    top: 55%;
  }

  .logo-carrusel{
    width: 95px;
    height: 95px;
  }

  .slide-contenido h1{
    font-size: 34px;
  }

  .slide-contenido p{
    font-size: 17px;
  }

  .btn-carrusel{
    min-width: 190px;
    padding: 13px 25px;
    font-size: 16px;
  }

  .btn-admin{
    top: 15px;
    right: 15px;
    padding: 9px 14px;
    font-size: 13px;
  }

}*/

.acciones-corrida{

    display:flex;

    gap:10px;

    margin-top:15px;

}

.acciones-corrida button{

    flex:1;

}


.tarjeta-pasajero{

    border:1px solid #ddd;

    border-radius:12px;

    padding:15px;

    margin-bottom:15px;

    background:#fafafa;

}

.tarjeta-pasajero h3{

    margin-top:0;

}

.tarjeta-pasajero select{

    width:100%;

    padding:8px;

    border-radius:8px;

}

#listaPasajeros{

    margin-top:25px;

}

#totalCompra{

    background:#0a7cff;

    color:white;

    padding:15px;

    border-radius:12px;

    text-align:center;

    font-size:22px;

    margin-top:20px;

}

.acciones-reserva{

    display:flex;

    align-items:center;

    gap:10px;

    margin-top:15px;

}

.acciones-reserva button{

    width:auto !important;

    flex:1;

    min-width:150px;

    margin-top:0;

}

.barra-herramientas{

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    margin:25px 0;
    flex-wrap:wrap;

}

.grupo-busqueda{

    display:flex;
    gap:12px;
    align-items:center;
    flex-wrap:wrap;

}

.grupo-botones{

    display:flex;
    gap:10px;
    align-items:center;
    flex-wrap:wrap;

}

.grupo-busqueda input,
.grupo-busqueda select{

    width:190px;
    margin:0;

}

.grupo-botones button{

    width:auto !important;
    min-width:120px;
    padding:12px 18px;
    margin:0;

}

.grupo-botones a{

    text-decoration:none;

}

.btnAsientos{

    background:#0ea5e9;
    color:white;
    border:none;
    border-radius:8px;
    padding:8px 14px;
    cursor:pointer;
    width:auto !important;

}