@font-face {
    font-family : Montserrat;
    src: url(../fuentes/Montserrat-Medium.otf);
}

@font-face {
    font-family : MontserratLight;
    src: url(../fuentes/Montserrat-Light.otf);
}

@font-face {
    font-family : Playfair;
    src: url(../fuentes/PlayfairDisplay-Bold.ttf);
}

@font-face {
    font-family : PlayfairBlack;
    src: url(../fuentes/PlayfairDisplay-Black.ttf);
}

@font-face {
    font-family : PlayfairRegular;
    src: url(../fuentes/PlayfairDisplay-Regular.ttf);
}

body {
    margin: 0;
    padding: 0;
}

small {
    display: none;    
}

.filtros {
    margin-left: 3%;
}

.filtrar {
    padding: 0rem;
    width: 7%;
}

.iconos-sociales {
    display: flex;
}

.iconos-sociales a img {
    width: 45px;
    margin: 20px;
    margin-left: 40px;
    margin-right: 40px;
}

.back {
    font-family:Montserrat; 
    color: white; 
    margin-left: 13%; 
    background-color: #A26D5D; 
    padding:10px 15px; 
    border-radius: 10px;
    text-decoration: none;
}

.back:hover {
    color: #A26D5D; 
    background-color: white;
    border: solid #A26D5D 1px;
}

.alerta.exito {
  padding: 10px;
  margin-bottom: 1em;
  margin-left:12%;
  margin-top: 2%;
  transition: opacity 0.8s ease-out;
  font-family: Montserrat;
}


    /* ESTILOS HEADER */
    
.barra {
    margin: 0;
    display: flex;
    justify-content: space-between;
    padding: 2rem;
    background-image: url('../img/match_travel_registro.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position:center center;
    height: 300px;
}

.menu-principal-img {
    margin-top: 1.5rem;
    margin-left: 4rem;  
}

.menu-principal-img img {
    width: 95px;
}


.navegacion a {
    text-decoration: none;
    Color: white;
    font-family: MontserratLight;
    padding-right: 3rem;
    font-size: 1rem;
}

.navegacion a:hover {
    text-decoration: none;
    Color: #D8C2AB;
    font-family: MontserratLight;
    padding-right: 3rem;
}

.menu-toggle {
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  display: none; /* Oculto en escritorio */
}

.navegacion {
  display: flex;
  gap: 1rem;
  margin-top: 4rem;
}


    /* ESTILOS FOOTER */

.footer {
    margin-top: 3rem;
    
}

.footer .menu-principal-img img {
    width: 90px;
    margin-left: -160px;
    margin-top: 30px;
}
.footer-links{
    padding: 4rem;
    display: flex;
    justify-content: space-between;
    margin-left: 2%;
}

.footer-contacto {
    text-align: center;
    margin-right: 100px;
}

.footer-contacto a{
    display: block;
    font-family: MontserratLight;
    text-decoration: none;
    padding-top: 2rem;
    color: #A26D5D;
}

.copyright{
    text-align: center;
    padding: 4rem;
    font-family: MontserratLight;
    border-top: solid 1px #D8C2AB;
}

.copyright a {
    text-decoration: none;
    color: #D8C2AB;
}

.container{
    margin-left: 0rem;
}
    
    /* ESTILOS TABLA ADMINISTRADOR */
h1, h2 {
    font-family : PlayfairRegular;
    text-align: center;
    margin-top: 2rem;
}

.viajeros {
    margin-top: 1rem;
    margin-left:0rem;
    border-spacing: 0;
    min-width: 100%; /* Puedes aumentarlo si tienes muchas columnas */
    border-collapse: collapse;
    table-layout: auto; /* <-- ¡Esto permite que se ajusten las columnas! */
}

.viajeros th, .viajeros td {
    padding: 0.5rem;
    border: 1px solid #ccc;
    text-align: center;
    white-space: normal;         /* Permite saltos de línea */
    word-wrap: break-word;
    overflow-wrap: break-word;
    vertical-align: top;
}

.viajeros th:first-child,
.viajeros td:first-child {
  position: sticky;
  left: 0;
  background-color: #f8f8f8;
  z-index: 2;
  box-shadow: 2px 0 5px rgba(0,0,0,0.05);
}

/* Fijar encabezado en scroll */
.viajeros thead th {
  position: sticky;
  top: 0;
  background-color: #f0f0f0;
  z-index: 3;
}


.viajeros th {
    font-family : Montserrat;
    font-size: .8rem;
    text-transform: uppercase;
    border-bottom: solid black 2px;
}

.viajeros td {
    font-family: MontserratLight;
    font-size: .7rem;
    text-align: center;
}

.imagen-tabla {
    max-width: 100px;
  height: auto;
  display: block;
}


    /* ESTILOS DE FORMULARIO ELIMINAR ACTUALIZAR Y EXPORTAR A PDF */

.actions {
    display: flex;
    space-between: justify-content;
}

.boton-acciones {
    margin:10px;
    border:none;
    border-radius: 10px;
    background-color:transparent;
    cursor: pointer;
    padding: 3px;
}

.boton-acciones:hover {
    background-color:blue;
}

        /* ESTILOS BOTONES PARA EXPORTAR */
.exportar_archivos {
    width: 20px;
}  

.cabecera {
    display: flex;
    align-items: center;
    margin: auto;
}

.excel {
    background-color: #A26D5D;
    
    border-radius: 10px;
    color: white;
    font-family: Montserrat;
    align-items: center;
    display: flex;
    padding: 0.3rem;
}

.excel:hover {
    background-color: white;
    color: #A26D5D;
    border:solid 1px #A26D5D;
}

.agregar {
    border:none;
    border-radius:10px;
    background-color: #A26D5D;
    color:white;
    font-family: Montserrat;
    padding: 1rem;
    margin: 1rem;
    text-decoration: none;
}

.agregar:hover {
    color:#A26D5D;
    background: white;
    border: solid #A26D5D 1px;
}

    /* ESTILOS FORMULARIO DE REGISTRO */
    
.formulario {
    width: 80%;
    margin: auto;
}    

.formulario p {
        font-size: 1rem;
        color: gray;
        margin: 2rem 0 0 0;
        font-family: MontserratLight;
    }
.formulario legend {
        font-size: 1rem;
        color: #D8C2AB;
        font-family : Montserrat;
    }

.formulario label {
        color:#A26D5D;
        font-size: 0.8rem;
        font-weight: bold;
        text-transform: uppercase;
        display: block;
        font-family : Montserrat;
        margin-top: 1rem;
        align-items: center;
    }
    
input:not([type="submit"]),
    textarea,
    select {
        padding: 1rem;
        background-color: white;
        border: 1px solid #D8C2AB;
        border-radius: 0.5rem;
        margin: 1rem;
    }
    
textarea {
        height: 2rem;
        width: 80%;
    }

    
input[type="radio"] {
        margin: 0;
        width: auto;
    }  
    
fieldset {
    margin: 2rem;
    border-radius: 1rem;
    border: solid #A26D5D 1px;
}    
    
fieldset div {
    display: flex;
    align-items: center;
}    

.boton-admin {
    padding: 1rem;
    border-radius: 0.8rem;
    text-align: center;
    font-family: Montserrat;
    background-color: #A26D5D;
    color: white;
    border: none;
    cursor: pointer;
    margin-left: 40%;
    margin-right: 40%;
    margin-bottom: 5%;
}

.boton-admin:hover {
    background-color: white;
    border: solid #A26D5D 1px;
    color: #A26D5D;
}

    /* ESTILOS DIV DE PAGINACION */
    
.paginacion {
    width: 50%;
    margin-left:40%;
    font-family: Montserrat;
    margin-top: 1rem;
    margin-bottom: 1rem;
}    

.paginacion a {
    color: #D8C2AB;
}

.paginacion a:hover {
    color: #A26D5D;
}
 
.contenedor-tabla {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}
 
    
    
    /* ESTILOS EN MÓVIL */
@media screen and (max-width: 800px) {
    fieldset div {
    display: block;
    align-items: center;
}   

input:not([type="submit"]),
    textarea,
    select {
        width: 90%;
        margin: auto;
    }
    
    .formulario {
    width: 100%;
} 

.filtros {
    width: 90%;
    margin-left:5%;
}

.filtros input {
    margin-bottom:5px;
}

small {
    display: block;    
}

.footer-links {
    display: block;
    align-items: center;
}

.footer {
    text-align: center;
}

.menu-toggle {
    display: block;
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 1001;
  }

  .navegacion {
    display: none;
    flex-direction: column;
    position: absolute;
    width: 90%;
    top: 6rem;
    right: 0;
    background: #3A3A3A;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
  }
  
  .navegacion a {
      margin: 10px;
      border-bottom: solid 1px white;
  }

  .navegacion.abierto {
    display: flex;
  }
  
  .boton-admin {
      width: 80%;
    margin-left: 10%;
    margin-right: 10%;
}

.menu-principal-img {
    margin-top: 0.5rem;
    margin-left: 0rem;  
}

.footer-logo {
    width: 50%;
    margin-left: 25%;
}

.menu-principal-img img {
    width: 90px;
}

.footer .menu-principal-img img {
    margin-left:5%;
    margin-right: 50%;
}

.footer-contacto {
    width:100%;
    text-align: center;
}
.iconos-sociales {
    display: flex;
    width: 50%;
    margin-left: 0%;
    margin-right: 25%;
}


.iconos-sociales a img {
    width: 55px;
    margin: 10px;
    text-align: center;
}

}
