.wbp-modal {
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
}
.wbp-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: none;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    max-height: 90vh;
    overflow-y: auto;
}
.wbp-close {
    position: absolute;
    top: 5px;
    right: 15px;
    color: #333;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
}
.wbp-close:hover,
.wbp-close:focus {
    color: #e53e3e;
    text-decoration: none;
    cursor: pointer;
}
.wbp-controls {
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
    color: #666;
    background: #f1f1f1;
    padding: 10px;
    border-radius: 5px;
}
#wbp-image-container img {
    max-height: 75vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}
#wbp-image-container:hover img {
    transform: scale(1.02);
}
