.table-facturas-container {
    overflow-x: auto;
    width: 100%;
}
.table-facturas-container table {
    width: 1000px; /* Puedes ajustar el ancho según sea necesario */
    border-collapse: collapse;
}
.table-facturas-container th, .table-facturas-container td {
    border: 1px solid #ddd;
    padding: 8px;
}
.table-facturas-container th {
    background-color: #f2f2f2;
}




#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Negro oscuro */
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white; /* Letras blancas */
    font-family: 'Arial', sans-serif;
}

#overlay.show {
    display: flex;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.spinner {
    border: 8px solid rgba(255, 255, 255, 0.2); /* Semi-transparent border */
    border-top: 8px solid #ffffff; /* Blanco para que combine con el texto */
    border-radius: 50%;
    width: 70px;
    height: 70px;
    animation: spin 1.5s linear infinite;
    margin-bottom: 20px; /* Espacio entre el spinner y el texto */
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }


  .loading-text {
    font-size: 22px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Ligera sombra para dar profundidad */
    animation: pulse 1.5s ease-in-out infinite; /* Animación de pulsación */
    letter-spacing: 1px;
    color: white; /* Asegurar que el texto sea blanco */
  }

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
  }
.message {
    color: white;
    font-size: 1.5em;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
}

#content {
    position: relative;
    z-index: 1;
}