.render-pdf {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

/* Overlay de càrrega en generar el PDF */
#pdf-carrega {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(0, 0, 0, .6);
}
#pdf-carrega .pdf-spinner {
    width: 56px;
    height: 56px;
    border: 6px solid rgba(255, 255, 255, .5);
    border-top-color: #ad2937;
    border-radius: 50%;
    animation: pdf-gira 1s linear infinite;
}
#pdf-carrega .pdf-missatge {
    display: block !important;
    opacity: 1 !important;
    color: #fff !important;
    font: 600 18px Roboto, Arial, sans-serif;
    text-align: center;
    padding: 0 16px;
}
@keyframes pdf-gira {
    to { transform: rotate(360deg); }
}
