.apoyo_contenedor_socios{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}
.container_socio1{
    background-color: rgb(255, 242, 127);
    margin-left: 5%;
    width: 25%;
    height: 35%;
    border-radius: 10px;
    margin-top: -25%;
}
.container_socio2{
    background-color: rgb(127, 255, 212);
    margin-left: 12%;
    width: 25%;
    height: 35%;
    border-radius: 10px;
    margin-top: -25%;
}
.container_socio3{
    background-color: rgb(255, 127, 251);
    margin-left: -62%;
    width: 25%;
    height: 35%;
    border-radius: 10px;
    margin-top: 15%;
}
.container_socio4{
    background-color: rgb(127, 232, 255);
    margin-left: 12%;
    width: 25%;
    height: 35%;
    border-radius: 10px;
    margin-top: 15%;
}
.contenedor_socio3{
    display:flex;
    justify-content: center;
    background-size: cover;
    border-radius: 10px;
    margin: 5%;
    margin-top: 2%;
}
.container_voluntario{
   width: 900px;
   height: 450px;
   margin-top: -10%;
   background-color: rgba(127, 255, 212, 0.453);
   border-radius: 10px;
}       
#texto_portada_apoyo{
    background-color: rgba(127, 236, 255, 0.453);
    height: fit-content;
    width: 100%;
    align-content: center;
    text-align: center;
    margin-top: 42.5%;
    animation: deslizarY 2s ease-out;
}
.contenedor_foto_apoyo{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-image: url(fotos/2.4.JPG);
    margin: 5%;
    margin-top: 0%;
}
.contenedor_soc1{
    background-size: cover;
    width: 35%;
    height: 75%;
}
.contenedor_soc2{
    background-size: cover;
    width: 35%;
    height: 75%;
    margin-left: 5%;
}
.socio_desc1{
    display: flex;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 20%;
    background-color: rgba(127, 255, 212, 0.308);
    margin-top:2%;
    font-family:'Lato',Sans-serif;
}
.socio_desc1:hover{
    transform: scale(1.1);
    filter: contrast(2);
    color: grey;
    cursor: pointer;
    transition: transform 0.5s ease;
}
.socio_desc2{
    display: flex;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 40%;
    background-color: rgba(127, 255, 212, 0.357);
    margin-top:2%;
    font-family:'Lato',Sans-serif;
}
.vol-3 img:hover{
    transform: scale(1.1);
    transition: transform 0.4s ease;
}
.socio_titulo
{
    padding: 10px;
    text-align: center;
    justify-content: center;
    font-family:'Lato',Sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: rgba(230, 1, 1, 0.96);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    margin-top: 75%;
    border-radius: 10px;
}
.contenedor_soc1 img:hover,.contenedor_soc2 img:hover{
    transform: scale(1.1);
    filter: saturate(3);
    cursor: pointer;
}

.vol-3{
    margin-top: 2%;
    text-align: center;
    height: 35%;
    width: 100%;
    display: block;
    background-color: rgba(26, 159, 224, 0.4);
}
.vol-2 img{
    width: 100%;
    height: 98%;
    background-size: contain;
    border-radius: 10px;
    transition: transform 0.5s ease; /* Agrega una transición suave para un efecto más agradable */

}
.vol-2 img:hover{
    transform: scale(1.1);
    filter: saturate(1.3);
}
.profile-vol{
    width: 20%;
    height: 90%;
    display: block;
    margin-left: 1%;
    font-family:'Lato',Sans-serif;
    align-self: center;
    margin: 0 auto;
}
.experiencia-vol{
    display: block;
    width: 40%;
    margin-left: 1%;
    height: 90%;
    margin: 0 auto;
    text-align: center;
    font-family: 'Comic Sans MS', cursive;
}
.txt-exp{
    display: flex;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 90%;
    /*background-color: rgba(127, 255, 212, 0.308);*/
    margin-top:2%;
    font-family:'Lato',Sans-serif;
}
.foto-exp{
    width: 35%;
    margin-left: 2%;
    height: 90%;
    border-radius: 7px;
    background-color: rgb(255, 0, 162);
}
.profile-photo{
    width: 65%;
    margin-left: 1%;
    height: 30%;
    margin: 0 auto;
}
.profile-photo img {
    border-radius: 50%;
    max-width: 95%;
    height: auto;
    width: 75%;
    height: 95%;
}
.vol-info{
    width: 95%;
    height: 40%;
    font-family:'Lato',Sans-serif;
}
#tit-exp{
    text-align: left;
    font-weight: bold;
    color: blue;
    margin-top: 2%;
}
.portada_apoyo{
    display: flex;
    height: 60%;
    width: 100%;
    
}
@media screen and (max-width:1000px){
    .ini_contenedor_portada{
        height: 100vh;
        flex-direction: column;
    }
    .contenedor_soc1,.contenedor_soc2{
        background-size: cover;
        width: 95%;
        margin: 0 auto;
        height: 55%;
    }
    .socio_desc1:hover{
        transform: scale(1.04);
    }
    h2{
        margin-bottom: 20%;
        margin-top: 50px;
        padding: 10px;
    }
    .portada_apoyo{
        max-width: 100%;
        display: block;
        max-height: 95%;
        height: 100vh;
    }
    .profile-vol{
        width: 85%;
        height: 35%;
    }
    .experiencia-vol{
        max-height: 80%;
        display: block;
    }
}
/* Contenedor principal */
/* Estilos para la sección de apoyo */

.contenedor-apoyo {
    position: relative;
    width: 60%;  /* Ancho controlado en pantallas grandes */
    max-width: 1200px;
    background-color: #5876d893; /* Fondo azul solo en los laterales */
    padding: 0 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.portada-apoyo {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    /*background-color: white;*/
}

.imagen-portada2 {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    max-width: 1000px; /* Limita el tamaño en pantallas grandes */
}

.fondo-portada {
    width: 100%;
    object-fit: cover; /* Asegura que la imagen cubra completamente el contenedor */
    max-height: 600px;
    display: block;
    margin: auto;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
}


/* Texto sobre la imagen */
.texto-portada {
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 100%;
    padding: 10px 15px;
    background:linear-gradient(to top, rgba(0, 0, 0, 0.8),rgba(0, 0, 0, 0.6),rgba(0, 0, 0, 0)); /* Más sutil */
    color: white;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    box-sizing: border-box;
}

/* RESPONSIVIDAD PARA PANTALLAS PEQUEÑAS */
@media screen and (max-width: 1080px) {
    .contenedor-apoyo {
        width: 100%;
        background-color: transparent; /* Quita fondo azul */
        padding: 0;
    }

    .fondo-portada {
        width: 100%;
        max-height: none; /* Evita que la imagen se haga demasiado pequeña */
    }

    .texto-portada {
        width: 100%;
        max-width: 100%;
        font-size: 15px; /* Reduce tamaño del texto */
        padding: 7px;
        bottom: 0%; /* Mantiene margen desde abajo */
        background:linear-gradient(to top, rgba(0, 0, 0, 0.8),rgba(0, 0, 0, 0.6),rgba(0, 0, 0, 0)); /* Más sutil */
    }
}
 h1, h2 {
            color: #333;
        }
        input, textarea, button {
            width: 100%;
            max-width: 400px;
            margin: 10px 0;
            padding: 10px;
            font-size: 16px;
        }
        textarea {
            width: 100%;
            max-width: 400px;
            height: 100px;
            resize: none; 
        }

        button {
            background-color: #007bff;
            color: white;
            border: none;
            cursor: pointer;
        }
        button:hover {
            background-color: #0056b3;
        }
        #voluntariadoForm, #loginSection, #logoutButton {
            background:white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
            margin: 20px auto;
            max-width: 500px;
        }
        #voluntariado {
            margin-top: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .experiencia {
            background: white;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
            margin-bottom: 10px;
            text-align: center;
            width: 90%;
            max-width: 1000px;
        }
        .experiencia img {
            max-width: 100%;
            max-height: 400px;
            width: auto;
            height: auto;
            display: block;
            margin: 10px auto;
            border-radius: 5px;
            object-fit: cover;
        }
        .experiencia a {
            display: block;
            margin-top: 10px;
            color: #007bff;
            text-decoration: none;
        }
        .experiencia button {
            max-width: 120px;
            background-color: red;
        }
        
.experiencia {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    width: 95%;
    max-width: 900px; /* Más ancho en pantallas grandes */
    position: relative;
    font-family: Arial, sans-serif;
}

/* Contenedor de la cabecera con foto de perfil y nombre */
.experiencia-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

/* Imagen de perfil más pequeña y alineada al lado */
.experiencia-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #007bff;
}

/* Nombre del voluntario */
.experiencia-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

/* Información adicional */
.experiencia p {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    text-align: left;
}

/* Enlace de Instagram */
.experiencia a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.experiencia a:hover {
    text-decoration: underline;
}

/* Imágenes de apoyo en cuadrícula responsiva */
.experiencia-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Se adapta automáticamente */
    gap: 8px;
    margin-top: 12px;
}

.experiencia-images img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 5px;
}

/* Botón de eliminar */
.experiencia button {
    background-color: red;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    transition: background 0.3s;
    display: block;
    text-align: center;
}
/*PERFIL Y PUBLICACION DE CADA VOL*/
/* Contenedor principal */

.voluntario-card {
    max-width: 1000px;
    background: linear-gradient(135deg, #6e8ffba6, #77c4e3a3);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    font-family: 'Poppins', sans-serif;
    color: white;
    text-align: left;
    margin: auto;
    transition: transform 0.3s;
}

.voluntario-card:hover {
    transform: scale(1.01);
    cursor: pointer;
}

/* Contenedor de perfil e info alineados en una fila */
.perfil-container {
    display: flex;
    align-items: center;
    gap: 180px;
}

/* Foto de perfil alineada a la izquierda */
.perfil-container img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    /*border: 4px solid white;*/
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

/* Info alineada a la derecha de la imagen */
.info {
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    flex: 1;
}

.info h2 {
    font-size: 24px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.info p {
    text-align: center;
    font-size: 16px;
    margin: 5px 0;
}
.info h2{
    font-size: 32px; /* Más grande */
    font-weight: bold;
    text-transform: uppercase;
    background: linear-gradient(45deg, #ff8c00, #ff662e); /* Degradado en el texto */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* Hace el texto degradado */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Sombreado ligero */
    margin-bottom: 5px;
}

.info i {
    margin-right: 8px;
    color: yellow;
}

/* Descripción más amplia */
.descripcion {
    max-width: 900px;
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px !important; /* Texto más grande */
    font-weight: bold;
    text-align: center;
    margin: 20px auto;

}

/* Galería más amplia */
/* Ajuste de la galería para imágenes más anchas */
.galeria {
    display: flex;
    gap: 10px;
    overflow-x: auto; /* Permite desplazamiento horizontal */
    scroll-snap-type: x mandatory; /* Hace que las imágenes encajen al desplazarse */
    padding-bottom: 10px;
    scroll-behavior: smooth;
    position: relative;
    overflow-x: scroll !important;
}


.galeria img {
    width: 500px;  /* Más anchas */
    height: 350px; /* Más proporcionadas */
    object-fit:cover;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    scroll-snap-align: center; 
}
.galeria::-webkit-scrollbar {
    height: 10px; /* Altura del scrollbar horizontal */
  }
  
  .galeria::-webkit-scrollbar-track {
    background: #e0e0e0;  /* Fondo del track */
    border-radius: 10px;
  }
  
  .galeria::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #aca8f0, #8781b2b3); /* Degradado lila */
    border-radius: 10px;
    transition: background-color 0.3s ease;
  }
  
  .galeria::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #7584cd, #7e57c2); /* Hover más suave */
  }
.ver-mas {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 16px;
    text-decoration: none;
    color: white;
    background: #6a81b4;
    padding: 8px 15px;
    border-radius: 5px;
    transition: 0.3s ease;
}


.ver-mas:hover {
    background: #8fa5d2;
}
.galeria img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Agregamos un efecto de scroll suave */
.galeria::-webkit-scrollbar {
    height: 8px; /* Altura del scrollbar */
    width: 8px; /* Añadir ancho al scrollbar si es necesario */
}
.boton-visitar {
    display: block;
    max-width: 100px;
    margin: 0 auto;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #027cc8;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.boton-visitar:hover {
    background-color: #2560c0;
    color: white;
}
.contenedor-scroll {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
  gap: 20px;
}

.carrusel {
  display: flex;
  gap: 20px;
}

.proyecto-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  width: 320px;
  min-width: 320px;
  flex-shrink: 0;
  padding: 15px;
  transition: transform 0.3s ease;
}

.proyecto-card:hover {
  transform: scale(1.02);
}

.imagenes-proyecto {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  margin-top: 10px;
}

.imagen-proyecto {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.descripcion-proyecto {
  margin-top: 10px;
}

.btn-ver-pdf,
.btn-ubicacion {
  display: inline-block;
  margin: 5px 5px 0 0;
  padding: 6px 10px;
  background-color: #4CAF50;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9rem;
}

.btn-eliminar {
  margin-top: 10px;
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
}

.boton-nav {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 1.5rem;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 100;
}

.boton-nav.izquierda {
  left: 0;
}

.boton-nav.derecha {
  right: 0;
}





.experiencia button:hover {
    background-color: darkred;
}

/* Estilos responsivos */
@media (min-width: 1024px) {
    .experiencia {
        max-width: 1000px; /* Aumenta el ancho en pantallas grandes */
        padding: 25px;
    }

    .experiencia-images {
        grid-template-columns: repeat(3, 1fr); /* 3 imágenes por fila en pantallas grandes */
    }

    .experiencia-header img {
        width: 60px;
        height: 60px;
    }

    .experiencia-header h3 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .experiencia {
        max-width: 95%; /* Se adapta mejor en tablets y móviles */
    }

    .experiencia-images {
        grid-template-columns: repeat(2, 1fr); /* 2 imágenes por fila en pantallas medianas */
    }
    .perfil-container {
        flex-direction: column; /* Cambia de fila a columna */
        align-items: center; /* Centra los elementos */
        gap: 20px; /* Reduce el espacio */
        text-align: center; /* Centra el texto */
    }

    .perfil-container img {
        width: 150px; /* Reduce el tamaño de la imagen */
        height: 150px;
    }

    .info h2 {
        font-size: 28px; /* Reduce un poco el tamaño del nombre */
    }

    .info p {
        font-size: 16px; /* Ajusta el tamaño del texto */
    }

    .descripcion {
        font-size: 18px; /* Hace que el texto sea más legible */
        padding: 15px;
    }

    .galeria {
        grid-template-columns: repeat(2, 1fr); /* Muestra 2 imágenes por fila */
    }
}

@media (max-width: 480px) {
    .galeria {
        grid-template-columns: repeat(1, 1fr); /* Una sola imagen por fila */
    }

    .descripcion {
        font-size: 16px;
    }

    .info h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .experiencia-images {
        grid-template-columns: repeat(1, 1fr); /* 1 imagen por fila en pantallas pequeñas */
    }
}



/*SOCIOSSS*/

#sociosFormContainer {
  max-width: 420px;
  margin: 40px auto 30px auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.13), 0 1.5px 4px rgba(0,0,0,0.08);
  padding: 32px 32px 24px 32px;
  font-family: 'Segoe UI', Arial, sans-serif;
  transition: box-shadow 0.2s;
}

#sociosFormContainer h2 {
  text-align: center;
  margin-bottom: 18px;
  color: #1a3a4a;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

#formSocios label {
  display: block;
  margin: 16px 0 6px 0;
  font-weight: 500;
  color: #1a3a4a;
}

#formSocios input[type="file"],
#formSocios input[type="url"] {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid #bcd0e5;
  border-radius: 7px;
  font-size: 1rem;
  margin-bottom: 10px;
  background: #f8fafc;
  transition: border-color 0.2s;
}

#formSocios input[type="file"]:focus,
#formSocios input[type="url"]:focus {
  border-color: #2b7cff;
  outline: none;
}

#formSocios button[type="submit"] {
  width: 100%;
  padding: 12px 0;
  background: linear-gradient(90deg, #2b7cff 0%, #1a3a4a 100%);
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  border: none;
  border-radius: 7px;
  margin-top: 18px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(43,124,255,0.08);
  transition: background 0.2s, box-shadow 0.2s;
}

#formSocios button[type="submit"]:hover {
  background: linear-gradient(90deg, #1a3a4a 0%, #2b7cff 100%);
  box-shadow: 0 4px 16px rgba(43,124,255,0.13);
}

.sphere-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 40px auto 30px auto;
  max-width: 1200px;
  background: #f8fafc;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
  padding: 32px 0 24px 0;
  width: 96vw;
  box-sizing: border-box;
  overflow: hidden; /* evitar scroll horizontal por canvas */
}

/* Canvas responsivo y bien proporcionado */
.sphere-logos canvas#logoSphere {
  display: block;
  margin: 0 auto;
  border-radius: 18px;
  background: #eaf1fa;
  width: 100% !important;
  height: 38vw !important;
  max-width: 1150px;
  max-height: 500px;
  min-width: 260px;
  min-height: 180px;
  aspect-ratio: 2.2/1;
  /* El aspect-ratio ayuda a mantener la proporción en pantallas delgadas */
}

/* Lista oculta solo para TagCanvas */
#logoList {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Los logos dentro de la nube */
#logoList li {
  display: inline-block;
  margin: 0;
  padding: 0;
}
#logoList a {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;      /* Puedes usar 50% si quieres burbuja, o 12px para esquinas suaves */
  background: #ffffffcc;
  box-shadow: 0 2px 8px rgba(43,124,255,0.08);
  transition: transform 0.18s, box-shadow 0.18s;
  width: 90px;
  height: 90px;
  overflow: hidden;
}

#logoList img {
  width: 100%;
  height: 100%;
  object-fit: contain;      /* ¡Esto es clave! */
  border-radius: 12px;      /* O 0 si quieres esquinas rectas */
  background: #fff;
  border: 2px solid #bcd0e5;
  transition: border-color 0.18s;
}

#logoList a:hover {
  transform: scale(1.13) rotate(-3deg);
  box-shadow: 0 4px 16px rgba(43,124,255,0.18);
  background: #eaf1fa;
}

#logoList a:hover img {
  border-color: #2b7cff;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .sphere-logos {
    max-width: 99vw;
    padding: 18px 0 12px 0;
  }
  .sphere-logos canvas#logoSphere {
    width: 99vw !important;
    height: 90vw !important;      /* Más alto */
    max-width: 99vw;
    max-height: 90vh;             /* Aprovecha alto de pantalla */
    min-height: 220px;
    aspect-ratio: 1/1;            /* Cuadrado */
  }
  #logoList a,
  #logoList img {
    width: 72px;
    height: 72px;
  }
}

/* Móvil */
@media (max-width: 600px) {
  .sphere-logos canvas#logoSphere {
    aspect-ratio: 1 / 1;
    height: auto !important;
    width: 100vw !important;
    max-width: 100vw;
    max-height: none;
    min-height: 180px;
  }
  #logoList a {
    width: 56px;
    height: 56px;
  }
  #logoList img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 12px;
  }
}
/*SOCIOS 2.0*/
#adminLogosWrapper {
  width: 100%;
  max-width: 100vw;       /* Que no se pase del viewport */
  overflow-x: auto;
  white-space: nowrap;
  padding: 1rem 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* scroll suave en iOS */
  box-sizing: border-box;
}

/* Lista como carrusel horizontal */
#logoListAdmin {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0 10px; /* padding para que no pegue a bordes */
  margin: 0;
  flex-wrap: nowrap;  /* evitar que los logos bajen a otra fila */
}

/* Tarjeta individual de logo */
#logoListAdmin li {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 140px;
  padding: 8px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  flex-shrink: 0; /* evita que se encojan al hacer scroll */
}

/* Imagen del logo */
#logoListAdmin img {
  height: 60px;
  object-fit: contain;
  margin-bottom: 6px;
  max-width: 100%; /* para evitar overflow horizontal */
}

/* Botón Eliminar */
#logoListAdmin button {
  background-color: #e63946;
  color: #fff;
  border: none;
  padding: 4px 8px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  transition: background-color 0.2s ease-in-out;
}

#logoListAdmin button:hover {
  background-color: #d62828;
}

/* --- Media queries para pantallas pequeñas --- */

/* Pantallas menores a 768px (tablets, móviles grandes) */
@media (max-width: 768px) {
  #logoListAdmin li {
    min-width: 110px; /* más pequeño para caber más */
    padding: 6px;
  }
  #logoListAdmin img {
    height: 50px;
    margin-bottom: 4px;
  }
  #logoListAdmin button {
    font-size: 11px;
    padding: 3px 6px;
  }
}

/* Pantallas menores a 480px (móviles pequeños) */
@media (max-width: 480px) {
  #logoListAdmin li {
    min-width: 90px; /* aún más pequeño */
    padding: 4px;
  }
  #logoListAdmin img {
    height: 40px;
    margin-bottom: 3px;
  }
  #logoListAdmin button {
    font-size: 10px;
    padding: 2px 5px;
  }
}