#dibsp-popup-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 99999 !important;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}
#dibsp-popup-container.dibsp-popup-content {
    background: #fff;
    padding: 20px !important; 
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .2);
    position: relative;
    width: 100%;
    max-height: 90vh;
    transform: scale(.9);
    animation: dibsp-scale-in .3s forwards;
    box-sizing: border-box;
}
#dibsp-popup-container .dibsp-close-btn {
    position: absolute !important;
    top: -16px !important;
    right: -16px !important;
    z-index: 10000 !important;
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    overflow: visible !important;
    transition: transform .2s ease;
}
#dibsp-popup-container .dibsp-close-btn img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}
#dibsp-popup-container .dibsp-close-btn:hover {
    transform: scale(1.15);
}
.dibsp-popup-body {
    overflow-y: auto;
    max-height: calc(90vh - 40px);
    padding: 0;
    margin: 0;
}
.dibsp-popup-body > *:last-child {
    margin-bottom: 0 !important;
}
.dibsp-popup-body .alignnone.size-full {
    margin-bottom: 0 !important;
}
.dibsp-popup-body img {
    max-width: 100%;
    height: auto;
    display: block;
}
@keyframes dibsp-scale-in {
    from {
        transform: scale(.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}