.wp-flipbook-wrapper {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 16px 0 0;
    border-radius: 4px;
    overflow: hidden;
}

.wp-flipbook-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.wp-flipbook-loader {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #fff;
    font-family: sans-serif;
    font-size: 14px;
    min-height: 200px;
}

.wp-fb-loader-text {
    color: #ccc;
    font-size: 13px;
}

.wp-fb-spinner {
    width: 48px;
    height: 48px;
    animation: wp-fb-rotate 2s linear infinite;
}

.wp-fb-spinner .path {
    stroke: #ffffff;
    stroke-linecap: round;
    animation: wp-fb-dash 1.5s ease-in-out infinite;
}

@keyframes wp-fb-rotate {
    100% { transform: rotate(360deg); }
}

@keyframes wp-fb-dash {
    0%   { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
    50%  { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

.wp-flipbook-book {
    width: 100%;
    height: 100%;
}

.wp-flipbook-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 12px 0 8px;
    flex-wrap: wrap;
}

.wp-fb-btn {
    background: #ffffff22;
    color: #fff;
    border: 1px solid #ffffff44;
    border-radius: 4px;
    padding: 6px 18px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.wp-fb-btn:hover {
    background: #ffffff44;
}

.wp-fb-page-info {
    color: #ccc;
    font-size: 14px;
    font-family: sans-serif;
    white-space: nowrap;
}