
/* Estilos CSS proporcionados */

body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(45deg, #282c34, #3a404d, #4e5663, #626a77, #767e8b, #8a929f, #9ea6b3, #b2bac7, #9ebbe0, #87beeb);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Estilos para la tabla */
table {
    width: 90%; /* Ajuste para mejor responsividad */
    max-width: 800px;
    border-collapse: collapse;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px; /* Espacio debajo de la tabla */
}

th, td {
    padding: 15px;
    text-align: center;
}

th {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.05);
}

tr:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* Estilo para el enlace "Volver a la vitrina" */
.volver-link {
    margin-top: 20px;
    font-size: 18px;
    text-align: center; /* Centrar texto */
    width: 100%; /* Ocupar todo el ancho */
}

/* Estilos para el botón "Buscar Factura" */
.btn-buscar-factura {
    background-color: #000; /* Fondo negro */
    color: white; /* Letras blancas */
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px; /* Espacio arriba del botón */
    margin-bottom: 20px; /* Espacio debajo del botón */
}

.btn-buscar-factura:hover {
    background-color: #333; /* Cambio de color al pasar el mouse */
}

/* Estilos para el modal */
.modal-header {
    background-color:rgb(95, 6, 236); /* Fondo azul */
    color: white; /* Letras blancas */
    width: 100%; /* Asegura que el fondo azul ocupe todo el ancho */
}

.modal-content {
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px; /* Bordes redondeados */
    overflow: hidden; /* Evita que el contenido se desborde */
}

.modal-dialog {
    max-width: 400px;
    width: 100%;
}

/* Estilos responsive */
@media (max-width: 768px) {
    table {
        width: 100%; /* Tabla ocupa el 100% del ancho en móviles */
        font-size: 14px; /* Reducir tamaño de fuente en móviles */
    }

    th, td {
        padding: 10px; /* Reducir padding en móviles */
    }

    h1 {
        font-size: 24px; /* Reducir tamaño del título en móviles */
    }

    .volver-link {
        font-size: 16px; /* Reducir tamaño del enlace en móviles */
    }
}

@media (max-width: 480px) {
    table {
        font-size: 12px; /* Reducir aún más el tamaño de fuente en pantallas pequeñas */
    }

    th, td {
        padding: 8px; /* Reducir aún más el padding */
    }

    h1 {
        font-size: 20px; /* Reducir tamaño del título en pantallas pequeñas */
    }

    .volver-link {
        font-size: 14px; /* Reducir tamaño del enlace en pantallas pequeñas */
    }
}
