/* pdfreader.css */


/* From pdfreader.css - modified */
.book-container {
    /* Let the book element's aspect ratio define the height */
    position: relative;
}
.book {
    display: grid;
    width: 100%;
    max-width: 180vh; /* Max width to prevent it getting huge */
    margin: 0 auto;
    background-color: #f0f0f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    /* aspect-ratio will be set by JS */
}
.page {
    background-color: white;
    position: relative;
    overflow: hidden;
}
.page canvas {
    width: 100%;
    height: 100%;
    display: block;
}
#page-left.bg-transparent {
        background-color: transparent !important;
}

#top-controls {
    position: fixed; /* Use fixed to float over content */
    z-index: 50;
    cursor: move;
}

 
.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #84cc16; /* lime-500 */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Custom gold color (approximated) */
.text-custom-gold {
    color: #b8860b; 
}
.focus\:border-custom-gold:focus {
    border-color: #b8860b;
}
.focus\:ring-custom-gold:focus {
    --tw-ring-color: #b8860b;
}