.mwf-container {
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    padding: 20px;
    overflow: hidden;
}

.mwf-book-hidden, .mwf-hidden {
    display: none !important;
}

.mwf-loader-container {
    text-align: center;
    width: 300px;
    z-index: 10;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px auto;
}

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

.progress-bar-bg {
    width: 100%;
    background-color: #ddd;
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-bar-fill {
    height: 100%;
    background-color: #3498db;
    width: 0%;
    transition: width 0.2s ease;
}

.stf__wrapper {
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.my-page {
    background-color: white;
    overflow: hidden;
}

.my-page canvas {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

.mwf-controls {
    margin-top: 20px;
    z-index: 5;
}

.mwf-controls button {
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
}