
#pdf-wrapper {
    width: 80%;
    max-width: 100%;
    margin: 20px auto;
    text-align: center;
    border: 1px solid #ddd;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
#pres-aiot {
    border: 1px solid #000;
    direction: ltr;
    max-width: 100%; /* Responsive */
    display: block; 
    margin: 0 auto;
}
.controls {
    margin-bottom: 15px;
    font-family: sans-serif;
}
button {
    padding: 10px 20px;
    cursor: pointer;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
}
button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
span {
    margin: 0 15px;
    font-weight: bold;
}

#canvas-navigation-container {
    display: flex; /* Enables horizontal alignment */
    align-items: center; /* Vertically centers the canvas and buttons */
    justify-content: center; /* Centers the entire navigation block */
    max-width: 100%;
    margin: 20px auto; /* Add vertical spacing and horizontal centering */
}

/* Styling for the new arrow buttons */
.inline-nav-button {
    font-size: 30px; /* Make the arrows visible */
    padding: 0 10px;
    margin: 0 10px;
    height: 50px; /* Gives the button a fixed height */
    background: transparent;
    color: #333;
    border: 2px solid #333;
    transition: background 0.2s;
}

.inline-nav-button:hover:not(:disabled) {
    background: #eee;
}