body, html {
    height: 100%;
}

.pdf-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1050; /* Higher than Bootstrap's modal z-index */
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-overlay iframe {
    width: 90%;
    height: 90%;
    border: 1px solid #333;
}

#pdfViewerOverlay #closePdfButton {
    position: absolute;
    top: 15px; /* Adjusted position */
    right: 15px; /* Adjusted position */
    font-size: 4rem; /* Doubled font size for the text X */
    font-weight: 900; /* Made it much thicker */
    background-color: red; /* Make the background red */
    border-radius: 50%; /* Make it circular */
    padding: 0; /* Remove padding to make the circle tighter around the X */
    color: white; /* Make the X white */
    display: flex; /* Use flexbox to center the X */
    align-items: center;
    justify-content: center;
    transform: translateY(-5%); /* Fine-tune vertical alignment */
    width: 4.5rem; /* Ensure sufficient width for padding and centering (4.5rem is 72px, 4rem font-size is 64px) */
    height: 4.5rem; /* Ensure sufficient height for padding and centering */
    line-height: 1; /* Adjust line-height to help vertical centering */
    z-index: 1060; /* Ensure it's above the iframe and overlay */
}

#resultsContainer .list-group-item {
    cursor: pointer;
}

#resultsContainer .list-group-item:hover {
    background-color: #f8f9fa;
}

.raoul-logo {
    max-width: 150px;
}
