.flipbook-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #333;
    overflow: hidden;
    font-family: sans-serif;
}

.flipbook-stage {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.flipbook-page {
    background-size: 100% 100% !important;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.flipbook-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 60px;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    z-index: 9999;
    user-select: none;
    padding: 20px;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    transition: all 0.2s;
}

.flipbook-arrow:hover {
    color: #FFF;
    scale: 1.1;
}

.flipbook-prev {
    left: 20px;
}

.flipbook-next {
    right: 20px;
}

/* Modal styles */
.flipbook-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
}

.flipbook-modal-overlay.active {
    display: flex;
}

.flipbook-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 100000;
    line-height: 1;
}

.flipbook-modal-content {
    width: 100%;
    height: 100%;
}

.flipbook-modal-content .flipbook-wrapper {
    height: 100vh;
}

.flipbook-trigger {
    cursor: pointer;
}