/* Flipbook Container */
.wr-flipbook-container {
    position: relative;
    width: 100%; /* Now responsive */
    max-width: 1152px; /* Maintain a max limit */
    height: auto;
    margin: auto;
}

/* Flipbook */
/*.wr-flipbook {
    width: 100%;
    height: auto;
}*/

/* Flipbook Pages */
.wr-flipbook .turn-page {
    background-color: transparent; /* Removes gray background */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: inset 0px 0px 10px rgba(0,0,0,0.3); /* Adds page shadow */
}

/* Remove Extra Space Between Pages */
.wr-flipbook {
    margin: 0 auto; /* Centers the flipbook */
    padding: 0; /* Removes extra padding */
    border: none; /* Ensures pages are directly connected */
}

/* Navigation Arrows */
.wr-flipbook-nav-arrow {
    position: absolute;
    top: 0;
    width: 30px;
    height: 100%; /* Only spans image height */
    background: rgba(150, 150, 150, 0.8);
    color: white;
    font-size: 24px;
    text-align: center;
    cursor: pointer;
    display: none;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Positioning */
.wr-flipbook-left-arrow {
    left: -30px;
    border-radius: 30px 0 0 30px;
    z-index: 4;
}

.wr-flipbook-right-arrow {
    right: -30px;
    border-radius: 0 30px 30px 0;
    z-index: 4;
}

/* Pagination Bar */
.wr-flipbook-page-slider-container {
    width: 100%;
    max-width: 1152px;
    margin: 10px auto;
    text-align: center;
}

.wr-flipbook-page-slider {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
}

.wr-flipbook-page-number {
    font-size: 18px;
    font-weight: bold;
    display: block;
    margin-top: 5px;
}