.flipbook-container {
    position: relative;
}

.flipbook-container .navigation {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 999;
}

.flipbook-container .navigation button {
    background: none;
    outline: none;
    border: none;
    padding: 0.25em 0.5em;
    font-size: 1.2em;
    cursor: pointer;
}

.flipbook {
    width: 100%;
    height: 700px;
    margin: auto;
    overflow: hidden;
    border: 1px solid #ddd;
}
.flipbook .pdf-page {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.flipbook .turn-page-wrapper {
    border-left: 1px solid #ddd;
    margin-left: -1px;
}

.flipbook-container .loader {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.flipbook-container .loader .lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.flipbook-container .loader .lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-width: 8px;
    border-style: solid;
    border-color: #333 transparent transparent transparent; /* Replace #333 with your desired color */
}

.flipbook-container .loader .lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.flipbook-container .loader .lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.flipbook-container .loader .lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

