/* container */
.m-container {
    /*min-width: var(--m-container-width);*/
    /*max-width: var(--m-container-width);*/
    min-width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.mobile-inner {
    display: none;
    margin-bottom: 25px;
}

/* 알람바 */
.m-badge-bar {
    position: var(--m-badge-bar-position);
    top: var(--m-badge-bar-position-top);
    left: var(--m-menu-width);
    width: var(--m-badge-bar-width);
    height: var(--m-badge-bar-height);
    background-color: var(--m-color-848);
    transition: .3s;
    overflow: auto;
}

.m-badge-bar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.m-badge-bar ul li {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    animation: all 2.5s;
    transform: rotateX(0);
    transition: transform .4s;
    transform-origin: 50% 0;
    transform-style: preserve-3d;
}

.m-badge-bar ul li a {
    width: 100%;
    height: 100%;
    color: var(--m-text-color-100);
    display: block;
    text-decoration: none;
    font-weight: 300;
    line-height: var(--m-badge-bar-height);
}

.m-badge-bar ul li a strong {
    font-weight: 700;
}

.m-badge-bar ul li.show {
    top: 0;
    visibility: visible;
    transform-origin: 50% 100%;
    transform-style: preserve-3d;
}

.m-badge-bar ul li.hide {
    transform: rotateX(-90deg);
}

/* 헤더 알람 텍스트 */
.m-badge-text {
    margin-right: 13px;
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.m-badge-text p {
    font-size: 15px;
    font-weight: 300;
    margin-bottom: 0;
    color: var(--m-text-color-1000);
}

.m-badge-text p:before {
    content: "";
    display: inline-block;
    width: 32px;
    height: 32px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--m-text-color-1000) url("../images/icon/icon-alarm2.svg") no-repeat center;
    vertical-align: middle;
}

.m-badge-text p strong {
    font-weight: 700;
}

/* HEADER */
.m-main-contents:has(.m-badge-bar:not(.d-none)) header {
    top: var(--m-badge-bar-height);
}

header {
    position: var(--m-header-position);
    left: var(--m-header-position-left);
    top: var(--m-header-position-top);
    z-index: 999;
    width: var(--m-header-width);
    height: var(--m-header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--m-header-padding);
    border-bottom: var(--m-header-border);
    background-color: var(--m-header-background);
    transition: .3s;
}

header .m-page-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 0;
}

header .user-info {
    position: relative;
    padding-left: 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
    box-shadow: none;
    border: none;
    height: 100%;
    background-color: var(--m-color-FFF);
}

header .user-info:active,
header .user-info:focus {
    border: none;
    outline: none;
}

header .user-info:after {
    content: "";
    width: 10px;
    height: 10px;
    background: url("../images/icon/down.svg") no-repeat center / cover;
    transition: .3s;
}

header .user-info.show:after {
    transform: rotate(180deg);
}

header .user-info img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: none;
    background: var(--m-color-9FA);
}

header .user-info p {
    font-weight: 300;
    margin-bottom: 0;
    font-size: 15px;
    padding: 0 12px 0 10px;
}

header .user-info.show > ul {
    top: var(--m-header-height);
    visibility: visible;
    opacity: 1;
}

header .user-info > ul {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    border-radius: 7px;
    padding: 10px 15px;
    border: 1px solid var(--m-color-B8B);
    text-align: left;
    list-style: none;
    transition: .3s;
    background-color: var(--m-color-FFF);
}

header .user-info > ul li {
    padding: 10px;
    transition: background-color .3s;
    font-size: 15px;
    display: flex;
    align-items: center;
    font-weight: 300;
}

header .user-info > ul li:hover {
    background-color: var(--m-line-color-100);
    color: var(--m-text-color-900);
    font-weight: 500;
}

header .user-info > ul li svg {
    margin-right: 10px;
    fill: var(--m-color-5050);
}

header .user-info > ul li:hover svg {
    fill: var(--m-color-9F4);
}

header button.m-btn.logout-mobile-btn {
    display: none;
}

/* 시스템 상세 헤더 */
[data-theme=dark] header > div {
    padding: 0 0 0 30px;
    border-bottom: var(--m-header-border);
    background: var(--m-header-background);
    z-index: 1;
}

[data-theme=dark] header .m-page-title {
    white-space: nowrap;
    font-size: 20px;
    font-weight: 500;
    padding-right: 40px;
}

[data-theme=dark] header .m-page-title > span:before {
    content: "";
    display: inline-block;
    width: 2px;
    height: 6px;
    background-color: #ffffff;
    margin: auto 10px;
    vertical-align: middle;
}

[data-theme=dark] header .m-page-title > span {
    font-weight: 300;
}

[data-theme=dark] header .m-page-title > span strong {
    font-weight: 500;
}

header .m-page-status {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

header .m-page-status .m-last-update {
    font-size: 13px;
    font-weight: 500;
}

header .m-page-status > ul.m-status-wrap {
    height: 100%;
    list-style: none;
    display: flex;
    align-items: center;
    padding: 3px 0;
    margin: 0;
}

header .m-page-status > ul.m-status-wrap > li {
    width: fit-content;
    min-width: 190px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #39393B;
    position: relative;
    padding: 0 12px 0 38px;
    min-height: 60px;
    max-height: 60px;
    color: #909090;
    font-weight: 500;
    white-space: nowrap;
    font-size: 16px;
}

header .m-page-status > ul.m-status-wrap > li:first-child {
    border-radius: 4px 0 0 4px;
    padding: 0 32px 0 38px;
}

header .m-page-status > ul.m-status-wrap > li:after {
    clip-path: inset(20px 0 17px 0);
}

header .m-page-status > ul.m-status-wrap > li:before {
    clip-path: inset(20px 0 16px 0);
}

header .m-page-status > ul.m-status-wrap > li:after,
header .m-page-status > ul.m-status-wrap > li:before {
    content: "";
    position: absolute;
    right: -19px;
    bottom: 0;
    top: -20px;
    z-index: 1;
    width: 0;
    height: 0;
    border-bottom: 47px solid transparent;
    border-top: 50px solid transparent;
    border-left: 20px solid #39393B;
    border-right: 0 solid transparent;
}

header .m-page-status > ul.m-status-wrap > li:before {
    right: -20px;
    border-left: 20px solid #474749;
}

header .m-page-status > ul.m-status-wrap > li:last-child {
    border-radius: 0 4px 4px 0;
    padding: 0 24px 0 36px;
}

header .m-page-status > ul.m-status-wrap > li:last-child:after {
    border: none;
}

header .m-page-status > ul.m-status-wrap > li:last-child:before {
    border: none;
}

header .m-page-status > ul.m-status-wrap > li span.is-on-step12 {
    display: none;
    color: #E5FF00;
    font-size: 12px;
    font-weight: 700;
    margin-top: 2px;
}

header .m-page-status > ul.m-status-wrap > li.on span {
    font-weight: 700;
}

header .m-page-status > ul.m-status-wrap > li.on > dl {
    display: flex;
}

header .m-page-status > ul.m-status-wrap > li:nth-child(1).on:after {
    border-left-color: var(--m-production-wait);
}

header .m-page-status > ul.m-status-wrap > li:nth-child(2).on:after {
    border-left-color: var(--m-production-heater);
}

header .m-page-status > ul.m-status-wrap > li:nth-child(3).on:after {
    border-left-color: var(--m-production-stove);
}

header .m-page-status > ul.m-status-wrap > li:nth-child(4).on:after {
    border-left-color: var(--m-production-loading);
}

header .m-page-status > ul.m-status-wrap > li > .status-step {
    display: none;
    margin: 0 0 0 8px;
    padding-left: 12px;
}

header .m-page-status > ul.m-status-wrap > li > .status-step dd.is-on-step12 {
    display: none;
}

header .m-page-status > ul.m-status-wrap > li > .status-step dd.is-on-step12.on {
    display: flex;
}

header .m-page-status > ul.m-status-wrap:has(li.on dd.is-on-step12.on) span.is-on-step12 {
    display: block;
}

header .m-page-status > ul.m-badge-wrap {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

header .m-page-status > ul.m-badge-wrap:after {
    content: "";
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.20);
    margin-left: 12px;
}

header .m-page-status > ul.m-badge-wrap > li:not(.on) span {
    background-color: #39393B;
    font-weight: 500;
    color: var(--m-text-color-500);
}

header .m-page-status .m-page-status-info {
    display: flex;
    align-items: center;
}

header .m-page-status .m-page-status-info > span {
    font-size: 15px;
    font-weight: 300;
    color: #cecece;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
}

header .m-page-setting {
    width: 30px;
    height: 60px;
    padding: 30px;
    margin: 0 10px 0 20px;
    border: none;
    outline: none;
    background: url("../images/icon/icon-navi-setting-on.svg") no-repeat center / cover;
    background-size: 22px 22px;
}

/* 모바일 헤더 */
.m-mobile-header {
    display: none;
}

/* LEFT MENU */
.m-left-menu {
    z-index: 99;
    position: fixed;
    left: 0;
    top: 0;
    width: var(--m-menu-width);
    height: 100dvh;
    background-color: var(--m-main-color-100);
    color: #7c7d8b;
    overflow: auto;
    transition: width .3s ease;
    -ms-overflow-style: none; /* 인터넷 익스플로러 */
    scrollbar-width: none; /* 파이어폭스 */

    .scroll-hide::-webkit-scrollbar {
        display: none;
    }

    .scroll-hide {
        -ms-overflow-style: none; /* 인터넷 익스플로러 */
        scrollbar-width: none; /* 파이어폭스 */
    }
}

.m-left-menu::-webkit-scrollbar {
    display: none;
}

.m-left-menu button {
    background-color: transparent;
    border: none;
    outline: none;
}

.m-left-menu button > span {
    width: var(--m-menu-width);
    text-overflow: ellipsis;
    overflow: hidden;
}

.m-menu-toggle {
    position: fixed;
    left: calc(var(--m-menu-width) - 30px);
    top: 0;
    z-index: 100; /* .m-left-menu 보다 높게 설정 */
    width: 30px;
    height: 67px;
    background-color: var(--m-color-391);
    border: none;
    outline: none;
    border-radius: 5px 0 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: left .3s;
}

.m-menu-toggle:after {
    content: "";
    display: block;
    width: 9px;
    height: 16px;
    background: url("../images/icon/wknd-icon.svg") no-repeat center / cover;
    transform: rotate(180deg);
}

.m-left-menu .logo {
    position: sticky;
    z-index: 99;
    top: 0;
    left: 0;
    height: 139px;
    display: flex;
    align-items: center;
    background-color: var(--m-main-color-100);
}

.m-left-menu .logo a {
    display: block;
    width: 80%;
    padding: 25px;
    white-space: nowrap;
}

.m-left-menu .logo a img {
    width: 206px;
    height: 54px;
}

.m-left-menu ul {
    padding: 0;
    list-style: none;
}

.m-left-menu ul li a,
.m-left-menu ul li button {
    transition: background-color .3s;
    font-size: 17px;
    display: flex;
    align-items: center;
    text-align: left;
    width: 100%;
    text-decoration: none;
    color: var(--m-text-color-400);
    padding: 10px 10px 10px 48px;
    font-weight: 300;
    white-space: nowrap;
    min-height: 40px;
    max-height: 40px;
}

.m-left-menu ul li a:hover,
.m-left-menu ul li button:hover,
.m-left-menu ul li a.active,
.m-left-menu ul li button.active {
    background-color: var(--m-color-FFF);
    color: var(--m-color-38B);
    font-weight: 700;
}

.m-left-menu ul li a svg,
.m-left-menu ul li button svg {
    margin-left: 15px;
    fill: none;
    stroke: #ffffff;
}

.m-left-menu ul li a:hover svg,
.m-left-menu ul li button:hover svg,
.m-left-menu ul li a.active svg,
.m-left-menu ul li button.active svg {
    stroke: var(--m-color-38B);
}

.m-left-menu > ul {
    margin-bottom: 0;
    min-height: calc(100vh - var(--m-menu-logo-height) - var(--m-footer-height));
}

.m-left-menu > ul > li a img,
.m-left-menu > ul > li button img {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

.m-left-menu > ul > li {
    margin-bottom: 20px;
}

.m-left-menu > ul > li > button:after {
    content: "";
    margin-left: auto;
    width: 14px;
    height: 14px;
    display: inline-block;
    background: url("../images/icon/icon-menu-up.svg") no-repeat center / cover;
    transition: transform .3s;
}

.m-left-menu > ul > li button:has(+ ul li button:hover),
.m-left-menu > ul > li button:has(+ ul li a:hover),
.m-left-menu > ul > li button:has(+ ul li button.active),
.m-left-menu > ul > li button:has(+ ul li a.active) {
    color: var(--m-color-FFF);
}

.m-left-menu > ul > li button:has(+ ul li button:hover) img,
.m-left-menu > ul > li button:has(+ ul li a:hover) img,
.m-left-menu > ul > li button:has(+ ul li button.active) img,
.m-left-menu > ul > li button:has(+ ul li a.active) img {
    filter: brightness(100);
}

.m-left-menu > ul > li > a:hover,
.m-left-menu > ul > li > button:hover {
    background: transparent;
    color: var(--m-text-color-100);
}

.m-left-menu > ul > li > a:hover img,
.m-left-menu > ul > li > button:hover img {
    filter: brightness(100);
}

.m-left-menu > ul > li.hide > button:after {
    transform: rotate(180deg);
}

.m-left-menu > ul > li > a,
.m-left-menu > ul > li > button {
    padding: 7px 20px;
    font-size: 17px;
    min-height: 34px;
    max-height: 34px;
    font-weight: 500;
    color: var(--m-text-color-400);
}

/* depth menu */
.m-left-menu > ul > li > ul > li a,
.m-left-menu > ul > li > ul > li button {
    font-size: 16px;
    padding-left: 48px;
    color: var(--m-text-color-400);
}

/* link menu */
.m-left-menu ul li.link-menu {
    margin-bottom: 0;
}

.m-left-menu ul li.link-menu:not(:last-child) {
    margin-top: 50px;
}

.m-left-menu ul li.link-menu a,
.m-left-menu ul li.link-menu button {
    max-height: 60px;
    padding: 20px;
    font-size: 17px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--m-color-83D);
}

.m-left-menu ul li.link-menu:last-child button,
.m-left-menu ul li.link-menu:last-child a {
    border-bottom: 1px solid var(--m-color-83D);
}

.m-left-menu ul li.link-menu a:after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("../images/icon/icon-navi-open.svg") no-repeat center / cover;
}

.m-left-menu footer {
    position: sticky;
    bottom: 0;
    left: 0;
    font-size: 9px;
    font-weight: 300;
    color: var(--m-color-0B0);
    text-align: center;
    height: var(--m-footer-height);
    line-height: var(--m-footer-height);
    white-space: nowrap;
    background-color: var(--m-main-color-100);
}

/* CONTENT */
.m-main-contents:has(.m-badge-bar:not(.d-none)) {
    height: calc(100vh - var(--m-header-height) - var(--m-badge-bar-height));
    min-height: calc(100vh - var(--m-header-height) - var(--m-badge-bar-height));
    margin-top: calc(var(--m-header-height) + var(--m-badge-bar-height));
}

.m-main-contents {
    width: calc(100vw - var(--m-menu-width));
    height: calc(100vh - var(--m-header-height));
    min-height: calc(100vh - var(--m-header-height));
    margin-top: var(--m-header-height);
    overflow: auto;
    padding: 0;
    margin-left: var(--m-menu-width);
    transition: .3s;
}

.m-main-contents > main {
    width: 100%;
    height: 100%;
    /*min-width: calc(1920px - var(--m-menu-width));*/
    padding: 18px 24px 30px;
}

/* LAYOUT: 메뉴 토글을 위한 설정 */
body.m-body-fluid .m-badge-bar {
    width: var(--m-fluid-width);
    left: var(--m-menu-width-hide);
}

body.m-body-fluid header {
    width: var(--m-fluid-width);
    left: var(--m-menu-width-hide);
}

body.m-body-fluid .m-menu-toggle {
    left: calc(var(--m-menu-width-hide) - 30px);
}

body.m-body-fluid .m-menu-toggle:after {
    transform: rotate(0deg);
}

body.m-body-fluid .m-left-menu {
    width: var(--m-menu-width-hide);
}

body.m-body-fluid .m-left-menu .logo {
    height: 106px;

}

body.m-body-fluid .m-left-menu button > span {
    width: var(--m-menu-width-hide);
    text-align: center;
    padding: 0 10px;
}

body.m-body-fluid .m-left-menu .logo a,
body.m-body-fluid .m-left-menu > ul ul,
body.m-body-fluid .m-left-menu > ul > li.link-menu,
body.m-body-fluid .m-left-menu > ul > li > button:after,
body.m-body-fluid .m-left-menu footer {
    display: none;
}

body.m-body-fluid .m-left-menu > ul * {
    min-height: initial;
    max-height: initial;
}

body.m-body-fluid .m-left-menu > ul > li {
    margin-bottom: 0;
}

body.m-body-fluid .m-left-menu > ul > li img {
    margin: 0 0 10px 0;
}

body.m-body-fluid .m-left-menu > ul > li button,
body.m-body-fluid .m-left-menu > ul > li a {
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 78px;
    border-top: 1px solid var(--m-color-83D);
    border-bottom: 1px solid var(--m-color-83D);
}

body.m-body-fluid .m-main-contents {
    margin-left: var(--m-menu-width-hide);
    width: var(--m-fluid-width);
}


/* 조회 필터 영역 */
.m-card-search {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 15px 20px 15px 30px;
    border-radius: 7px;
    margin: 11px 0 15px 0;
    background-color: var(--m-line-color-100);
}

.m-card-search.bg-blue {
    background-color: #f2f5fc;
}

.m-card-search .m-card-search-item {
    width: 100%;
    font-size: 13px;
    display: flex;
    gap: 20px;
}

.m-card-search .m-card-search-item label {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    padding: 10px 0;
    color: var(--m-text-color-700);
}

.theme-dark .m-card-search {
    background-color: #4C4C4C;
}

.theme-dark .m-card-search .m-card-search-item label {
    color: var(--m-text-color-100);
}

/* 차트 영역 */
.m-chart-title {
    display: flex;
    justify-content: space-between;
    margin: 18px 0;
}

.m-chart-title h2 {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 0;
}

.m-chart-filter {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    font-weight: 300;
}

.m-chart-filter > span {
    font-size: 15px;
    font-weight: 500;
}

/* Grid 출력 영역 */
.m-card-body:has(.none-list) { /* 조회된 결과가 없을 경우 */
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-card-body .none-list {
    margin-bottom: 0;
    font-size: 20px;
    font-weight: 300;
}

/* 시스템/데이터 선택 창을 위한 레이아웃 */
/* 컨텐츠 영역 */
.m-main-contents-inner {
    width: 100%;
    display: flex;
}

.m-main-contents-inner:has(aside.show) {
    gap: 12px;
}

/* 선택창 */
.m-left-popup-wrap > aside:hover,
.m-left-popup-wrap > aside:has(input:focus, button:focus, input:focus) {
    border-color: var(--m-button-color-500);
}

.m-left-popup-wrap {
    display: flex;
    gap: 12px;
    background: #ffffff;
    margin-top: 55px;
}

.m-left-popup-wrap > aside {
    position: relative;
    overflow: hidden;
    width: 0;
    visibility: hidden;
    padding: 10px 20px;
    border: 1px solid var(--m-color-090);
    border-radius: 5px;
    margin-left: -55px;
    opacity: 0;
    transition: margin-left .3s, opacity .3s;
}

.m-left-popup-wrap > aside > * {
    opacity: 0;
}

.m-left-popup-wrap > aside.show {
    width: inherit;
    visibility: visible;
    opacity: 1;
    margin-left: 0;
    min-width: 240px;
    min-height: 912px;
    max-height: 912px;
}

.m-left-popup-wrap > aside.show > * {
    opacity: 1;
}

.m-left-popup-wrap > aside.show.system-toggle-content {
    min-width: 340px;
}

.m-left-popup-wrap > aside .m-left-popup-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 11px;
}

.m-left-popup-wrap > aside .m-left-popup-header .m-close-btn {
    margin-right: -10px;
}

.m-left-popup-wrap > aside .m-left-popup-header h2 {
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 700;
}

.m-left-popup-wrap > aside .m-left-popup-content {
    max-height: calc(100% - 78px - 85px);
    overflow: auto;
}

.m-left-popup-wrap > aside .m-left-popup-footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px;
}

.m-left-popup-wrap > aside .m-left-popup-footer .refresh::before {
    content: "";
    display: inline-block;
    margin-right: 8px;
    width: 18px;
    height: 18px;
    background: url("../images/icon/8@2x.png") no-repeat center / cover;
    vertical-align: bottom;
}

.m-left-popup-wrap .m-table {
    width: 100%;
    vertical-align: middle;
    border-collapse: collapse;
}

.m-left-popup-wrap .m-table .m-check {
    display: inline-flex;
    vertical-align: super;
}

.m-left-popup-wrap .m-table thead tr {
    background: var(--m-line-color-100);
    border-top: 1px solid var(--m-line-color-200);
    border-bottom: 1px solid var(--m-line-color-200);
}

.m-left-popup-wrap .m-table tbody tr {
    background: #ffffff;
    border-bottom: 1px solid var(--m-line-color-200);
}

.m-left-popup-wrap .m-table th {
    min-height: 30px;
    height: 30px;
}

.m-left-popup-wrap .m-table th:first-child {
    padding: 0 30px;
}

.m-left-popup-wrap .m-table td:first-child {
    padding: 0 30px;
}

.m-left-popup-wrap .m-table td {
    min-height: 44px;
    height: 44px;
}

.m-left-popup-wrap .m-table td p {
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--m-text-color-600);
}

.m-left-popup-wrap ul {
    list-style: none;
    font-size: 14px;
    font-weight: 400;
    color: var(--m-text-color-600);
    margin-bottom: 0;
}

.m-left-popup-wrap ul .m-check {
    border-bottom: 1px solid var(--m-line-color-200);
    width: 100%;
    padding: 14px 0;
}

.m-left-popup-wrap ul {
    padding: 0;
}

.m-left-popup-wrap .m-left-popup-content > ul:first-child {
    border-top: 2px solid var(--m-color-000);
}

.m-left-popup-wrap .m-left-popup-content > ul > li > ul .m-check {
    padding-left: 25px;
}

.m-left-popup-wrap .m-left-popup-content > ul > li > ul > li > ul .m-check {
    padding-left: 50px;
}

/* 고객사 모니터링 대시보드 */
[data-theme=dashboard] main {
    padding: 30px;
}

[data-theme=dashboard] .m-badge-bar {
    /*min-width: var(--m-container-width);*/
    min-width: 100%;
    z-index: 999;
}

[data-theme=dashboard] .m-badge-bar * {
    cursor: default;
    pointer-events: none;
}

[data-theme=dashboard] header {
    transition: none;
}

[data-theme=dashboard] header .logo {
    width: 306px;
    height: 24px;
    filter: brightness(100);
}

[data-theme=dashboard] header > div {
    padding: 0 30px;
    background-color: var(--m-header-background);
}

/* 1920 이하 */
@media (max-width: 1920px) {
    [data-theme=dashboard] header {
        border: none;
    }

    [data-theme=dashboard] header > div {
        border-bottom: var(--m-header-border);
    }
}

/* 768 이하 */
@media (max-width: 768px) {
    :root {
        --m-menu-width: 0;
        --m-menu-width-hide: 0;
        --m-header-width: 100vw;
        --m-header-height: 50px;
        --m-header-position-top: var(--m-mobile-header-height);
        --m-header-padding: 0 25px;
        --m-badge-bar-width: 100vw;
        --m-badge-bar-height: 40px;
        --m-badge-bar-position-top: var(--m-mobile-header-height);
        --m-mobile-header-height: 60px;
        --m-mobile-header-background: var(--m-main-color-100);
        --m-fluid-width: 100vw;
        --m-body-background: var(--m-color-9FA);
    }

    [data-theme=dark] {
        --m-header-height: 60px;
        --m-header-background: #3d3d3f;
        --m-header-border: 2px solid #333333;
        --m-body-background: #3d3d3f;
    }

    .m-container {
        min-width: 100%;
        max-width: 100%;
    }

    [data-theme=dashboard] .m-container {
        min-width: var(--m-container-width);
        max-width: var(--m-container-width);
    }

    header .m-page-status > ul {
        display: none !important;
    }

    header .m-page-status .m-page-status-info > span {
        display: none;
    }

    .mobile-inner {
        display: block;
    }

    /* 왼쪽 메뉴와 메뉴 토글 버튼 숨김 */
    .m-left-menu,
    .m-menu-toggle {
        display: none;
    }

    /* 헤더 위치: 알림바가 있을 경우 */
    .m-main-contents:has(.m-badge-bar:not(.d-none)) header {
        top: calc(var(--m-mobile-header-height) + var(--m-badge-bar-height));
    }

    /* 페이지 타이틀 */
    header .m-page-title {
        font-size: 17px;
    }

    /* 시스템 상세 헤더 */
    [data-theme=dark] header > div {
        border-bottom: none;
        background: none;
    }

    [data-theme=dark] header .m-page-title {
        font-size: 16px;
    }

    [data-theme=dark] header .m-page-setting {
        background-size: 20px 20px;
        margin: 0;
    }

    [data-theme=dark] header .m-page-title > span:before {
        margin: auto 7px;
    }

    /* 알림 텍스트와 프로필 토글 영역 숨김 */
    header .user-info-wrap {
        display: none !important;
    }

    /* 알림바 */
    .m-badge-bar {
        font-size: 12px;
    }

    /* 모바일 헤더 */
    .m-mobile-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: var(--m-mobile-header-height);
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: var(--m-mobile-header-background);
        padding: 0 15px;
    }

    .m-mobile-header:before { /* 로고 */
        content: "";
        width: 34%;
        height: 45px;
        background: url(../images/logo-m@3x.png) no-repeat left / contain;
        filter: brightness(100);
    }

    .m-mobile-header button.m-btn.logout-mobile-btn { /* 로그아웃 버튼 */
        display: block;
        padding: 0 15px;
        margin-left: auto;
        background-color: var(--m-color-391) !important;
        border-radius: 10px;
    }

    /* 메인 컨텐츠 영역 */
    .m-main-contents:has(.m-badge-bar:not(.d-none)) { /* 알림바가 있을 경우 */
        height: calc(100vh - var(--m-header-height) - var(--m-badge-bar-height) - var(--m-mobile-header-height));
        min-height: calc(100vh - var(--m-header-height) - var(--m-badge-bar-height) - var(--m-mobile-header-height));
        margin-top: calc(var(--m-header-height) + var(--m-badge-bar-height) + var(--m-mobile-header-height));
    }

    .m-main-contents {
        width: 100vw;
        height: calc(100vh - var(--m-header-height) - var(--m-mobile-header-height));
        min-height: calc(100vh - var(--m-header-height) - var(--m-mobile-header-height));
        margin-top: calc(var(--m-header-height) + var(--m-mobile-header-height));
    }

    .m-main-contents > main {
        padding: 20px 30px 30px;
    }

    .m-main-contents > main button.icon.outline.gray.me-20 {
        margin-right: 0 !important;
    }

    /* 조회 필터 영역 */
    .m-card-search {
        background-color: #FFF;
        padding: 20px 15px;
        margin: 20px 0 50px 0;
    }

    .m-card-search .d-flex,
    .m-card-search-item {
        display: flex;
        flex-direction: column;
    }

    .m-card-search .m-card-search-item {
        gap: 15px;
    }

    .m-card-search .m-card-search-item label {
        font-size: 15px;
        padding: 0;
    }

    .m-card-search button {
        width: 100% !important;
    }

    /* 시스템 선택창 */
    .m-left-popup-wrap > aside.show {
        display: none;
    }

    .m-main-contents-inner:has(aside.show) {
        gap: 0;
    }
}

/* 576 이하 */
@media (max-width: 576px) {
    /* 모바일 헤더 */
    .m-mobile-header:before { /* 로고 */
        width: 73%;
    }
}