body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f4f4f4;
    padding: 20px;
}

header {
    background: #1F00BD;
    color: white;
    padding: 15px;
    font-size: 1.5em;
}

.upload-section, .text-output, .tts-controls {
    margin: 20px auto;
    padding: 15px;
    font-size: medium;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    max-width: 1500px;
}

.upload-section label {
    font-size: 1.5em; 
    font-weight: bold;
}

/* ⬇️ Mejora de visibilidad para el selector de archivo */
#pdfFile {
    font-size: 1rem;  /* Aumenta el tamaño de la fuente */
    padding: 8px 10px;
    border: 2px solid #1F00BD;
    border-radius: 5px;
    background-color: #e8e8ff;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    max-width: 90%;
    margin-top: 0.5rem;
}

#pdfFile:hover,
#pdfFile:focus {
    background-color: #d0d0ff;
    border-color: #000407;
    outline: none;
}

/* Estilo del contenedor de texto extraído */
#highlightContainer {
    overflow-y: auto;
    max-height: 400px;
    border: 1px solid #ccc;
    padding: 20px;
    font-size: larger;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 20px auto;
    max-width: 1000px;
    text-align: left;
    word-break: break-word;
    font-weight: bold;
}

#highlightContainer p {
    margin-bottom: 20px;
}

.highlight {
    background-color: #FFFF00;
}

/* Estilos de los botones */
button {
    margin: 10px;
    padding: 15px 25px;
    font-size: 1.5em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background: #1F00BD;
    color: white;
}

button:hover {
    background: #000407;
}