/* PC&MOBILE */
.m-pc-only {
    display: block;
}

.m-pc-only.d-flex {
    display: flex;
}

.m-mobile-only {
    display: none;
}

/* TEXT */
strong {
    font-weight: 700;
}

.m-error-msg {
    font-size: 15px;
    color: var(--m-text-color-1000);
}

.m-success-msg {
    font-size: 15px;
    color: var(--m-text-color-1100);
}

/* WIDTH */
.min-width-60 {
    min-width: 60px !important;
    max-width: 60px !important;
}

.min-width-100 {
    min-width: 100px !important;
    max-width: 100px !important;
}

.min-width-150 {
    min-width: 150px !important;
    max-width: 150px !important;
}

.min-width-200 {
    min-width: 200px !important;
    max-width: 200px !important;
}

.min-width-220 {
    min-width: 220px !important;
    max-width: 220px !important;
}

.min-width-240 {
    min-width: 240px !important;
    max-width: 240px !important;
}

.min-width-260 {
    min-width: 260px !important;
    max-width: 260px !important;
}

.min-width-400 {
    min-width: 400px !important;
    max-width: 400px !important;
}

/* FONT SIZE */
.fs-15 {
    font-size: 15px !important;
}

/* FONT COLOR */
.text-color-100 {
    color: var(--m-text-color-100) !important;
}

.text-color-600 {
    color: var(--m-text-color-600) !important;
}

.text-color-900 {
    color: var(--m-text-color-900) !important;
}

.text-color-1100 {
    color: var(--m-text-color-1100) !important;
}

.text-color-1000 {
    color: var(--m-text-color-1000) !important;
}

/* ICON */
.icon-distribution {
    display: inline-block;
    width: 17px;
    height: 17px;
    background: url('../images/icon/icon-distribution.svg') no-repeat center / cover;
}

/* SCROLL */
.scroll-hide::-webkit-scrollbar {
    display: none;
}

.scroll-hide {
    -ms-overflow-style: none; /* 인터넷 익스플로러 */
    scrollbar-width: none; /* 파이어폭스 */
}

/* MARGIN */
.me-20 {
    margin-right: 20px !important;
}

.me-30 {
    margin-right: 30px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.mb-30 {
    margin-bottom: 30px !important;
}

.mt-40 {
    margin-top: 40px !important;
}

/* GAP */
.gap-10 {
    gap: 10px !important;
    row-gap: 10px !important;
}

.gap-20 {
    gap: 20px !important;
    row-gap: 10px !important;
}

.gap-24 {
    gap: 24px !important;
    row-gap: 10px !important;
}

.gap-50 {
    gap: 50px !important;
    row-gap: 10px !important;
}

.row-gap-10 {
    row-gap: 10px !important;
}

/* BG */
.top-bg {
    position: relative;
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-top: -18px;
}

.top-bg:before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
    width: 100%;
    height: 375px;
    background: url("../images/login-bg@3x.png") no-repeat top / contain;
}

/* 원형 뱃지 */
.m-badge-circle:before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 8px;
}

/* 사각형 뱃지 */
.m-badge-square {
    font-size: 13px;
}

.m-badge-square:before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    vertical-align: middle;
    margin-right: 6px;
}

/* 가동상태 뱃지 */
.m-badge-round {
    padding: 4.5px 6px;
    font-size: 10px;
    font-weight: 700;
    color: var(--m-text-color-100);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
}

.m-badge-round:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    border-radius: 22px;
    z-index: -1;
}

.m-badge-round.big {
    max-height: 25px;
    padding: 8px 9px;
    font-size: 14px;
    font-weight: 700;
    color: var(--m-text-color-500);
    white-space: nowrap;
}

.m-badge-round:before {
    border-radius: 22px;
}

.m-badge-round.big:before {
    border-radius: 4px;
}

/* 운전 상태 before BG */
.m-production-wait:before {
    background-color: var(--m-production-wait);
}

.m-production-heater:before {
    background-color: var(--m-production-heater);
}

.m-production-stove:before {
    background-color: var(--m-production-stove);
}

.m-production-loading:before {
    background-color: var(--m-production-loading);
}

.m-production-reach:before {
    background-color: var(--m-production-reach);
}

.m-production-low:before {
    background-color: var(--m-production-low);
}

.m-production-standby:before {
    background-color: var(--m-production-standby);
}

.m-production-bluing:before {
    background-color: var(--m-production-bluing);
}

.m-badge-round.big.m-production-low,
.m-badge-round.big.m-production-standby {
    color: var(--m-text-color-100);
}

.m-badge-round.big.m-production-bluing {
    color: var(--m-text-color-700);
}

.m-badge-circle.m-production-stop,
.m-badge-round.big.m-production-stop {
    color: var(--m-color-F20);
}

.m-production-stop:before {
    background-color: var(--m-production-stop);
    color: var(--m-text-color-700);
}

/* 운전 상태 BG */
.m-status-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    padding: 16px 18px;
    row-gap: 1em;
    font-size: 15px;
}

.type-production-wait.on {
    background-color: var(--m-production-wait) !important;
    color: var(--m-text-color-100) !important;;
}

.type-production-heater.on {
    background-color: var(--m-production-heater) !important;;
    color: var(--m-text-color-700) !important;;
}

.type-production-stove.on {
    background-color: var(--m-production-stove) !important;;
    color: var(--m-text-color-100) !important;;
}

.type-production-loading.on {
    background-color: var(--m-production-loading) !important;;
    color: var(--m-text-color-100) !important;;
}

.type-production-reach.on {
    background-color: var(--m-production-reach) !important;;
    color: var(--m-text-color-100) !important;;
}

.type-production-low.on {
    background-color: var(--m-production-low) !important;;
    color: var(--m-text-color-100) !important;;
}

.type-production-standby.on {
    background-color: var(--m-production-standby) !important;;
    color: var(--m-text-color-100) !important;;
}

.type-production-bluing.on {
    background-color: var(--m-production-bluing) !important;;
    color: var(--m-text-color-700) !important;;
}

.type-production-stop.on {
    background-color: var(--m-production-stop) !important;;
    color: var(--m-color-F20) !important;;
}

/* 가동 상태 */
.m-run-drive:before {
    background-color: var(--m-run-drive);
}

.m-run-wait:before {
    background-color: var(--m-run-wait);
}

.m-run-standby:before {
    background-color: var(--m-run-standby);
}

.m-run-bluing:before {
    background-color: var(--m-run-bluing);
}

.m-run-stop:before {
    background-color: var(--m-run-stop);
}

/* 운전상태 STEP */
.status-step {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    background: rgba(0, 0, 0, 0.20);
    padding: 3px 3px 3px 14px;
    gap: 8px;
    color: var(--m-text-color-100);
    font-size: 13px;
    margin-bottom: 0;
}

.status-step dt {
    font-size: 13px;
    font-weight: 500;
}

.status-step dd {
    width: 20px;
    min-width: 20px;
    height: 20px;
    margin: 0;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-step dd.on {
    background: var(--m-color-000);
    border-radius: 32px;
}

/* sortable(드래그) */
.sortable-placeholder {
    background-color: var(--m-line-color-100);
    height: 45px;
    border: 1px dashed var(--m-line-color-200);
}

/* 활성(ON)/비활성화(OFF) 표시 */
.m-status-indicator {
    height: fit-content;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
}

/* 기본 OFF 상태 */
.m-status-indicator:after {
    content: "";
    display: inline-block;
    width: 20px;
    min-width: 20px;
    height: 20px;
    min-height: 20px;
    border-radius: 50%;
    background-color: #d11f20;
    vertical-align: sub;
}

/* ON 상태 */
.m-status-indicator.on:after {
    background-color: #2ed580;
}

/* table colgroup */
.m-table-col-150 {
    width: 150px;
}

.m-table-col-120 {
    width: 120px;
}

/* 768 이하 */
@media (max-width: 768px) {
    /* PC&MOBILE */
    .m-pc-only {
        display: none !important;
    }

    .m-mobile-only {
        display: block !important;
    }

    .m-mobile-only.d-flex {
        display: flex !important;
    }

    .top-bg {
        margin-left: -30px;
        margin-top: -20px;
        width: calc(100% + 60px);
    }

    .top-bg:before {
        background-position-x: -101vw;
        background: url(../images/login-bg-m@3x.png) no-repeat top / cover;
        height: 226px;
    }

    /* 원형 뱃지 */
    .m-badge-circle:before {
        width: 12px;
        height: 12px;
        margin-right: 10px;
    }

    /* WIDTH */
    .min-width-260 {
        min-width: 100% !important;
        max-width: 100% !important;
    }

    /* GAP */
    .gap-50 {
        row-gap: 15px !important;
    }

    /* 활성(ON)/비활성화(OFF) 표시 */
    .m-status-indicator {
        flex-direction: column;
        gap: 20px;
        line-height: normal;
    }

    /* table colgroup */
    .m-table-col-150 {
        width: 52px;
    }

    .m-table-col-120 {
        width: 52px;
    }

    /* 운전상태 STEP */
    .m-status-box {
        font-size: 13px;
        padding: 2vw 3vw;
        row-gap: 2vw;
    }
}