.flipbook-wrapper-2304 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    font-family: inherit;
    --shadow-intensity: 0.5;
}

.flipbook-placeholder-2304 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background: #f5f5f5;
    border: 2px dashed #ccc;
    border-radius: 8px;
    text-align: center;
    color: #666;
}

.flipbook-placeholder-2304 .placeholder-icon i,
.flipbook-placeholder-2304 .placeholder-icon svg {
    font-size: 48px;
    width: 48px;
    height: 48px;
    fill: #999;
    color: #999;
    margin-bottom: 15px;
}

.flipbook-toolbar-2304 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #333;
    padding: 10px 15px;
    border-radius: 6px;
    color: #fff;
}

.flipbook-toolbar-2304 button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.flipbook-toolbar-2304 button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.flipbook-toolbar-2304 button i,
.flipbook-toolbar-2304 button svg {
    font-size: 16px;
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.fb-page-info {
    font-size: 14px;
    font-weight: 600;
}

.fb-toolbar-right {
    display: flex;
    gap: 5px;
}

.flipbook-container-2304 {
    position: relative;
    width: 100%;
    min-height: 500px;
    background-color: #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flipbook-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
}

.flipbook-loader .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0,0,0,0.1);
    border-left-color: #333;
    border-radius: 50%;
    animation: fb-spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes fb-spin {
    to { transform: rotate(360deg); }
}

.flipbook-book-2304 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    max-width: 100%;
    max-height: 100%;
    overflow: auto;
    padding: 20px;
}

.fb-page-canvas {
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px calc(15px * var(--shadow-intensity)) rgba(0,0,0,calc(0.3 * var(--shadow-intensity)));
    background: #fff;
}

/* Fullscreen mode */
.flipbook-wrapper-2304:fullscreen {
    background: #111;
    padding: 20px;
    max-width: none;
    height: 100vh;
}
.flipbook-wrapper-2304:fullscreen .flipbook-container-2304 {
    flex: 1;
    background: transparent;
}
