.iframe-wrapper {
    position: relative;
    width: 100%;
    height: auto; /* Asegura que el contenedor crezca de manera dinámica */
    overflow: auto;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iframe-wrapper iframe {
    width: 100% !important;
    min-height: 90vh; /* Una altura mínima opcional */
}
.custom-iframe {
    display: block;
    visibility: hidden;
    margin: 0;
    padding: 0;
    border: none;
}
.loading-indicator {
    position: absolute;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: white !important;
    display: flex;
    justify-content: center;
    align-items: center;
}
.loading-indicator-child {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}
.lds-ring {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}
.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 51px;
    height: 51px;
    margin: 6px;
    border: 6px solid #3498db;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #3498db transparent transparent transparent;
}
.lds-ring div:nth-child(1) { animation-delay: -0.45s; }
.lds-ring div:nth-child(2) { animation-delay: -0.3s; }
.lds-ring div:nth-child(3) { animation-delay: -0.15s; }
@keyframes lds-ring {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}






/**********************************************************************************************************************
                                    ESTILOS PARA NO MOSTRAR LAS BARRAS DE DESPLAZAMIENTO
*********************************************************************************************************************/

/* Para todo el documento */
::-webkit-scrollbar {
    width: 0px; /* Ancho del scrollbar vertical */
    height: 0px; /* Ancho del scrollbar horizontal */
}
::-webkit-scrollbar-thumb {
    background-color: transparent; /* Color del pulgar */
    border-radius: 10px; /* Redondear esquinas del pulgar */
}
::-webkit-scrollbar-track {
    background: transparent; /* Color del fondo de pista */
}
/* Específicamente para iframes, si son del mismo dominio */
iframe::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}
iframe::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 10px;
}
iframe::-webkit-scrollbar-track {
    background: transparent;
}
/* Para el documento entero */
body {
    scrollbar-width: thin; /* Ancho fino */
    scrollbar-color: transparent; /* Color de pulgar y pista */
}
/* Aplicar al iframe */
iframe {
    scrollbar-width: thin;
    scrollbar-color: transparent;
}
.custom-iframe {
    overflow: hidden; /* Esconde barras de desplazamiento */
}
.custom-iframe::-webkit-scrollbar {
    width: 0px; /* Esconder scrollbar en Webkit browsers (e.g., Chrome, Safari) */
    height: 0px;
}
.custom-iframe {
    -ms-overflow-style: none;  /* IE y Edge */
    scrollbar-width: none;  /* Firefox */
}


/**********************************************************************************************************************
                                    END ESTILOS PARA NO MOSTRAR LAS BARRAS DE DESPLAZAMIENTO
*********************************************************************************************************************/
