body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1 {
    color: #0056b3;
    text-align: center;
    margin-bottom: 20px;
}

.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

input[type="file"] {
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 4px;
}

button {
    background-color: #28a745;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #218838;
}

button.hidden {
    display: none;
}

#info-orden {
    font-size: 1.1em;
    margin-bottom: 15px;
    background-color: #e9ecef;
    padding: 10px;
    border-radius: 5px;
}

#tabla-container {
    overflow-x: auto; /* Para que la tabla sea responsive en pantallas pequeñas */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    font-size: 14px;
}

th {
    background-color: #007bff;
    color: white;
    position: sticky;
    top: 0;
}

tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Estilo para los inputs dentro de la tabla */
td input {
    width: 95%;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box; /* Para que el padding no afecte el ancho total */
}

td input:focus {
    outline: 2px solid #007bff;
}