/* BODY */
body {
    background: #f5f5f5;
    padding-top: 70px;
}

/* LOADING */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(255, 255, 255, 0.6);
    z-index: 9999;
}

/* WRAPPER (SOLO UNA VEZ) */
.galeria-wrapper {
    display: flex;
    justify-content: center;
    padding: 30px;
    position: relative;
    /* 🔥 IMPORTANTE para skeleton */
}

/* GALERÍA */
.galeria {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); */
    grid-template-columns: repeat(auto-fill, minmax(92px, 119px));
    gap: 15px;

    max-width: 1200px;
    width: 100%;
}

.galeria img {
    width: 100%;
    height: 100px;
    /* object-fit: cover; */
    /* display: block; */
}


/*para ponerrle a la foto de los muertos*/
/* .galeriaimg { filter: sepia(80%);}   */
.galeriaimgEPD {
    filter: grayscale(70%);
    /*  object-fit: cover;  */
}

/* .galeriaimg { object-fit: cover; } */

/* SKELETON (SIN absolute) */
.skeleton-card {
    width: 100%;
    height: 320px;
    border-radius: 10px;
    background: #e0e0e0;
    position: relative;
    overflow: hidden;
}

/* animación brillo */
.skeleton-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150px;
    width: 150px;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.6),
            transparent);
    animation: loading 1.2s infinite;
}

.hidden {
    display: none !important;
}

@keyframes loading {
    0% {
        left: -150px;
    }

    100% {
        left: 100%;
    }
}

.nombreccccc {
    width: 10px;
    /* Ajusta el ancho */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.idMesa {
    font-size: xx-small;
    position: absolute;
    top: 5px;
    left: 5px;
    color: white;
    background: #00000031;
    padding: 1px 5px;
    border-radius: 5px;
    font-weight: 900;
}

.idCedula {
    font-weight: 100;
    font-size: 14px;
}

.datoTxt {
    font-weight: 800;
    color: hsl(0, 0%, 0%);
}

.datoSmall {
    color: #7b7a7a;
    font-weight: 100;
    font-size: 12px;
}

/*  para que la imagenes no sea selecionada */
img {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.iconossvg {
    width: 30px;
    height: 30px;
    fill: red;
}