/* spinner.css — Pantalla de carga para generación de PDFs */

#spinner-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

#spinner-overlay.spinner-visible {
    opacity: 1;
    pointer-events: all;
}

.spinner-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Anillo giratorio */
.spinner-ring {
    width: 64px;
    height: 64px;
    border: 6px solid rgba(242, 201, 76, 0.2);
    border-top-color: #f2c94c;
    border-radius: 50%;
    animation: spin 0.85s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Texto */
.spinner-msg {
    color: #f2c94c;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.spinner-submsg {
    color: #aaa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
    margin: 0;
    text-align: center;
}