/* 왼쪽 메뉴 스타일 수정 */
._leftMenu {
    position: fixed;
    left: 0;
    top: 0;
    background-color: var(--bg-secondary);
    width: 260px;
    height: 100%;
    overflow-y: auto;
    border-right: 2px solid #3949b3;
}
._leftMenu .logo h1 {
    background-image: url(/images/logo.png);
    width: 100%;
    height: 60px;
    margin-top: 10px;
    background-size: 140px;
    filter: invert(1);
}
._leftMenu .logo h1 a {
    font-size: 0;
    display: block;
    width: 100%;
    height: 100%;
}
._leftMenu .menuList {
    padding: 20px 10px;
}
._leftMenu .menuList li {
    transition: all 0.5s;
    position: relative;
    padding: 0;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 46px;
}

._leftMenu .menuList li.on {
    padding-top: 46px;
    padding-bottom: 10px;
}

._leftMenu .menuList li a {
    display: inline-block;
    width: 100%;
    display: inline-block;
    font-size: 14px;
    line-height: 30px;
    margin-top: 5px;
    padding-left: 26px;
    position: relative;
    transition: 0.3s all;
    color: var(--text-primary);
}
._leftMenu .menuList li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

._leftMenu .menuList li .tit {
    padding-left: 0px;
    position: absolute;
    top: 0;
    background-color: rgba(0, 0, 0, 0.2);
    left: 0;
    width: 100%;
    line-height: 46px;
    font-weight: 500;
    font-size: 16px;
    padding-left: 20px;
    cursor: pointer;
    transition: all 0.1s;
    background-image: url(../../img/common/g_down.png);
    background-position: calc(100% - 16px) center;
    background-size: 8px;
    /* filter: invert(1); */
}
._leftMenu .menuList li.on .tit {
    background-image: url(../../img/common/g_up.png);
    /* filter: invert(1); */
}
._leftMenu .menuList li.on .subMenu {
    display: block;
}
._leftMenu .menuList li .subMenu {
    display: none;
}
._leftMenu .menuList li .tit:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
._leftMenu .menuList li a.on {
    font-weight: 600;
    position: relative;
    line-height: 30px;
    font-weight: 500;
}
._leftMenu .menuList li .tit a {
    padding-left: 16px;
}
._leftMenu .menuList li a.on:before {
    content: '';
    display: block;
    width: 20px;
    position: absolute;
    right: 10px;
    background-repeat: no-repeat;
    background-position: center;
    top: 11px;
    background-image: url(../../img/common/check_icon.png);
    background-size: 75%;
    height: 20px;
    /* filter: invert(1); */
}

/* 헤더 스타일 수정 */
header {
    z-index: 150;
    height: 70px;
    padding-top: 20px;
    position: fixed;
    top: 0;
    width: calc(100% - 340px);
    left: 300px;
    background-color: var(--bg-primary);
    padding-bottom: 10px;
}
header:after {
    content: "";
    display: block;
    clear: both;
}
header .pagename {
    float: left;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 40px;
    color: var(--text-primary);
}
header .pagename span {
    font-size: 20px;
    font-weight: 400;
    padding-left: 24px;
    background-image: url(../../img/common/g_right.png);
    background-size: 6px;
    background-position: 10px;
    /* filter: invert(1); */
}
header .right {
    float: right;
}

header .right > div {
    float: left;
}

header .favorites a {
    display: block;
    float: left;
    font-size: 14px;
    line-height: 40px;
    position: relative;
    padding: 0 14px;
    color: var(--text-secondary);
}
header .favorites a.on {
    color: var(--text-primary);
    font-weight: 500;
}
header .favorites a:after {
    content: "";
    display: block;
    width: 1px;
    height: 12px;
    background-color: var(--border-color);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
header .favorites a:last-child:after {
    display: none;
}
.devicePreview a {
    font-size: 0;
    width: 56px;
    height: 44px;
    display: inline-block;
    background-size: 23px;
    padding: 4px 0;
}

header .favorites:after,
.devicePreview:after {
    content: "";
    display: block;
    clear: both;
}
.devicePreview .pc {
    background-image: url(../../img/common/header_pc_icon.png);
    position: relative;
    filter: invert(1);
}
.devicePreview .mobile {
    background-image: url(../../img/common/header_mo_icon.png);
    filter: invert(1);
}
.devicePreview span {
    padding: 8px 0;
    float: left;
}

header .right > .managerAccount {
    padding: 0 20px;
    height: 24px;
    position: relative;
}
header .right > .managerAccount div {
    line-height: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-primary);
}
header .right > .managerAccount div span {
    font-size: 11px;
    padding-left: 5px;
}
header .right > .managerAccount a {
    height: 40px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    display: block;
    line-height: 40px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

header .right > .managerAccount .btnWrap {
    background-color: var(--bg-secondary);
    position: absolute;
    width: 100%;
    border: 1px solid var(--border-color);
    box-shadow: -16px 5.8px 13px 0 rgba(0, 0, 0, 0.2);
    left: 0;
    border-bottom: 0;
    display: none;
}
header .right > .managerAccount:hover .btnWrap {
    display: block;
}
header .right > .managerAccount a:hover {
    background-color: var(--hover-bg);
}

/* 콘텐츠 영역 스타일 수정 */
._content {
    margin-top: 100px;
    width: calc(100% - 340px);
    margin-left: 300px;
    margin-bottom: 100px;
    height: 100%;
}

._content section {
    background-color: var(--bg-secondary);
    margin-bottom: 20px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    max-width: 1920px;
}
._content section.full {
    min-height: 860px;
}
section .secTit:after {
    content: "";
    display: block;
    clear: both;
}
section .secTit {
    margin-bottom: 20px;
}
section .secTit .tit {
    float: left;
    font-size: 16px;
    margin-right: 20px;
    font-weight: 500;
    line-height: 32px;
    color: var(--text-primary);
}
section .secTit .left {
    float: left;
    line-height: 32px;
}
section .secTit .right {
    float: right;
    line-height: 32px;
}
section .secTit .right .checkLabel label {
    margin-top: 10px;
}
button._coB {
    width: 120px;
}

section.mainDateLay {
    padding: 20px 30px;
}

/* 스크롤바 스타일 수정 */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
::-webkit-scrollbar-track {
    background-color: var(--bg-primary);
}
::-webkit-scrollbar-track-piece {
    background-color: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: #3e3e5c;
}
::-webkit-scrollbar-button:start {
    display: none;
}
::-webkit-scrollbar-button:end {
    display: none;
}
body::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
body::-webkit-scrollbar-track {
    background-color: var(--bg-primary);
}
body::-webkit-scrollbar-track-piece {
    background-color: var(--bg-primary);
}
body::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: #3e3e5c;
}
body::-webkit-scrollbar-button:start {
    display: none;
}
body::-webkit-scrollbar-button:end {
    display: none;
}

 /* 메뉴 접힘 상태에 따른 헤더 위치 조정 */
 header {
    transition: all 0.3s;
}

/* 좌측 메뉴가 접혔을 때 헤더 위치 조정 */
body:has(._leftMenu.collapsed) header {
    width: calc(100% - 140px);
    left: 100px;
}

@media screen and (max-width: 720px) {
    ._content {
        /* margin-top: 50px; */
        width: 100%;
        margin-left: 0;
        margin-bottom: 20px;
        height: 100%;
    }
    
    ._content section {
        background-color: var(--bg-secondary);
        margin-bottom: 20px;
        padding: 30px;
        box-shadow: var(--card-shadow);
    }
    ._content section.full {
        min-height: 860px;
    }

    header {
        width: 100%;
        left: 0;
        height: auto;
        padding: 15px;
        background-color: var(--bg-primary);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    /* 페이지명 조정 */
    header .pagename {
        font-size: 16px;
        line-height: 30px;
        width: 100%;
        margin-bottom: 10px;
    }
    
    header .pagename span {
        font-size: 16px;
        padding-left: 16px;
        background-position: 6px center;
    }
    
    /* 헤더 우측 영역 조정 */
    header .right {
        float: none;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* 즐겨찾기 메뉴 */
    header .favorites {
        overflow-x: auto;
        white-space: nowrap;
        width: calc(100% - 50px);
        padding-bottom: 5px;
    }
    
    header .favorites a {
        padding: 0 10px;
        line-height: 30px;
    }
    
    /* 디바이스 미리보기 숨김 */
    .devicePreview {
        display: none;
    }
    
    /* 관리자 계정 정보 */
    header .right > .managerAccount {
        padding: 0 10px;
        height: 30px;
    }
    
    header .right > .managerAccount div {
        line-height: 30px;
    }
    
    /* 드롭다운 메뉴 위치 조정 */
    header .right > .managerAccount .btnWrap {
        right: 0;
        left: auto;
        width: 120px;
    }
    
    
}