/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f5f5f5;
}

@media print {
    body {
        visibility: hidden; /* Hide everything in the body */
    }

    #code-overlay {
        visibility: visible; /* Ensure the access code overlay is visible */
    }
}


#pdf-interface {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin-top: 20px;
}

#toolbar {
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

#toolbar button {
    padding: 5px 10px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}

#toolbar button:hover {
    background-color: #0056b3;
}

#toolbar input {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#pdf-container {
    width: 100%;
    overflow-y: auto;
    height: 80vh;
    border: 1px solid #ccc;
    background-color: #fff;
    padding: 10px;
}

canvas {
    display: block;
    margin: 20px auto;
}
