/* 遮罩层 */
.modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}
.modal-mask.show {
    opacity: 1;
    visibility: visible;
}

/* 弹窗内容 */
.modal-box {
    background: #fff;
    width: 300px;
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-20px);
    transition: transform 0.25s ease;
}
.modal-mask.show .modal-box {
    transform: translateY(0);
}

/* 弹窗文字 */
.modal-content {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

/* 确认按钮 */
.modal-ok {
    padding: 8px 20px;
    background: #409eff;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}