/* Estilos para o relatório PDF */
.pdf-report {
    background: white;
    color: black;
    font-family: 'Arial', sans-serif;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.pdf-header {
    text-align: center;
    border-bottom: 2px solid #3498db;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.pdf-header h1 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.pdf-header p {
    color: #7f8c8d;
    font-size: 16px;
}

.pdf-patient-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.pdf-patient-info h2 {
    color: #2c3e50;
    margin-top: 0;
}

.pdf-patient-info p {
    margin: 8px 0;
}

.pdf-section {
    margin-bottom: 30px;
    page-break-inside: avoid;
}

.pdf-section h3 {
    color: #2c3e50;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.pdf-audiograms {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.pdf-audiogram {
    flex: 1;
    text-align: center;
}

.pdf-audiogram h4 {
    color: #e74c3c;
    margin-bottom: 10px;
}

.pdf-audiogram img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.pdf-results, .pdf-recommendations {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

.ear-comparison {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.ear-result {
    flex: 1;
    padding: 15px;
    border-radius: 8px;
    background: white;
    border: 1px solid #eee;
}

.ear-result.od {
    border-left: 4px solid #e74c3c;
}

.ear-result.oe {
    border-left: 4px solid #3498db;
}

.ear-result h5 {
    margin-top: 0;
    color: #2c3e50;
}

.result-value {
    font-weight: bold;
    color: #27ae60;
}

.pdf-footer {
    text-align: center;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    color: #7f8c8d;
    font-size: 12px;
    margin-top: 40px;
}