/* Notice Popup Styles (Simplified) */
#msb-notice-popup-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.msb-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 5;
}

.msb-popup-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    z-index: 10;
    animation: msbPopupScaleIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes msbPopupScaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.msb-popup-close {
    position: absolute;
    top: 12px;
    right: 0px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* .msb-popup-close img {
    width: 44px;
    height: 44px;
} */

.msb-popup-close:hover {
    opacity: 0.7;
}

.msb-popup-content-wrap {
    position: relative;
    width: 100%;
    display: block;
}

.msb-popup-link-wrap {
    display: block;
    width: 100%;
    text-decoration: none;
}

.msb-popup-media {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

body.msb-popup-open {
    overflow: hidden;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .msb-popup-container {
        max-width: 95%;
    }
    
    .msb-popup-close {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
    }

    .msb-popup-close img {
        width: 30px;
        height: 30px;
    }
}
