/* 模态框遮罩 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* 模态框容器 - 使用绝对坐标 */
.modal-container {
    position: absolute;
    /* 设计稿中的原始坐标 */
    left: 35px;
    top: 463px;
    /* 设计稿中的原始尺寸 */
    width: 650px;
    height: 354px;
    transform-origin: left top;
}

/* 模态框背景 */
.modal-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('exitdialog/bg_tips.png') no-repeat center center;
    background-size: 100% 100%;
}

/* 模态框内容 */
.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    /* flex-direction: column;
    justify-content: center;
    align-items: center; */
    color: white;
    text-align: center;
}

.modal-title {
    font-size: 36px;
    margin-bottom: 30px;
    color: #ffcc00;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.modal-title-img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 40px;
    width: 200px;
    height: 35px;
    /* background: url('exitdialog/title_tips.png') no-repeat center center; */
    background-size: 100% 100%;
}

.modal-message {
    position: absolute;
    width: 500px;
    text-align: center;
    font-size: 24px;
    left: calc((650px - 500px) / 2);
    transform: translateX(-50%);
    top: 50%;
    transform: translateY(-50%);
}


/* 按钮容器 */
.modal-buttons {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 276px;
    display: flex;
    justify-content: center;
    gap: 70px;
}

/* 模态框按钮 */
.modal-button {
    width: 164px;
    height: 46px;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: white;
    text-shadow: 1px 1px 2px #000;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
}

.modal-close-button {
    position: absolute;
    left: calc(100% - 70px);;
    /* transform: translateX(-50%); */
    top: 20px;
    width: 50px;
    height: 50px;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: white;
    text-shadow: 1px 1px 2px #000;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
}

.modal-button:active {
    transform: scale(1.2);
}

.confirm-btn {
    background-image: url('exitdialog/btn_yes.png');
}

.cancel-btn {
    background-image: url('exitdialog/btn_no.png');
}

.close-btn {
    background-image: url('exitdialog/btn_close.png');
}


