/* Estilos generales para el cuerpo de la página */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f7f9;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Estilo para el contenedor principal de la aplicación */
.container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 800px;
    text-align: center;
}

/* Estilo para el título principal */
h1 {
    color: #0056b3;
    margin-bottom: 20px;
    font-size: 2em;
}

/* Estilo para los títulos de sección */
h2 {
    color: #444;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-top: 30px;
    margin-bottom: 20px;
}

/* Estilo del formulario y los campos */
form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

label {
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #555;
}

input[type="file"],
input[type="text"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Asegura que el padding no afecte el ancho */
    font-size: 1em;
}

textarea {
    resize: vertical; /* Permite redimensionar verticalmente */
    min-height: 50px;
}

/* Estilo de los botones */
button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

/* Estilo para el mensaje de carga */
#loading {
    margin-top: 20px;
    font-size: 1.2em;
    color: #007bff;
}

/* Estilo para los resultados (datos extraídos) */
#results {
    margin-top: 20px;
    text-align: left;
    width: 100%;
}