#openBook { margin: 0px; padding: 10px 20px;border: none;cursor: pointer;}
.overlay {display: none;position: fixed;top: 0; left: 0;width: 100vw; height: 100vh;background: rgba(255,255,255,0.6);z-index: 999;}
.modal {position: absolute;width: 90vw;height: 90vh;background: transparent;margin: auto;box-shadow: none;display: flex;justify-content: center;align-items: center;overflow: hidden;top: 5vh;left: 5vw;cursor: move;background: rgba(22,22,22,0.8);}
.closeBtn {position: absolute;top: 10px;right: 20px;font-size: 36px;cursor: pointer;font-weight: bold;color: white;z-index: 1000;}
.pagess {width: 100%;height: 100%;display: block;overflow: hidden;z-index: 1;}
.pagess canvas {width: 100%;height: 100%;object-fit: contain;}
.arrow-controls {position: absolute;bottom: 20px;left: 50%;transform: translateX(-50%);z-index: 1001;display: flex;justify-content: center;align-items: center;}
.arrow-controls button {background: rgba(159,154,154,0.9);border: none;margin: 0 10px;padding: 10px;border-radius: 50%;cursor: pointer;transition: background 0.3s;}
.arrow-controls button:hover {background: rgba(255,255,255,0.5);}
.arrow-controls img {width: 32px;height: 32px;}
#flipbook {display: none;width: 90%;height: 90%;cursor: zoom-in;flex-shrink: 0;position: absolute;left: 0px;top: 0px;cursor: grab;z-index: 10;}    
#flipbook .page {width: 100%;height: 100%;pointer-events: none;}
#flipbook .page canvas {width: 100% !important;height: 100% !important;object-fit: contain;}
#loadingText{position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);font-size: 26px;font-weight: bold;color: white;text-shadow: 1px 1px 4px rgba(0,0,0,0.6);z-index: 1002;display: none;  } 
#loadingIcon {position: absolute;top: 43%;left: 50%;transform: translate(-50%, -50%);width: 90px;height: 90px;z-index: 1003;display: none;animation: spin 3s linear infinite;}
.content_div2 {overflow: hidden;width: 1200px;margin: 30px auto;}
@keyframes spin {from { transform: translate(-50%, -50%) rotate(0deg); }to   { transform: translate(-50%, -50%) rotate(360deg); }}