/* 自定义 Modal 尺寸 */

/* 超超大尺寸 Modal - 1520px 宽度 + 高度控制 */
.modal-xxl {
    max-width: 1520px !important;
}


/* 巨大尺寸 Modal - 1800px 宽度 + 高度控制 */
.modal-xxxl {
    max-width: 1800px !important;
}

/* 全屏 Modal（保留一些边距） */
.modal-fullscreen-custom {
    max-width: calc(100vw - 40px) !important;
    width: calc(100vw - 40px) !important;
}

/* 响应式设计 */
@media (max-width: 1600px) {
    .modal-xxl {
        max-width: 90vw !important;
    }
}

@media (max-width: 1200px) {
    .modal-xxl {
        max-width: 95vw !important;
    }
}

@media (max-width: 768px) {
    .modal-xxl {
        max-width: 98vw !important;
    }
}

/* 修复可能的滚动问题 */
.modal-body {
    overflow-y: auto;
    max-height: calc(100vh - 100px);
}