/* 
 * 弹窗层级修复样式
 * 确保位置选择弹窗显示在其他弹窗上层
 */

/* 设置位置选择弹窗的z-index高于Bootstrap模态框 */
.el-dialog__wrapper.choose-location-dialog {
    z-index: 3999 !important;
}

/* 设置位置选择弹窗的遮罩层z-index */
.v-modal {
    z-index: 1999 !important;
}

/* 确保Bootstrap模态框的z-index较低 */
.modal-backdrop {
    z-index: 1050 !important;
}

.modal {
    z-index: 1060 !important;
}

/* 当有多个弹窗时，确保位置选择弹窗始终在最上层 */
body.el-popup-parent--hidden .el-dialog__wrapper.choose-location-dialog {
    z-index: 3999 !important;
}

/* 确保弹窗内容可以点击 */
.el-dialog__wrapper.choose-location-dialog .el-dialog {
    position: relative;
    z-index: 3999 !important;
}

/* 强制覆盖Element UI的默认样式 */
.el-dialog__wrapper {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    overflow: auto !important;
    margin: 0 !important;
} 