/* 遮罩层样式 */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 弹窗容器样式 */
.popup-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 600px;
    padding: 5px;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
}

/* 弹窗显示状态 */
.popup-overlay.active {
    opacity: 1;
}

.popup-modal.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* 关闭按钮样式 */
.popup-close {
    position: absolute;
    top: -9px;
    right: 0px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: red;
    transition: color 0.2s;
}

.popup-close:hover {
    color: #333;
}

/* 弹窗图片样式 */
.popup-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    cursor: pointer;
}