html,
body {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    color: white;
}
.mg-l-10 {
    margin-left: 10px;
}
.mg-r-10 {
    margin-right: 10px;
}

#canvas-cntr {
    width: 100%;
    height: 100%;
    display: flex;
}
#canvas-cntrNew {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#canvas {
    flex: 1;
}

.btn {
    position: absolute;
    top: 10px;
    z-index: 1;
    left: 50px;
}
.btnNew {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #fff;
    width: 100%;
    height: 54px;
    overflow-x: hidden;
    flex-shrink: 0;
}

button {
    text-align: center;
    box-sizing: border-box;
    outline: 0;
    transition: 0.1s;
    margin-left: 10px;
    font-weight: 500;
    background: #4e7dff;
    box-shadow: 0 2px 4px 0 hsl(0deg 0% 76% / 50%);
    border-radius: 4px;
    font-size: 14px;
    padding: 9px 15px;
    color: #fff;
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid #4e7dff;
}

input {
    width: 70px;
    box-sizing: border-box;
    outline: 0;
    transition: 0.1s;
    font-weight: 500;
    box-shadow: 0 2px 4px 0 hsl(0deg 0% 76% / 50%);
    border-radius: 4px;
    font-size: 14px;
    padding: 9px 15px;
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid #dcdfe6;
}

.custom-loading-container {
    position: absolute;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.loading-box {
    margin: auto;
}

.icon-box {
    width: 120px;
    height: 120px;
    margin: auto;
}

.common-global-progress-box {
    display: flex;
    width: 180px;
    margin: 15px auto;
    line-height: 12px;
}

.custom-progress-box {
    position: relative;
    line-height: 1;
    width: 80%;
}

.progress-bar {
    margin-right: 0;
    display: block;
    line-height: 12px;
    border: 1px solid #4e7df9;
    padding: 1px;
    border-radius: 10px;
    width: 100%;
}

.progress-bar-outer {
    height: 8px;
    border-radius: 100px;
    background-color: transparent;
    overflow: hidden;
    position: relative;
    vertical-align: middle;
}

.progress-bar-inner {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: #409eff;
    text-align: right;
    border-radius: 100px;
    line-height: 1;
    white-space: nowrap;
    transition: width 0.6s ease;
    line-height: 12px;
    background: linear-gradient(270deg, #61f9fc 0%, #4e7df9 100%);
}

.custom-text {
    color: #4e7df9;
    margin-left: 10px;
}

.icon-box img {
    width: 100%;
    height: 100%;
}

.config-box {
    color: #000;
    font-size: 12px;
    text-align: left;
}

.config-title-box {
    font-size: 13px;
    font-weight: bold;
}

.config-item-box {
    display: flex;
    margin-top: 5px;
}

.process-info-box {
    color: #000;
    font-size: 14px;
    text-align: center;
}

.loading-area {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* 默认隐藏 */
    display: none;
    z-index: 1000;
}

.loading-area.active {
    /* 显示状态 */
    display: flex;
}

.loading-img {
    position: relative;
    margin-bottom: 10px;
    width: 60px;
    height: 60px;
    animation: loading-rotate 2s linear infinite;
}

@keyframes loading-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
