﻿* {
    font-family: Pretendard !important;
}

.required-msg {
    color: #FF4040;
    font-size: 0.75rem;
    font-family: 'Pretendard' !important;
    font-weight: 500;
}

/* ?? AI 遺꾩꽍 踰꾪듉 ???????????????????????????? */
.ai-beta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(129,140,248,.4);
    transition: opacity .2s;
    text-decoration: none;
}
.ai-beta-btn:hover { opacity: .88; color: #fff; }
.ai-beta-btn .beta-tag {
    font-size: 11px;
    font-weight: 500;
    background: rgba(255,255,255,.22);
    border-radius: 6px;
    padding: 1px 8px;
    letter-spacing: .3px;
}

/* ?ш린源뚯? small*/
/* @media (max-width: 767px) {
} */
/* 991px 源뚯?媛 紐⑤컮??UI */
@media (max-width: 991px) {

    .mb-job-rq-detail-style {
        width: 100% !important;
        margin-top: 0 !important;
    }

    .calendar-cd-mobile-height {
        height: 420px !important;
    }

    .size1cd-mobile-height {
        height: 150px !important;
    }

    .name-cd-mobile-height {
        height: 200px !important;
    }

    .dsbd-mobile-height {
        height: 300px !important;
    }

    .donut-cd-mobile-height {
        height: 400px !important;
    }

    .export-btn-mobile-mg {
        margin-right: 10px;
    }

    /* .tracker-detail-col-custom {
        overflow-y: auto !important;
    } */
    .padding-custom-mb {
        padding-bottom: 30px !important;
    }

    .mobile-yauto-row-custom {
        margin-top: 10px !important;
        padding-right: 70px !important;
        /* margin-left: -50px !important; */
    }

    .mobile-row-custom {
        overflow-y: auto;
        overflow-x: hidden;
        margin-left: -20px !important;
        margin-right: -20px !important;
    }

    .mobile-height-auto {
        height: auto !important;
    }

    .mobile-card-body-custom {
        height: auto !important;
        overflow: visible !important;
        padding-inline: 30px !important;
        margin-left: 30px !important;
        margin-right: -60px !important;
        /* overflow-y: auto;
        padding-top: 0;
        padding-left: 30px !important;
        overflow-x: hidden; */
    }

    .under-remocon-area-mb-mg {
        margin-top: 20px !important;
    }

    .map-ratio {
        aspect-ratio: 5/3 !important;
    }

    .mobile-td-wd {
        width: 10% !important;
    }

    .chart-mg-zr {
        margin-left: 10px !important;
    }

    .mb-wd-auto {
        width: auto !important;
    }

    .mobile-search-row-height {
        height: 20% !important;
    }

    .mobile-table-row-height {
        height: 80% !important;
    }

    .event-card-mobile-mg {
        margin-left: -10px !important;
        margin-right: -10px !important;
    }

    .stp-event-mg {
        margin-left: -30px !important;
        margin-right: -30px !important;
    }

    .basicRow-mobile-mg {
        margin-left: -20px !important;
        margin-right: -20px !important;
    }

    .stp-event-tab-width {
        width: 100% !important;
    }

    .y-auto-row-mg {

        margin-right: -25px !important;
    }

    .date-input-width {
        width: 300px;
    }

    .chart-area-mg {
        margin-left: -47px !important;
        margin-right: -47px !important;
    }

    .chart-area-scroll {
        width: 400px !important;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .cd-pd {
        padding-inline: 0 !important;
    }

    .mb-row {
        margin-left: -25px !important;
        margin-right: -27px !important;
    }

    .basic-row-mg {
        margin-top: -12px !important;
    }

    .id-row-margin {
        margin-top: -1px !important;
    }

    .map-card-row {
        margin-top: -15px !important;
    }

    .list-col-custom-for-list-page {
        height: 100vh;

        overflow-x: hidden !important;
        overflow-y: hidden !important;
        padding-inline: 2px;
        display: flex;
        flex-direction: column;
        border-bottom: 2px solid rgba(205, 205, 205, 0.2);
    }

    .detail-col-custom-for-list-page {
        height: 100vh;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    .arrow-height {
        height: 15px;
    }

    .hr-custom {
        display: none;
    }

    /* 湲곗〈 ?대옒??而ㅼ뒪? */
    .content-custom {
        background-color: var(--bg-color);
        padding: 12px !important;
        overflow-y: auto;
        overflow-x: auto;
    }

    .cardbody-custom {
        margin-top: -15px;
        margin-left: -3px !important;
        margin-right: -3px !important;
    }

    /*/ 湲곗〈 ?대옒??而ㅼ뒪? */

    .page-comment-custom {
        color: var(--least-important-color) !important;
        font-weight: 500 !important;
        display: none;
    }

    .navbar-light {
        /* background-color: var(--mobile-menubar-color); */
        /* border-bottom: 2px solid rgba(205, 205, 205, 0.2); */
    }

    .map-height-mobile {
        height: 200px !important;
    }

    .wtable-height-custom {
        height: 250px !important;
    }

    .vertical-line {
        border-right: 0px solid rgba(0, 0, 0, 0.2) !important;
    }

    /* 移대뱶 而ㅼ뒪? */
    .mini-card-custom {
        border-bottom: 1px solid rgba(28, 27, 27, 0.2) !important;
        max-width: none !important;
        border: none;
        border-radius: 0;
        padding-bottom: 10px;
        background-color: #ffffff !important;
        box-shadow: none;
    }

    .main-card-custom {
        max-width: none !important;
        border: none;
        background-color: #ebebeb !important;
        box-shadow: none;
        border-radius: 10px !important;
    }

    /* .donut-card-custom {
        padding: 0 !important;
        padding-left: -10px !important;
        margin-left: -20px;
        margin-right: -20px;
    } */
    /* /移대뱶 而ㅼ뒪? */
}

.tracker-detail-col-custom {
    overflow-y: hidden !important;
}

.map-card-row {
    margin-top: -40px;
}

.arrow-height {
    height: 17px;
    margin-top: 5px !important;
}

.tab-col-custom {
    overflow-x: auto !important;
    /* 媛濡??ㅽ겕濡??쒖꽦??*/
    overflow-y: hidden !important;
    /* ?몃줈 ?ㅽ겕濡?鍮꾪솢?깊솕 (?꾩슂 ?? */
    white-space: nowrap !important;
    /* 肄섑뀗痢좉? 以?諛붽퓞?섏? ?딄퀬 ??以꾨줈 ?댁뼱吏?꾨줉 ?ㅼ젙 */
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* 湲곗〈 ?대옒??而ㅼ뒪? */
.content {
    background-color: var(--bg-color);
    padding-inline: 20px;
    padding-top: 8px;
    overflow-y: auto;
    overflow-x: auto;
}

/*/ 湲곗〈 ?대옒??而ㅼ뒪? */
.content-custom {
    background-color: var(--bg-color);
    padding-inline: 20px;
    padding-top: 15px;
    overflow-y: auto;
    overflow-x: auto;
}

.container-custom {
    padding: 0;
    margin-top: 0;
}

.cardbody-custom {
    margin-left: 10px;
    margin-right: 20px;
}

.wtable-height-custom {
    height: 420px !important;
}

.page-comment-custom {
    color: var(--least-important-color) !important;
    font-weight: 400 !important;
    font-size: 15px !important;
    font-family: 'Pretendard' !important;
}

/*理쒖쥌 ??而ㅼ뒪?*/
/* ???꾩껜 而⑦뀒?대꼫 */
.custom-tab-group3 {
    background-color: #fff;
    /* 諛곌꼍 ?곗깋 */
    border: 1px solid #e9ecef;
    /* ?꾩＜ ?고븳 ?뚮몢由?*/
    border-radius: 10px !important;
    /* ?꾩껜?곸쑝濡??κ렐 紐⑥꽌由?*/
    padding: 3px;
    /* ?대? 踰꾪듉怨쇱쓽 媛꾧꺽 */
    display: flex;
    flex-wrap: nowrap;
    /* ??以꾩뿉 紐⑤몢 諛곗튂 */
    gap: 1px;
    align-items: center;

}

/* 湲곕낯 踰꾪듉 ?ㅽ???(誘몄꽑???곹깭) */
.custom-tab3 {
    color: #adb5bd !important;
    /* ?고븳 ?뚯깋 湲??(uncheck) */
    background-color: transparent !important;
    /* 諛곌꼍 ?щ챸 */
    border: none !important;
    /* ?뚮몢由??쒓굅 */
    border-radius: 7px !important;
    font-weight: 600;
    font-size: 12px !important;
    padding: 4px 8px !important;
    white-space: nowrap;
    transition: all 0.3s ease;
    flex: 0 0 auto;
    /* ?댁슜 ?ш린留뚰겮留?李⑥?, ?섏뼱?섏? ?딆쓬 */
    text-align: center;
}

/* ?좏깮???곹깭 ?ㅽ???(Checked) */
.custom-tab-group3 .btn-check:checked+.custom-tab3 {
    background-color: #eef4ff !important;
    color: #4385f5 !important;
    font-weight: bold;

}

/* ?몃쾭 ?ㅽ???(?좏깮?섏? ?딆? 踰꾪듉??留덉슦???щ졇???? */
.custom-tab3:hover {
    background-color: #f8f9fa !important;
    color: #6c757d !important;
}

/* 遺?몄뒪?몃옪 湲곕낯 ?뚮? ?뚮몢由??ъ빱?? ?쒓굅 */
.btn-check:focus+.btn-primary,
.btn-primary:focus {
    box-shadow: none !important;
}

/* /理쒖쥌 ??而ㅼ뒪? */

/* 移대뱶 而ㅼ뒪? */
.main-card-custom {
    max-width: none !important;
    border: none;
    background-color: #ffffff !important;
    box-shadow: none;
    border-radius: 5px;
    padding: 10px;
}

.mainB-card-custom {
    position: relative !important;
    /* 遺紐??붿냼???곷? ?꾩튂瑜??ㅼ젙 */
    max-width: none !important;
    border: none !important;
    /* background-color: #EFF9FC!important; */
    background-color: var(--content-card-background-color) !important;
     /*蹂?섎줈 蹂寃?*/
    /* background-color: #ffffff !important; */
    border-radius: 5px !important;
    padding: 15px !important;
    padding-top: 4px !important;
    box-shadow: 2px 2px 4px rgba(87, 81, 81, 0.3) !important;
}

/* 대시보드 카드가 깔리는 바닥 배경.
   .mainB-card-custom 은 32개 페이지가 함께 쓰므로 카드 그리드(#gridTarget)가 있는 대시보드에만 적용한다 */
.mainB-card-custom:has(#gridTarget) {
    background-color: #F3F5F9 !important;
    /* 위 여백을 좌우와 같게: 좌우 = padding 15px + 카드 margin 6px = 21px, 위도 15px + 6px */
    padding-top: 15px !important;
}

.mainW-card-custom {
    max-width: none !important;
    border: none;
    background-color: #ffffff !important;
    box-shadow: none !important;
    border-radius: 5px;
    padding: 10px;
}

.mini-card-custom {
    max-width: none !important;
    border: none;
    background-color: #ffffff !important;
    box-shadow: none;
}

.sd-inner-card-custom {
    height: 100%;
    max-width: none !important;
    border: none;
    background-color: #ffffff !important;
    box-shadow: none;
    border-radius: 5px;
    margin-left: 8px!important;
    margin-right: 8px!important;
    margin-top: 10px!important;
}

.sd-inner-custom {
    max-width: none !important;
    /* border: none; ????대?吏? 媛숈? ?고븳 ?뚮몢由?異붽? */
    border: 1px solid #f0f0f0 !important;
    background-color: #ffffff !important;
    /* ????洹몃┝??異붽? */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04) !important;
    /* 紐⑥꽌由щ? 20px濡??ш쾶 援대┝ */
    border-radius: 20px !important;

    /* ?щ갚 議곗젙 */
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
    /* 遺紐?而щ읆 ??뿉 苑?李④쾶 ?ㅼ젙 */

    /* ?대? ?댁슜???쇱슫?쒕? 踰쀬뼱?섏? ?딅룄濡?*/
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sd-inner-card-header-custom {
    background-color: transparent;
    border: none;

    font-size: 18px !important;
    color: var(--title-font-color) !important;
    font-weight: bold;
}

/*/ 移대뱶 而ㅼ뒪? */

/* 紐⑸줉 諛??곹깭 ?섏씠吏 ?ㅽ겕濡??꾪븳 而ㅼ뒪? */
.content-custom-for-list-page {
    background-color: var(--bg-color);
    width: 100%;
    padding: 0;
    overflow-x: hidden;
}

.list-col-custom-for-list-page {
    background-color: #ffffff !important;
    height: 100%;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    padding-inline: 2px;
    display: flex;
    flex-direction: column;
}

/* 罹섎┛???대깽???붿빟???ㅼ뼱媛??移대뱶???ㅽ겕濡ㅼ씠 ?꾩슂 ?녿뒗 怨좎젙 ?곸뿭?대씪, ?대뼡 ?먯떇???댁쭩
   ?섏튂??媛濡??몃줈 ?ㅽ겕濡ㅻ컮媛 ?덈? ?앷린吏 ?딅룄濡?移대뱶 ?먯껜??吏곸젒 overflow:hidden??嫄대떎 */
.calendar-area .card {
    overflow: hidden !important;
}

/* 罹섎┛???꾩젽(flatpickr)??而щ읆蹂대떎 ?댁쭩 ?볤굅???믪븘???앷린??遺덊븘?뷀븳 媛濡??몃줈 ?ㅽ겕濡ㅻ컮 ?쒓굅 */
.calendar-row,
.dateSelector,
.flatpickr-calendar,
.flatpickr-calendar.inline,
.flatpickr-innerContainer,
.flatpickr-rContainer,
.flatpickr-days,
.dayContainer {
    overflow: hidden !important;
}

.list-col-custom-for-list {

    height: 100%;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    padding-inline: 2px;
    display: flex;
    flex-direction: column;
}

.detail-col-custom-for-list-page {
    height: 100%;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background-color: #F8FAFC;
}

.list-row-custom-for-list-page {
    flex: 0 0 auto;
}

.list-row-rest-custom-for-list-page {
    flex: 1 1 auto;
    overflow: hidden;
}

.scroll-list-box {
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    width: 100%;
    background-color: white !important;
}

.num-box {
    color: white;
    background-color: var(--button-color);
    border: none;
    border-radius: 15px;
    padding-inline: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.lightgray-background {
    background-color: var(--text-box-color) !important;
    border-radius: 10px;

    transition: background-color 0.2s ease;
    /* 遺?쒕윭???꾪솚 ?④낵 */
}

.list-tr-custom:hover .lightgray-background {
    background-color: var(--deeper-text-box-color) !important;
    /* ??吏꾪븳 ?됱긽?쇰줈 ?ㅼ젙 */
}

.lightgray-background.highlighted {
    background-color: var(--deeper-text-box-color) !important;
    /* ??吏꾪븳 ?됱긽?쇰줈 ?ㅼ젙 */
}

/* tr ?붿냼媛 hover ?섏뿀???뚯쓽 ?ㅽ???*/
.list-tr-custom {
    cursor: pointer;
    /* 留덉슦?ㅻ? 媛?몃떎 ?붿쓣 ???먭???紐⑥뼇 ?쒖꽦??*/
    transition: background-color 0.2s ease;
    /* 諛곌꼍??蹂寃쎌뿉 遺?쒕윭???꾪솚 ?④낵 異붽? */
}

.list-tr-custom td {
    border: none !important;
    border-bottom: 0 !important;

}

.list-tr-custom:hover {

    background-color: var(--row-hover-color) !important;
}

.list-tr-custom.tr-selected {
    background-color: var(--row-hover-color) !important;
}

/*/ 紐⑸줉 諛??곹깭 ?섏씠吏 ?ㅽ겕濡??꾪븳 而ㅼ뒪? */

/* tr?붿냼 而ㅼ뒪? */
.tr-custom {
    cursor: pointer;
    /* 留덉슦?ㅻ? 媛?몃떎 ?붿쓣 ???먭???紐⑥뼇 ?쒖꽦??*/
    transition: background-color 0.2s ease;
    /* 諛곌꼍??蹂寃쎌뿉 遺?쒕윭???꾪솚 ?④낵 異붽? */
}

/* tr ?붿냼媛 hover ?섏뿀???뚯쓽 ?ㅽ???*/
.tr-custom:hover {
    background-color: #f0f0f0 !important;
    /* ?먰븯???대몢???됱긽?쇰줈 蹂寃?(?ш린?쒕뒗 ?고븳 ?뚯깋 ?덉떆) */
}

.td-custom {
    background-color: transparent !important;
}

.td-custom.cctv-tr-selected {
    border-right: 3px solid rgb(228, 145, 67) !important;
    /* background-color: red !important; */
}

/* /tr?붿냼 而ㅼ뒪? */
.p-background {
    background-color: var(--text-box-color);
    border-radius: 10px;
    padding-inline: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.br-custom {
    margin-top: 10px;
    margin-left: 20px;
    margin-right: 80px;
}

/* ?쇨컖???ㅻ쾭?덉씠 */
/* .triangle-button {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 15px solid #626262;
    position: fixed; 
    z-index: 1000;
    top: 10%;
    left: 90%;
    transform: translate(-50%, -50%); 
} */

.up-down-btn {
    position: fixed;
    top: 10%;
    left: 85% !important;
    z-index: 1000;

    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover ????吏꾪븳 ?됱긽?쇰줈 蹂寃?*/
.triangle-button:hover {
    border-bottom-color: rgba(98, 98, 98, 1);
}

.date-input-width {
    width: 420px;
}

.yauto-custom {
    color: var(--font-color) !important;
    margin-right: 5px;
    margin-top: 20px;
}

.secondRow-hr-custom {
    margin-left: 5px;
    margin-right: 45px !important;
}

.monitoring-container-pd {
    padding: 0;
}

.nanum-bold_box {
    font-size: 14px !important;
    font-family: 'Pretendard' !important;
    color: #1E293B !important;
}

.nanum-bold {
    font-family: 'Pretendard' !important;
    font-weight: 600 !important;
}

.nanum-event {
    font-size: 16px !important;
    font-family: 'NanumSquareRegular' !important;
    font-weight: 400 !important;
}

.nanum-regular {
    font-weight: 400 !important;
}

.nanum-bold_ex {
    font-family: 'NanumSquareBold' !important;
}

.nanum-extra-bold {
    font-size: 18px !important;
    font-family: 'NanumSquareExtraBold' !important;
}

.nanum-extra-bold-h {
    font-family: 'NanumSquareExtraBold' !important;
}

.nanum-extra-bold-e {
    font-size: 17px !important;
    font-family: 'Pretendard' !important;
    font-weight: 500 !important;
    color: #1E293B !important;
}


.nanum-extra-bold_e {
    font-size: 40px !important;
    color: #2E66D5;
    font-family: 'NanumSquareExtraBold' !important;
}

.nanum-extra-bold-occ {
    font-size: 60px !important;
    color: #2E66D5;
    font-family: 'NanumSquareExtraBold' !important;
}

.nanum-extra-bold_mo {
    font-size: 24px !important;
    font-family: 'Pretendard' !important;
    font-weight: 600 !important;
}

/* *?꾪솴_媛濡?HorizonHrDonutCd 湲곕컲) 移대뱶?ㅼ쓽 ?섏튂???꾨? 20px濡??듭씪 */
.allBandSt,
.hbEmecyBandSt,
.tpEmecyBandSt,
.allCapSt,
.wearCapSt,
.noWearCapSt,
.allHookSt,
.useHookSt,
.noUseHookSt,
.allDisSt,
.angEmecyDisSt,
.impEmecyDisSt,
.allDodSt,
.openDodSt,
.allStbtnSt,
.alarmStbtnSt,
.allTrackerSt,
.geoEmecyTrackerSt,
.spdEmecyTrackerSt,
.drivingDoneTrackerSt,
.normalGasSt,
.warningGasSt,
.dangerGasSt,
.normalHutempSt,
.careWarningHutempSt,
.dangerHutempSt,
.normalWindSt,
.warningWindSt,
.dangerWindSt,
.workingWorkerSt,
.prevWorkerSt,
.outWorkerSt,
.allSirenSt,
.alarmSirenSt {
    font-size: 20px !important;
}

.nanum-extra-bold-weather {
    font-size: 40px !important;
    font-family: 'NanumSquareExtraBold' !important;
}

.nanum-regular-occ {
    font-size: 16px !important;
    font-family: 'Pretendard' !important;
    font-weight: 500 !important;
}

.regular-event {
    font-size: 13px !important;
    font-family: 'Pretendard' !important;
    font-weight: 500 !important;
}


.nanum-regular-name {
    font-size: 17px !important;
    font-family: 'Pretendard' !important;
    font-weight: 500 !important;
    color: #5A677B !important;
}

.nanum-regular-sub {
    font-size: 18px !important;
    color: #696767;
    font-family: 'NanumSquareRegular' !important;
    white-space: nowrap;
}

.nanum-regular-subsub {
    font-size: 16px !important;
    color: #696767;
    font-family: 'NanumSquareRegular' !important;
}

.nanum-regular-data {
    font-size: 16px !important;
    color: #696767;
    font-family: 'NanumSquareRegular' !important;
}

.nanum-regular-gas {
    font-size: 13px !important;
    color: #555454;
    font-family: 'NanumSquareRegular' !important;
}

.nanum-regular-event {
    font-size: 13px !important;
    color: #5A677B !important;
    font-family: 'Pretendard' !important;
    font-weight: 400 !important;
}

.nanum-bold-occ {
    font-size: 17px !important;
    color: #555454;
   font-family: 'Pretendard' !important;
}

/* 罹섎┛???꾨옒 ?대깽???붿빟 ??以??? "蹂?꾩꽱??蹂?꾨컻??0嫄?) ???낆? ?뚯깋 諛뺤뒪濡?臾띠뼱??移대뱶泥섎읆 蹂댁씠寃??쒕떎 */
.event-summary-row {
    box-sizing: border-box;
    margin: 0 14px 10px 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background-color: #F7F9FC;
}

.event-summary-label {
    font-family: 'Pretendard' !important;
    font-weight: 500!important;
    font-size: 14px!important;
    color: #5A677B !important;
}

.event-summary-value {
    font-family: 'Pretendard' !important;
    font-weight: 600;
    font-size: 15px;
    color: #1E293B;
}

.nanum-bold-occupancy {
    font-size: 16px !important;
    color: #555454;
    font-family: 'NanumSquareRegular' !important;
}

.nanum-bold-occTitle {
    font-size: 21px !important;

    font-family: 'NanumSquareExtraBold' !important;
}

.mobile-monitor-list {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(218, 218, 218, 0.8);
    /* 諛섑닾紐?諛곌꼍 */
    z-index: 1000;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 10px;
    /* ?대? ?щ갚 */
    box-shadow: 0 -4px 10px rgba(178, 178, 178, 0.5);
    /* 洹몃┝???④낵 */
}

.overlay-monitor-container {
    display: flex;
    gap: 10px;
}

.mobile-card-custom {
    flex: 0 0 auto;
    /* 媛濡쒕줈留??뺤옣?섎룄濡??ㅼ젙 */
    width: 250px;
    /* 移대뱶 怨좎젙 ?덈퉬 */
    height: 90px;
    /* 移대뱶 怨좎젙 ?믪씠 */
    background: white;
    /* 移대뱶 諛곌꼍??*/
    border-radius: 8px;
    /* 移대뱶 紐⑥꽌由??κ?寃?*/
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* 移대뱶 洹몃┝??*/
    display: flex;
    align-items: center;
    /* ?섏쭅 媛?대뜲 ?뺣젹 */
}

.object-card-custom {
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    padding: 1rem;
    margin-bottom: 1rem;
}

.break-word-custom {
    word-break: break-word;
    white-space: normal;
}

.main-row {
    overflow: hidden;
}

/* 踰꾪듉 而ㅼ뒪? 理쒖쥌 */
.checkbutton-custom {
    font-family: 'Pretendard' !important;
    border-radius: 10px !important;
    border: none;
    background-color: var(--button-color);
    --bs-btn-color: #ffffff !important;
    /*踰꾪듉 ?덉쓽 湲吏??됱긽*/
    /* --bs-btn-bg: #326abc; */
    --bs-btn-border-color: var(--button-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--button-hover-color);
    --bs-btn-hover-border-color: var(--button-color);
    --bs-btn-focus-shadow-rgb: 88, 145, 226;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--button-color);
    --bs-btn-active-border-color: var(--button-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--button-disable-color);
    --bs-btn-disabled-border-color: var(--button-hover-color);
    /* background-image: linear-gradient(45deg, #326abc, #1e3e6e); */
}

.checkbutton-custom:hover {
    background-color: var(--button-hover-color);
    color: #ffffff;
}

.rvs-checkbutton-custom {
    border-radius: 10px !important;
    border: 2px solid var(--button-color);
    /* ?뚮몢由??됱긽 ?곸슜 */
    background-color: #ffffff;
    /* 諛곌꼍 ?곗깋 */
    color: var(--button-color);
    /* 湲?먯깋??--button-color濡?*/

    --bs-btn-color: var(--button-color);
    --bs-btn-bg: #ffffff;
    --bs-btn-border-color: var(--button-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--button-hover-color);
    --bs-btn-hover-border-color: var(--button-hover-color);
    --bs-btn-focus-shadow-rgb: 88, 145, 226;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--button-color);
    --bs-btn-active-border-color: var(--button-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--button-disable-color);
    --bs-btn-disabled-border-color: var(--button-hover-color);
}

.rvs-checkbutton-custom:hover {
    background-color: var(--button-hover-color);
    color: #ffffff;
}

.modifybutton-custom {
    border-radius: 10px !important;
    border: none;
    background-color: var(--mbutton-color);
    --bs-btn-color: #ffffff;
    /*踰꾪듉 ?덉쓽 湲吏??됱긽*/
    /* --bs-btn-bg: #326abc; */
    --bs-btn-border-color: var(--mbutton-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--mbutton-hover-color);
    --bs-btn-hover-border-color: var(--mbutton-color);
    --bs-btn-focus-shadow-rgb: 88, 145, 226;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--mbutton-color);
    --bs-btn-active-border-color: var(--mbutton-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--button-disable-color);
    --bs-btn-disabled-border-color: var(--mbutton-hover-color);
    /* background-image: linear-gradient(45deg, #326abc, #1e3e6e); */
}

.modifybutton-custom:hover {
    background-color: var(--mbutton-hover-color);
    color: #ffffff;
}

.deletebutton-custom {
    border-radius: 10px !important;
    border: none;
    background-color: var(--dbutton-color);
    --bs-btn-color: #ffffff;
    /*踰꾪듉 ?덉쓽 湲吏??됱긽*/
    /* --bs-btn-bg: #326abc; */
    --bs-btn-border-color: var(--dbutton-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--dbutton-hover-color);
    --bs-btn-hover-border-color: var(--dbutton-color);
    --bs-btn-focus-shadow-rgb: 88, 145, 226;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--dbutton-color);
    --bs-btn-active-border-color: var(--dbutton-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--button-disable-color);
    --bs-btn-disabled-border-color: var(--dbutton-hover-color);
    /* background-image: linear-gradient(45deg, #326abc, #1e3e6e); */
}

.deletebutton-custom:hover {
    background-color: var(--dbutton-hover-color);
    color: #ffffff;
}

/* /踰꾪듉 而ㅼ뒪? 理쒖쥌 */

/* ?? ?뚯씠釉????≪뀡 踰꾪듉(?섏젙/??젣) ???꾩슜 而댄뙥???ㅽ????????????? */
.tbl-action-btn {
    appearance: none;
    -webkit-appearance: none;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    border: none;
    font-size: 13px !important;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #ffffff !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.tbl-action-btn:hover {
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.2);
    transform: translateY(-1px);
}

.tbl-action-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.15);
}

.tbl-action-btn--modify {
    background-color: #ffffff !important;
    border: 1.5px solid var(--button-color) !important;
    color: var(--button-color) !important;
}

.tbl-action-btn--modify:hover {
    background-color: var(--button-color) !important;
    color: #ffffff !important;
}

.tbl-action-btn--delete {
    background-color: var(--dbutton-color) !important;
}

.tbl-action-btn--delete:hover {
    background-color: var(--dbutton-hover-color) !important;
}

.settingbox-custom {
    background-color: var(--text-box-color);
    border-radius: 10px;
    padding-top: 10px;
    padding-bottom: 3px;
}

.pageBtn-custom {
    margin-top: 15px;
    border-radius: 10px !important;
    padding: 6px 12px;
}

.pageBtn-custom.selected {
    background: var(--point-color) !important;
    color: #ffffff !important;
}

.text-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* h5player */
.h5-play-wrap {
    position: relative;
    overflow: hidden;

    width: 100%;
    aspect-ratio: 5 / 3;

    background-color: transparent;
}

.video_loading {
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
}

.radio-img {
    width: 30px;
    height: 30px;
    cursor: pointer;
    border: 2px solid transparent;
    /* 湲곕낯 ?뚮몢由?*/
    border-radius: 8px;
    transition: transform 0.2s, border-color 0.2s;
}

.map-img {
    width: 30px;
    height: 30px;
    cursor: pointer;
    border: 2px solid transparent;
    /* 湲곕낯 ?뚮몢由?*/
    border-radius: 8px;
    transition: transform 0.2s, border-color 0.2s;
}

/* 由щえ而?愿??而ㅼ뒪? */
.cross-container {
    background-color: var(--remocon-bg-color);
}

.inner-cross-container {
    background-color: var(--remocon-btn-color);
    display: grid;
    grid-template-rows: 1fr auto 1fr;
    grid-template-columns: 1fr auto 1fr;
    /* grid-template-columns: repeat(3, 1fr);   grid-template-rows: repeat(3, 1fr);  */
    position: relative;
}

.cross-item {
    position: relative;
    background-color: var(--remocon-bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ?꾩튂蹂??ㅽ???*/
.cross-item.LeftUp {
    grid-row: 1;
    grid-column: 1;
    border-bottom-right-radius: 8px !important;
    /* ?ㅻⅨ履??꾨옒 紐⑥꽌由??κ?寃?*/
}

.cross-item.Up {
    grid-row: 1;
    grid-column: 2;
}

.cross-item.RightUp {
    grid-row: 1;
    grid-column: 3;
    border-bottom-left-radius: 8px !important;
    /* ?ㅻⅨ履??꾨옒 紐⑥꽌由??κ?寃?*/
}

.cross-item.Left {
    grid-row: 2;
    grid-column: 1;
}

.cross-item.Right {
    grid-row: 2;
    grid-column: 3;
}

.cross-item.LeftDown {
    grid-row: 3;
    grid-column: 1;
    border-top-right-radius: 8px !important;
    /* ?ㅻⅨ履??꾨옒 紐⑥꽌由??κ?寃?*/
}

.cross-item.Down {
    grid-row: 3;
    grid-column: 2;
}

.cross-item.RightDown {
    grid-row: 3;
    grid-column: 3;
    border-top-left-radius: 8px !important;
    /* ?ㅻⅨ履??꾨옒 紐⑥꽌由??κ?寃?*/
}

/* 以묒븰 踰꾪듉 ?ㅽ???*/
.cross-item.center {
    grid-row: 2;
    grid-column: 2;
    background-color: transparent;
    border: transparent;
    /* background-color: var(--remocon-btn-color) !important; */
    /* background-color:red; */
}

.circle-btn {
    display: block;
    width: 70% !important;
    aspect-ratio: 1;
    background-color: var(--remocon-btn-color);
    border: 2px solid var(--remocon-border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.circle-tri {}

/* ?몃쾭 ???④낵 */
.circle-btn:hover {
    /* background-color: #aaa; */
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
    /* 洹몃┝??媛뺥솕 */
}

/* ?대┃ ???④낵 */
.circle-btn:active {
    transform: scale(0.95);
    /* ?대┃ ??踰꾪듉 ?쎄컙 異뺤냼 */
    /* background-color: #888; */
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
    /* 洹몃┝??媛뺥솕 */
}

/* 由щえ而?媛?대뜲 踰꾪듉 */
.center-circle-btn {
    display: block;
    background-color: white;
    border: 2px solid var(--remocon-border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.center-circle-btn:hover {
    /* background-color: #faf8f8; */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    /* 洹몃┝??媛뺥솕 */
}

.center-circle-btn:active {
    transform: scale(0.95);
    /* ?대┃ ??踰꾪듉 ?쎄컙 異뺤냼 */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    /* 洹몃┝??媛뺥솕 */
    /* background-color: #faf8f8; */
}

/* /由щえ而?媛?대뜲 踰꾪듉 */
.cross-box {
    display: flex;
    background-color: var(--remocon-btn-color);
    /* background-color: red; */
    justify-content: center !important;
    align-items: center !important;
}

.cross-box.Up {
    width: 100%;
    height: 80%;
    position: absolute;
    bottom: 0;
    border-radius: 8px 8px 0 0 !important;
}

.cross-box.Left {
    height: 100%;
    width: 80%;
    position: absolute;
    right: 0;
    border-radius: 8px 0 0 8px !important;
}

.cross-box.Right {
    height: 100%;
    width: 80%;
    position: absolute;
    left: 0;
    border-radius: 0 8px 8px 0 !important;
}

.cross-box.Down {
    width: 100%;
    height: 80%;
    position: absolute;
    top: 0;
    border-radius: 0 0 8px 8px !important;
}

/* 湲곕낯 ?ㅽ???*/

.tri-btn {
    background-color: transparent;
    border: transparent;
}

/* ?꾩そ ?쇨컖??*/
.tri-btn.top {
    margin-bottom: 30px;
}

/* ?꾨옒履??쇨컖??*/
.tri-btn.bottom {
    margin-top: 30px;
}

/* ?쇱そ ?쇨컖??*/
.tri-btn.left {
    margin-right: 30px;
}

/* ?ㅻⅨ履??쇨컖??*/
.tri-btn.right {
    margin-left: 30px;
}

.remocon-container {
    background-color: var(--remocon-bg-color);
    border: 2px solid var(--remocon-border-color);
    box-shadow: 0 7px 5px rgba(0, 0, 0, 0.2);
    overflow-y: hidden;
    border-radius: 30px;
    aspect-ratio: 1 / 2;
}

/* .tri-btn:hover {
    border-color: #888;
} */
.under-remocon-area {
    margin-left: 12px;
    margin-right: 12px;
}

.rac-btn {
    display: inline-block;
    /* ?몃씪??釉붾줉?쇰줈 ?ㅼ젙 */
    width: 100%;
    height: auto;
    padding: 10px 20px;
    /* ?대? ?щ갚 ?ㅼ젙 */
    background-color: var(--remocon-btn-color);
    /* 踰꾪듉 諛곌꼍??(?뚮??? */
    border: 2px solid var(--remocon-border-color);
    border-radius: 8px;
    /* ?댁쭩 ?κ렐 紐⑥꽌由?*/
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); */
    cursor: pointer;
    /* ?대┃ 媛?ν븳 ?ъ씤??*/
    transition: all 0.3s ease;
    /* 遺?쒕윭???좊땲硫붿씠???④낵 */
}

/* ?몃쾭 ???④낵 */
.rac-btn:hover {
    /* background-color: #0056b3; 諛곌꼍???대몼寃?蹂寃?*/
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
    /* 洹몃┝??媛뺥솕 */
}

/* ?대┃ ???④낵 */
.rac-btn:active {
    /* background-color: #003f7f;  */
    transform: scale(0.98);
    /* ?쎄컙 異뺤냼 */
}

.option-btn {
    display: inline-block;
    /* ?몃씪??釉붾줉?쇰줈 ?ㅼ젙 */
    /* width: 100%; */
    height: 100%;
    padding: 5px 5px;
    background-color: var(--remocon-btn-color);
    border: 2px solid var(--remocon-border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* ?몃쾭 ???④낵 */
.option-btn:hover {
    /* background-color: #0056b3; 諛곌꼍???대몼寃?蹂寃?*/
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
    /* 洹몃┝??媛뺥솕 */
}

/* ?대┃ ???④낵 */
.option-btn:active {
    /* background-color: #003f7f;  */
    transform: scale(0.98);
    /* ?쎄컙 異뺤냼 */
}

.map-ratio {
    aspect-ratio: 5/9;
}

.dsbd-card-custom {
    /* 移대뱶 醫낅쪟? ?곴??놁씠 ??긽 ?숈씪???멸낸 ?щ갚??媛뽯룄濡??쒖???(margin 6px = ???꾨옒/醫???紐⑤몢 ?숈씪) */
    margin: 6px !important;
    /* width媛 蹂댄넻 100%(遺紐?而щ읆 湲곗?)?쇱꽌 margin(6px*2=12px)留뚰겮 ??쓣 以꾩뿬以섏빞 ?ㅼ쓬 而щ읆??移⑤쾾?섏? ?딆쓬.
       ?닿쾶 ?놁쑝硫?移대뱶媛 留ㅻ쾲 12px????而щ읆????뼱?⑥꽌, ?????덉뿉???ㅻ줈 媛덉닔濡??먯젏 ?곗륫?쇰줈 諛??而ㅼ???寃껋쿂??蹂댁엫. */
    width: calc(100% - 12px) !important;
    box-sizing: border-box !important;
    border-radius: 16px !important;
    max-width: none !important;
    border: 1px solid #E7EBF2;
    background-color: #ffffff;
    box-shadow: 0 6px 20px 0 rgba(20, 24, 31, 0.05), 0 1px 2px 0 rgba(20, 24, 31, 0.04) !important;
}

.dsbd-card-header-custom {
    border-radius: 10px;
    background-color: transparent;
    border: none;
    color: var(--important-font-color);
    font-family: 'NanumSquareBold';
}

.dsbd-card-header-bar {
    display: inline-block;
    width: 4px;
    height: 16px;
    margin-right: 8px;
    border-radius: 2px;
    background-color: #5D87FF;
}

.thead-dark-custom th {
    background-color: #EEF2F6;
    /* Bootstrap dark */
    color: var(--important-font-color);
}

/* 而ㅼ뒪? ?뚯씪 ?낅줈??踰꾪듉 */
.custom-original-file-input {
    display: none;
}

.custom-file-upload {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    background-color: #f5f5f5;
    border: solid 1px #dcd8d8;
    color: rgb(91, 86, 86);
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.file-name-display {
    padding-left: 8px;
    display: flex;
    align-items: center;
    flex: 1;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    background-color: #ffffff !important;
    height: 100% !important;
    border: 1px solid #dcd8d8;
    border-left: none;
}

.thin-horizon-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 transparent;
}

.thin-horizon-scrollbar::-webkit-scrollbar {
    height: 5px;
    /* 1px ???6px 沅뚯옣 */
}

/* WebKit (Chrome/Edge/Safari) */
.thin-horizon-scrollbar::-webkit-scrollbar {
    height: 6px;
    /* 1px ???6px 沅뚯옣 */
}

.thin-horizon-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.thin-horizon-scrollbar::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 9999px;
}

.file-upload-wrapper {
    width: 100% !important;
    /* height: 100%; */
    height: 35px;
    display: flex;
    align-items: center;
}

.file-pill {
    background-color: #f1eeee;
    border-radius: 999px;
    height: 80%;
}

/* /而ㅼ뒪? ?뚯씪 ?낅줈??踰꾪듉 */

.select-disabled-custom:disabled {
    appearance: none;
    /* 理쒖떊 釉뚮씪?곗???*/
    -webkit-appearance: none;
    /* Safari, Chrome */
    -moz-appearance: none;
    /* Firefox */

    background-image: none !important;
    /* ?붿궡???대?吏 ?쒓굅 */
    background-color: #e9ecef;
    /* 鍮꾪솢?깊솕???먮굦 ?좎? (?좏깮?ы빆) */
    color: #6c757d;
    /* ?띿뒪???됰룄 鍮꾪솢???ㅽ??쇰줈 */
}

.calendar-event {
    position: absolute;
    background: rgb(241, 124, 124, 0.7);
    width: 5px;
    height: 5px;
    border-radius: 150px;
    bottom: 5px;
    left: calc(50% - 2px);
    content: ' ';
    display: block;
}

.truncate-multiline {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    white-space: normal;
}

.map-marker-label {
    font-size: 15px;
    font-family: nanumSquareExtraBold;
    font-weight: 900 !important;
    color: #000000;
    white-space: nowrap;
    margin-top: -5px;

    /* 諛곌꼍???쒓굅 */
    background-color: transparent;

    /* 1. 湲???뚮몢由?(?섏????멸낸?? */
    /* 8媛?諛⑺뼢?쇰줈 洹몃┝?먮? 二쇱뼱 湲??紐⑥뼇???곕씪媛???좊챸???뚮몢由щ? 留뚮벊?덈떎. */
    text-shadow:
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff,
        0px 1px 0 #fff,
        0px -1px 0 #fff,
        -1px 0px 0 #fff,
        1px 0px 0 #fff;

    /* 2. ?뱁궥 ?꾩슜 ?뚮몢由?蹂댁젙 (?붿슧 ?좊챸?섍쾶) */
    -webkit-text-stroke: 0.5px #ffffff;

    /* 媛?낆꽦 理쒖쟻??*/
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;

    /* 3. ?섎떒 洹몃┝??(?좏깮 ?ы빆: 湲?먮? ???꾩썙 蹂댁씠寃??? */
    /* filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.5)); */

    /* ?좏깮 遺덇? 諛??대┃ 臾댁떆 */
    user-select: none;
    pointer-events: none;
}

.clickable-card {
    cursor: pointer;
    position: relative;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.clickable-card::after {
    content: '??;
    position: absolute;
    bottom: 14px;
    right: 18px;
    font-size: 20px;
    line-height: 1;
    color: #d0d8e4;
    transition: color 0.18s ease, transform 0.18s ease;
}

.clickable-card:hover {
    transform: translateY(-4px);
    box-shadow: inset 0 3px 0 #4a89e7, 0 10px 28px rgba(74, 137, 231, 0.16) !important;
}

.clickable-card:hover::after {
    color: #4a89e7;
    transform: translateX(3px);
}

.clickable-card:active {
    transform: translateY(-1px);
    box-shadow: inset 0 3px 0 #4a89e7, 0 4px 12px rgba(74, 137, 231, 0.1) !important;
}

.no-scroll {
    overflow-x: hidden !important;
    overflow-y: hidden !important;
}

.option-group {
    display: flex;
    gap: 16px;
    margin: 20px 0;
}

.option-card {
    color: var(--least-important-color);
    flex: 1;
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    font-family: system-ui;
    transition: all 0.2s ease-in-out;
}

.option-card:hover {
    /* border-color: #888; */
    background: #f9f9f9;
}

.option-card:active {
    transform: scale(0.97);
    background: #f0f0f0;
}

.option-card input {
    display: none;
    /* 湲곕낯 ?쇰뵒??踰꾪듉 ?④? */
}

.option-card input:checked+span {
    font-family: 'NanumSquareExtraBold' !important;
    color: var(--point-color);
}

/* ?좏깮??移대뱶 ?먯껜(?뚮몢由?諛곌꼍)???쒖떆 */
.option-card:has(input:checked) {
    color: var(--point-color);
    border: 2px solid var(--point-color) !important;
    background: #eef4ff;
}

.readonly-input {
    background-color: #f5f5f5;
    color: #999;
}

.disabled-btn {
    opacity: 0.2;
    pointer-events: none;
    cursor: not-allowed;
}

.deleted-user {
    color: #cec6c6;
    text-decoration: line-through;
}

.deleted-row {
    background-color: #e2e2e2 !important;
}

.compLocation {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wct-page {
    page-break-after: always;
}

.stp-status-filter {
    align-items: center;
}

.stp-filter-btn {
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 14px;
    cursor: pointer;
    font-family: NanumSquareRegular;
}

.stp-filter-btn.active {
    background: #afacac;
    color: #fff;
}

.stp-filter-btn[data-status="none"] {
    color: #2563eb;
}

.stp-filter-btn[data-status="request"] {
    color: #ef4444;
}

.stp-filter-btn[data-status="result"] {
    color: #22c55e;
}

.stp-status-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-family: 'NanumSquare';
    font-weight: normal !important;
}

.status-none {
    color: #2563eb;
}

.status-request {
    color: #ef4444;
}

.status-result {
    color: #22c55e;
}

.table-scroll-wrap {
    max-height: 350px;
    overflow-y: auto;
    /* ?몃줈 ?ㅽ겕濡??대떦 */
}

.x72,
.pdf-wrap {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

/* 硫붾돱 由ъ뒪???ㅼ젙 */
.main-menu-list {
    display: flex;
    height: 70px;
    /* ?ㅻ퉬諛??믪씠? ?쇱튂?쒖폒 諛묒쨪 ?꾩튂 怨꾩궛 */
    align-items: center;
    gap: 20px !important;
    /* 硫붾돱 ??ぉ 媛꾩쓽 媛꾧꺽 */
}

.main-menu-list li {
    min-width: 0;
    flex-shrink: 1;
    font-size: clamp(10px, 0.8vw, 16px);
}

/* 硫붾돱 由ъ뒪???고듃 諛?媛꾧꺽 */
.main-menu-list .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333 !important;
    font-weight: 600;
    height: 100%;
    padding: 0 5px;
    border: none !important;
}


/* ?쒖꽦?붾맂 硫붾돱 諛묒쨪 ?됱긽 (?뚮??? */
.main-menu-list .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    /* ?ㅻ퉬諛?媛??諛붾떏??諛李?*/
    left: 50%;
    /* 以묒븰 ?쒖옉 */
    transform: translateX(-50%);
    /* ?뺥솗??以묒븰 ?뺣젹 */

    width: 70%;
    /* [?섏젙] 諛묒쨪 湲몄씠瑜?60% ?뺣룄濡?吏㏐쾶 議곗젅 */
    min-width: 30px;
    /* 理쒖냼 湲몄씠 ?ㅼ젙 (湲?먭? 吏㏃쓣 ???鍮? */

    height: 5px;
    /* 諛묒쨪 ?먭퍡 */
    background-color: #007bff;
    /* ?쒖꽦???됱긽 */
    border-radius: 2px 2px 0 0;
}

.main-menu-list .nav-item {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

/* ?꾩껜 諛??믪씠 諛?諛곌꼍 */
.main-navbar-custom {
    /* 65px -> 54px: 대시보드 위 여백을 좌우 여백(21px)에 맞추며 늘어난 11px 만큼 네비바를 줄여 카드 영역 높이 유지 */
    height: 54px;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 0 25px;
}

.high-bar {
    width: 100%;
}

/* 상단 네비바 높이를 조금 줄임 (padding은 이미 0이라 실제 높이는 로고 이미지 크기가 좌우함) */
.companyLogo-custom {
    height: 32px !important;
}

/* 遺紐?而⑦뀒?대꼫?ㅼ쓽 ?먮쫫 諛⑹? */
.high-bar,
.main-navbar-custom,
.navbar-nav {
    overflow: visible !important;
}

/* ?ъ슜???뺣낫媛 ?덈뒗 援ъ뿭????긽 ?꾨줈 */
.navbar-align {
    position: relative;
    z-index: 1050;
    /* ?쒕∼?ㅼ슫 硫붾돱蹂대떎 ?믨굅??媛숆쾶 */
}

/* ?대쫫 ?띿뒪?멸? ?섎━吏 ?딄쾶 理쒖냼 ?덈퉬 ?뺣낫 諛?以꾨컮轅?湲덉? */
#userNameText {
    white-space: nowrap;
    min-width: fit-content;
    padding-right: 5px;
    /* ?ъ쑀 怨듦컙 */
}

/* ?쒕∼?ㅼ슫 硫붾돱媛 ?ㅻⅨ履??앹뿉????대굹媛吏 ?딄쾶 ?뺣젹 */
.dropdown-menu-end {
    right: 0;
    left: auto;
}

/* 留뚯빟 以묒븰 硫붾돱媛 ?덈Т 湲몄뼱 ?ъ슜???뺣낫瑜???쑝???쒕떎硫?*/
#mainMenuContainer {
    mask-image: linear-gradient(to right, black 95%, transparent 100%);
}

.solution-card {
    background: #fff;
    border-radius: 16px;
    padding: 10px 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #EEF2F7;
    margin-bottom: 10px;
}

.solution-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0;
}

.solution-header-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.solution-writer {
    display: flex;
    gap: 5px;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
}

.solution-writer-label {
    color: #111827;
}

.solution-writer-name {
    font-family: 'Pretendard' !important;
    color: #2563EB;
    /* ?뚮? 湲??(洹쇰줈??11) */
    font-size: 16px;
}

.solution-title {
    font-family: 'Pretendard' !important;
    color: #4D5260;
    font-weight: 500;
    font-size: 18px;
    margin-right: 5px;
}

.solution-id {
    font-family: 'Pretendard' !important;
    color: #4D5260;
    font-size: 14px;
}


.solution-datetime {
    display: flex;
    font-family: 'Pretendard' !important;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #9CA3AF;
}

.solution-header-right .solution-arrow {
    font-size: 22px;
    color: #9CA3AF;
    line-height: 1;
}

/* pill row */
.solution-pill-row {
    margin-top: 5px;
    width: 100%;
    display: block;
}

.solution-pill-wrap {
    display: flex;
    align-items: center;
    gap: 10px;

    background: #F8FAFC;
    border: 1px solid #EEF2F7;
    padding: 10px 12px;
    border-radius: 10px;

    width: 100%;
    box-sizing: border-box;
}

.solution-pill {
    background: #ffffff;
    color: #374151;
    font-weight: 600;
    font-size: 12px;
    padding: 2px 5px;
    border-radius: 5px;
}
.solution-pill.pill-rest {
    background: #F3F6FF;
    border: 1px solid #E3EBFF;
    color: #5F95FE;
}
.solution-pill.pill-hydration {
    background: #F6FFF5;
    border: 1px solid #E2FAE6;
    color: #54B47F;
}
.solution-pill.pill-custom {
    background: #F4EEFF;
    border: 1px solid #EADFFF;
    color: #A87DFF;
}

/* ?? 湲곕줉 由ъ뒪??移대뱶 ?됰퀎 ?ㅽ????????????????????? */
.solution-card-worker {
    font-size: 16px;
    font-weight: 600;
    color: #383942;
    margin: 0;
    line-height: 1.2;
}

.solution-card-reason {
    font-size: 13px;
    color: #84868F;
    margin: 0;
    min-height: 0;
    line-height: 1.3;
}

.solution-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #F1F3F7;
    padding-top: 4px;
    margin-top: 2px;
}

.solution-card-footer-left {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Pretendard' !important;
    font-size: 13px!important;
    color: #C8C9CD;
    overflow: hidden;
}

.solution-card-footer-icon {
    width: 16px;
    height: 16px;
    opacity: 0.5;
    flex-shrink: 0;
}

.solution-card-footer-author {
      font-size: 13px!important;
    color: #9CA3AF;
    white-space: nowrap;
}

.solution-card-footer-dev {
       font-size: 13px!important;
    color: #9CA3AF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.solution-card-footer-wct {
   font-family: 'Pretendard' !important;
    font-size: 13px;
    font-weight: 600;
    color: #4B5563;
    white-space: nowrap;
    margin-left: 8px;
}

.solution-card.tr-selected {
    border: 1.5px solid #4a63e7;
}

.solution-pill-divider {
    width: 1px;
    height: 14px;
    background: #E5E7EB;
}

.solution-pill-text {
    font-size: 12px;
    color: #374151;
    font-weight: 700;
}

/* value box */
.solution-valuebox {
    margin: 8px;
    display: flex;
    gap: 10px;
    background: #fff;
    border: 1px solid #EEF2F7;
    border-radius: 10px;
    padding: 12px;
}

.solution-metric {
    flex: 1;
    text-align: center;
}

.solution-metric-label {
    font-family: 'Pretendard' !important;
    font-size: 14px;
    color: #9CA3AF;
    margin-bottom: 6px;
}

.fcstTime {
    font-size: 13px;
}

.solution-metric-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 17px;
    font-weight: 500;
    color: #111827;
}

.solution-metric-ico {
    width: 25px;
    height: 25px;
    opacity: 0.9;
}

.solution-metric-value .unit {
    font-weight: 500;
    margin-left: 2px;
}

/* ?곷떒 ???뚮? 踰꾪듉 */
.report-primary-btn {
    background: #2d6cf6;
    border: 1px solid #2d6cf6;
    border-radius: 14px;
    padding: 12px 10px;
}

.report-primary-btn:hover {
    background: #2a63e6;
    border-color: #2a63e6;
}

.report-plus {
    color: #fff;
    font-size: 25px;
    font-weight: 700;
    margin-right: 10px;
    line-height: 1;
}

.report-primary-text {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

/* 援щ텇??*/
.report-divider {
    margin: 18px 0 8px 0;
    border: 0;
    height: 1px;
    background: #e9eef5;
}

/* ?뱀뀡 ??댄? */
.report-section-title {
    font-family: 'Pretendard' !important;
    font-size: 17px;
    font-weight: 500;
    color: #8694A9;
    /* ?대?吏泥섎읆 ?뚯깋 */
    margin-top: 6px;
}

/* ?곗깋 ?뚮몢由?踰꾪듉(?쇱씪/?붽컙/?먭??? */
.report-outline-btn {
    background: #fff;
    border: 2px solid #2d6cf6;
    color: #2d6cf6;
    border-radius: 14px;
    padding: 12px 10px;

}

.report-outline-btn:hover {
    background: rgba(45, 108, 246, 0.06);
}



.list-row-custom-for-list-page {
    padding-left: 10px;
    /* 醫뚯슦 ?щ갚 */
    padding-right: 10px;

}


.report-primary-btn {

    width: 100%;

}


.list-row-custom-for-list-page .col-6 {

    padding-left: 8px;
    padding-right: 8px;

}

.list-row-custom-for-list-page .col-12 {

    padding-left: 8px;
    padding-right: 8px;

}

@media (max-width:768px) {

    .list-row-custom-for-list-page {

        max-width: 500px;
        padding-left: 16px;
        padding-right: 16px;

    }

}

/* ?? 寃??議곌굔 移대뱶 ??????????????????????????????????????? */
.search-cond-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 24px 16px;
    margin: 0 15px 0 0px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.search-cond-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.search-cond-title-accent {
    width: 3px;
    height: 16px;
    background: #2563EB  !important;
    border-radius: 2px;
    flex-shrink: 0;
}
.search-cond-title-text {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    font-family: 'NanumSquare', sans-serif;
}
.search-cond-filter-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.search-cond-filter-group {
    display: flex;
    align-items: center;
    gap: 6px;
}
.search-cond-label {
    font-size: 13px;
    color: #5a6478;
    white-space: nowrap;
    font-family: 'NanumSquare', sans-serif;
}
.search-cond-select {
    height: 36px;
    border: 1px solid #dde2ea;
    border-radius: 8px;
    padding: 0 10px;
    font-size: 13px;
    color: #333;
    background: #fff;
    min-width: 110px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s;
}
.search-cond-select:focus { border-color:#2563EB  !important; box-shadow: 0 0 0 3px rgba(46,196,182,0.12); }
.search-cond-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.search-cond-input {
    height: 36px;
    border: 1px solid #dde2ea;
    border-radius: 8px;
    padding: 0 34px 0 12px;
    font-size: 13px;
    color: #333;
    background: #fff;
    width: 210px;
    outline: none;
    transition: border-color 0.15s;
}
.search-cond-input:focus { border-color:#2563EB  !important; box-shadow: 0 0 0 3px rgba(46,196,182,0.12); }
.search-cond-input-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #b0b8c8;
    pointer-events: none;
    display: flex;
    align-items: center;
}
.search-cond-date-input {
    height: 36px;
    border: 1px solid #dde2ea;
    border-radius: 8px;
    padding: 0 36px 0 12px;
    font-size: 13px;
    color: #333;
    background: #fff;
    min-width: 195px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.15s;
}
.search-cond-date-input:focus { border-color: #2563EB  !important; }
.search-cond-btn-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.search-cond-reset-btn {
    height: 36px;
    padding: 0 16px;
    background: #f1f5f9;
    color: #5a6478;
    border: 1px solid #dde2ea;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    font-family: 'NanumSquare', sans-serif;
    transition: background 0.15s;
}
.search-cond-reset-btn:hover { background: #e2e8f0; }
.search-cond-apply-btn {
    height: 36px;
    padding: 0 22px;
    background: #2563EB  !important;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    font-family: 'NanumSquare', sans-serif;
    transition: background 0.15s;
}
.search-cond-apply-btn:hover { background: #26a69a; }

/* 寃곌낵 諛?*/
.search-result-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 4px 0px 4px;
    margin: 0 15px 4px 0px;
}
.search-result-left {
    display: flex;
    align-items: center;
    gap: 6px;
}
.search-result-label {
    font-size: 13px;
    color: #5a6478;
    font-family: 'NanumSquare', sans-serif;
    font-weight: 500;
}
.search-result-count {
    font-size: 15px;
    font-weight: 700;
    color:#2563EB  !important;
    font-family: 'NanumSquare', sans-serif;
}
.search-result-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.search-excel-btn {
    height: 34px;
    padding: 0 14px;
    background: #fff;
    color: #5a6478;
    border: 1px solid #dde2ea;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'NanumSquare', sans-serif;
    transition: background 0.15s, border-color 0.15s;
}
.search-excel-btn:hover { background: #f8fafc; border-color: #b0b8c8; }
.search-add-btn {
    height: 34px;
    padding: 0 16px;
    background: #2563EB  !important;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'NanumSquare', sans-serif;
    transition: background 0.15s;
}
.search-add-btn:hover { background: #1d4fc4; }

/* ?뚯씠釉??ㅻ뜑 sort ?꾩씠肄?*/
.sort-icon {
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    vertical-align: middle;
    opacity: 0.45;
}
table.notice-table thead th[data-sortable] {
    cursor: pointer;
    user-select: none;
}
table.notice-table thead th[data-sortable]:hover .sort-icon { opacity: 0.8; }
table.notice-table thead th[data-sortable].sort-active .sort-icon { opacity: 1; color: #2563EB  !important; }

/* ?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧
   notice-table  ?? Professional Table System
   ?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧 */

/* 移대뱶 而⑦뀒?대꼫 */
.notice-table-card {
    background: #fff;
    height: 100%;
    border-radius: 12px;
    margin-right:15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #e8edf3;
    box-shadow: 0 1px 6px rgba(15, 23, 42, 0.05);
}

/* ?ㅽ겕濡??곸뿭 */
.notice-table-scroll {
    flex: 1;
    overflow-y: auto;
    background-color: #fff;
}
.notice-table-scroll::-webkit-scrollbar { width: 5px; }
.notice-table-scroll::-webkit-scrollbar-track { background: transparent; }
.notice-table-scroll::-webkit-scrollbar-thumb {
    background: #dde3ed;
    border-radius: 4px;
}
.notice-table-scroll::-webkit-scrollbar-thumb:hover { background: #b0bbc9; }

/* ?뚯씠釉?湲곕낯 */
table.notice-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0;
}

/* ?ㅻ뜑 ??*/
table.notice-table thead {
    position: sticky;
    top: 0;
    z-index: 5;
}

table.notice-table thead th {
    background: #f7f9fc;
   color: #475161!important;
   font-family: 'Pretendard'!important;
    font-size: 15px!important;
    font-weight: 500!important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 13px 18px;
    border-bottom: 1px solid #e8edf3;
    vertical-align: middle;
    white-space: nowrap;
    text-align: left !important;
    user-select: none;
}

/* 泥?踰덉㎏ ?ㅻ뜑 th */
table.notice-table thead th:first-child {
    text-align: start !important;
}

/* ?뺣젹 媛??而щ읆 hover */
table.notice-table thead th[data-sortable]:hover {
    background: #eef2f8;
    color: #3d4a5c;
}

/* 諛붾뵒 ??*/
table.notice-table tbody tr {
    transition: background 0.1s ease;
}
table.notice-table tbody tr:hover td {
    background: #f0f6ff;
}

/* 諛붾뵒 ? 怨듯넻 ???고듃쨌?ъ씠利댟룹깋???듭씪 */
table.notice-table tbody td {
    padding: 13px 18px;
    border-bottom: 1px solid #f0f3f8;
    color: #5A677B!important;
    font-family: 'Pretendard'!important;
    font-size: 15px!important;
    font-weight: 400!important;
    vertical-align: middle;
    background: #fff;
    text-align: left !important;
    line-height: 1.5;
}
table.notice-table tbody tr:last-child td {
    border-bottom: none;
}

/* ghost rows ??鍮??곸뿭 梨꾩슦湲?*/
table.notice-table tbody tr.ghost-row td {
    padding: 13px 18px;
    border-bottom: 1px solid #f0f3f8;
    background: #fff;
    color: transparent;
    user-select: none;
    pointer-events: none;
}
table.notice-table tbody tr.ghost-row:last-child td {
    border-bottom: none;
}
table.notice-table tbody tr.ghost-row:hover td {
    background: #fff;
}

/* 泥?而щ읆 */
table.notice-table tbody td:first-child {
    text-align: start !important;
}

/* 留곹겕 ?ㅽ???*/
table.notice-table tbody td a {
    color: #374151;
    text-decoration: none;
}
table.notice-table tbody td a:hover {
    color: #2563EB;
    text-decoration: none;
}

/* ?? 而щ읆 ?대옒?????됱긽留?李⑤퀎?? ?고듃쨌?ъ씠利??곸냽 ?? */
table.notice-table tbody td.col-highlight {
    color: #2563EB;
}
table.notice-table tbody td.col-muted {
    color: #9daec0;
}
table.notice-table tbody td.col-sub {
    color: #64748b;
}

/* ?? device-assign ?꾩슜 (湲곗〈 ?명솚) ?? */
.device-assign-table tbody td {
    padding: 10px 12px !important;
    height: 42px !important;
}
.device-assign-table input {
    height: 100% !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
}

.notice-wrap {
    height: 100%;
    margin-left: 17px;
    margin-right: 17px;
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notice-title {
    font-weight: 700;
    font-size: 18px;
}

.notice-more {
    font-size: 14px;
    font-family: 'Pretendard' !important;
    color: #6b7280;
    text-decoration: none;
}

.notice-list {
    border-top: 1px solid #DEE2E6;
}

.notice-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 4px;
    border-bottom: 1px solid #DEE2E6;
    cursor: pointer;
    transition: background 0.2s ease;
}

.notice-text-today {
    font-weight: 600;
    color: #111827;
}

.notice-row:hover {
    background: #f8fafc;
}

.notice-left {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.notice-text {
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notice-date {
    font-size: 14px;
    color: #999999;
    white-space: nowrap;
}

.notice-today-img {
    height: 23px;
}

.section-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 15px;
    color: #6b7280;
}

.device-table {
    background: #f9fafb;
    border-radius: 18px;
    padding: 15px;
}

.device-header,
.device-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 5px;
}

.device-header {
    font-weight: 700;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
}

.device-row {
    font-weight: 600;
    color: #374151;
}

.device-id {
    color: #2563eb;
    font-weight: 700;
}

*:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* ?뱀젙 踰꾪듉 ?대옒???? checkbutton-custom)?먮쭔 ?곸슜?섍퀬 ?띠쓣 ??*/
.btn:focus,
.btn:active {
    outline: none !important;
    box-shadow: none !important;
}

.flatpickr-next-month,
.flatpickr-prev-month {
    font-size: 16px;
    font-weight: 600;
}

#data-table {
    width: 100%;
    /* height: 100%; */
    table-layout: fixed;
}

/* 湲곕낯 ?꾪솚 遺?쒕읇寃?*/
.notice-actions .btn {
    transition: all 0.2s ease-in-out;
}

/* ?뚯깋 踰꾪듉 */
.notice-actions .btn-gray {
    background-color: #e0e0e0;
    color: #333;
    border: 1px solid #d5d5d5;
}

.notice-actions .btn-gray:hover {
    background-color: #cfcfcf;
    /* 吏꾪븳 ?뚯깋 */
    color: #111;
    border-color: #c0c0c0;
}

/* ?뚮? 踰꾪듉 */
.notice-actions .btn-blue {
    background-color: #2f6df6;
    color: #fff;
    border: 1px solid #2f6df6;
}

.notice-actions .btn-blue:hover {
    background-color: #1f54c9;
    /* ??吏꾪븳 釉붾（ */
    color: #fff;
    /* ?곗깋 ?좎? */
    border-color: #1f54c9;
}

/* 鍮④컙 踰꾪듉 */
.notice-actions .btn-red {
    background-color: #ff4d4f;
    color: #fff;
    border: 1px solid #ff4d4f;
}

.notice-actions .btn-red:hover {
    background-color: #d9363e;
    /* ??吏꾪븳 ?덈뱶 */
    color: #fff;
    /* ?곗깋 ?좎? */
    border-color: #d9363e;
}

.label-value-row {
    border-bottom: 1px solid #e5e7eb;
    padding: 4px 0;
}

.modal-backdrop {
    background-color: #000;
}

.modal-backdrop.show {
    opacity: 0.5;
}

/* ?꾩껜 移대뱶 ???뚯씠釉?*/
.custom-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

/* ?ㅻ뜑 */
.custom-table thead {
    position: sticky;
    top: 0;
    background: #eef1f5;
    z-index: 2;
}

#today-report-table thead th {
    background-color: #F8FAFC !important;
}

#today-report-table {
    width: 100% !important;
    margin: 0;
}

#today-report-table th,
#today-report-table td {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.custom-table th {
    text-align: center;
    padding: 12px 8px;
    font-weight: 600;
    color: #4b5563;
    border-bottom: 1px solid #e5e7eb;
}

/* 諛붾뵒 */
.custom-table td {
    text-align: center;
    padding: 14px 8px;
    border-bottom: 1px solid #f1f5f9;
    color: #374151;
}

/* hover ?④낵
.custom-table tbody tr:hover {
    background-color: #f8fafc;
} */

/* 泥닿컧 而щ읆 媛뺤“ */
.custom-table td:last-child {
    color: #374151;
}

/* 泥ル쾲吏?而щ읆 (?쒓컙) */
.custom-table td:first-child {
    color: #6b7280;
    font-weight: 500;
}

/* ?ㅽ겕濡??곸뿭 */
.table-responsive {
    /* max-height: 320px; 泥닿컧?⑤룄怨??곗씠?곕━?ㅽ듃?뚮Ц???뺥빐?볦?嫄?媛숈쓬*/
    overflow-y: auto;
    border-radius: 0 !important;

}

/* ?ㅽ겕濡ㅻ컮 (?좏깮) */
.table-responsive::-webkit-scrollbar {
    width: 6px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

.dm-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dm-icon-blue {
    background: #EEF4FB;
}

.dm-icon-red {
    background: #FCEBEB;
}

.dm-title {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 1.25rem;
    font-family: 'Pretendard' !important;
}

.dm-label {
    font-size: 11px;
    color: #888;
    font-family: 'Pretendard' !important;
}

.dm-val {
    font-size: 14px;
    font-family: 'Pretendard' !important;
}

.dm-highlight {
    color: #BA7517;
}

.dm-arrow {
    color: #888;
    font-size: 18px;
    font-family: 'Pretendard' !important;
}

.dm-note {
    font-size: 12px;
    color: #185FA5;
    margin: .25rem 0 0;
    text-align: center;
    font-family: 'Pretendard' !important;
}

.dm-info-box {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.dm-save-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 3px 0;
}

.dm-changed {
    color: #185FA5;
    font-weight: 500;
}

.dm-unchanged {
    color: #aaa;
}

.dm-cancel {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: transparent;
    font-size: 15px;
    cursor: pointer;
}

.dm-confirm {
    padding: 12px;
    border: none;
    border-radius: 12px;
    background: #5B91D8;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.flex-1 {
    flex: 1;
}

.flex-2 {
    flex: 2;
}

.device-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.device-modal-sheet {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    max-height: 580px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.device-modal-search {
    padding: 16px 16px 0;
}

.device-modal-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f4f5f7;
    border-radius: 14px;
    padding: 11px 14px;
}

.device-modal-search-box input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 14px;
    color: #333;
}

.device-modal-search-box input::placeholder {
    color: #aaa;
}


.device-modal-list {
    overflow-y: auto;
    flex: 1;
    padding: 8px 16px;
}

.device-modal-section-title {
    font-size: 13px;
    font-weight: 600;
    color: #5F95FE;
    margin: 14px 0 8px;
}

.device-modal-section-title.gray {
    color: #999;
    margin: 14px 0 8px;
}

.device-worker-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #f0f0f0;
    margin-bottom: 8px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.device-worker-card:hover {
    background: #f5f8ff;
    border-color: #ccd9f5;
}

.device-worker-card.selected {
    border: 2px solid #5F95FE;
    background: #f0f5ff;
}

.device-worker-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e8eef8;
    color: #5F95FE;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-family: 'Pretendard' !important;
    font-weight: 600;
    flex-shrink: 0;
}

.device-worker-avatar.gray {
    background: #f2f2f2;
    color: #bbb;
}

.device-worker-name {
    flex: 1;
    font-size: 16px;
    color: #1a1a1a;
    font-family: 'Pretendard' !important;
}

.device-worker-devno {
    font-size: 16px;
    font-weight: 500;
    color: #5F95FE;
    font-family: 'Pretendard' !important;
}

.device-worker-devno.unassigned {
    font-size: 12px;
    color: #aaa;
    font-weight: 400;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 3px 10px;
}

.device-modal-footer {
    padding: 12px 16px 16px;
    border-top: 1px solid #f0f0f0;
}

.device-modal-confirm-btn {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: none;
    background: #d0d5de;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}

.device-modal-confirm-btn.active {
    background: #5F95FE;
    cursor: pointer;
}


/* ?쒕옒洹?以??ㅻⅨ ???? 鍮꾪솢?깊솕 */
.cell-drag-disabled {
    opacity: 0.2;
    pointer-events: none;
    filter: grayscale(1) brightness(0.5) contrast(0.8);
}

/* ?쒕옒洹?以?媛숈? ???? 媛뺤“ */
.cell-drag-available {
    border: 2px dashed #2563EB !important;
    background: #F4F9FF !important;
    border-radius: 8px;
    color: #2F6BFF !important;
}

.device-input-like {
    /* 1. 諛뺤뒪 ?믪씠 諛??뺣젹 ?ㅼ젙 */
    display: flex !important;           /* flex ?쒖꽦???뺤씤 */
    flex: 1 !important;
     height: 56px !important;      /* min-height ??height */
    box-sizing: border-box;
    
    /* 2. ?띿뒪???뺤쨷???뺣젹 (?듭떖) */
    align-items: center !important;     /* ?섏쭅 以묒븰 */
    justify-content: center !important;  /* ?섑룊 以묒븰 (?쒖븞怨??쇱튂) */
    
    /* 3. ?띿뒪??移섏슦移?諛⑹? */
    line-height: normal !important;      /* line-height: 1 蹂대떎 normal???뺣젹???좊━??*/
    border: 1px solid #ced4da;
    border-radius: 8px;
    cursor: pointer;
    
    /* 4. ?고듃 ?ㅽ???異붽? (?쒖븞 ?먮굦) */
    font-weight: 500;
    font-size: 1.1rem;
}

.device-assigned {
    background: #fff !important;
    color: #2F6BFF !important;
    font-weight: 400 !important;
    border: 1px solid #E7EAF1 !important;
}

.device-unassigned {
    background: #EEF2F6 !important;
    color: #8694A9 !important;
    font-weight: 400 !important;
    border: 1px solid #E7EAF1 !important;
}

.device-input-like:hover {
    background: #DEEDFF !important;
    border-color: #5C8FFF !important;
    color: #A3BDF7 !important;
    /* border: 2px solid #5C8FFF !important; */
    border-radius: 8px !important;
    /* cursor: pointer;
    opacity: 0.85; */
}

/* ?쒕∼ 媛???곸뿭 ?몃쾭 */
.drag-over {
    background: #5C8FFF !important;
    /* 吏꾪븳 ?뚮???*/
    border: 1px solid #2563EB !important;
    border-radius: 8px !important;
    z-index: 10;
}

.drag-over .device-input-like {
    background: transparent !important;
    color: #ffffff !important;
    /* 湲?먯깋 ?곗깋 */
    border: none !important;
    font-weight: 600 !important;
}

/* ?쒕옒洹?以??먭린 ?먯떊 ? */
.cell-drag-self {
    opacity: 0.5;
    border: 1px dashed #ccc !important;
    background: #f8f8f8 !important;
    border-radius: 8px;
}
.mini-scroll-indicator {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    width: 40px;           /* ?ш린 異뺤냼 */
    height: 40px;          /* ?ш린 異뺤냼 */
    background: rgba(47, 107, 255, 0.85); /* 釉뚮옖??釉붾（ + ?щ챸??*/
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;    /* ?먰삎 ?붿옄??*/
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    pointer-events: none;  /* ?쒕옒洹?諛⑺빐 湲덉? */
    opacity: 0;            /* ?됱냼???④? */
    transition: all 0.2s ease-in-out;
}

/* ?곷떒 踰꾪듉 ?꾩튂 */
#scroll-indicator-up {
    top: 60px; /* ?곷떒 硫붾돱諛?怨좊젮 */
    margin-top: -10px;
}

/* ?섎떒 踰꾪듉 ?꾩튂 */
#scroll-indicator-down {
    bottom: 30px;
    margin-bottom: -10px;
}

/* ?쒖꽦???곹깭 (?쒕옒洹????대떦 ?곸뿭 吏꾩엯 ?? */
.mini-scroll-indicator.active {
    opacity: 1;
    transform: translateX(-50%) scale(1.1); /* ?댁쭩 而ㅼ?硫??깆옣 */
    margin-top: 0;
    margin-bottom: 0;
}

/* ?쒕옒洹?以??ㅽ겕濡ㅻ컮 ?곸뿭 ?ㅽ???理쒖쟻??*/
body.is-dragging {
    scroll-behavior: auto !important;
}
/* ?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧
   To Do ?섏씠吏 ?덉씠?꾩썐
?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧 */
.todo-page {
    padding: 24px;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧
   ?ㅻ뜑
?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧 */
.todo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.todo-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.todo-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main, #222);
    margin: 0;
}
.todo-date-display {
    font-size: 13px;
    color: var(--text-muted, #888);
    font-weight: 500;
}
.todo-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ?좎쭨 ?ㅻ퉬 */
.todo-date-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light, #f5f6fa);
    border-radius: 8px;
    padding: 6px 12px;
}
.date-nav-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-muted, #888);
    line-height: 1;
    padding: 0 2px;
}
.date-nav-btn:hover { color: var(--point-color, #3A87AD); }
.date-nav-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main, #222);
    white-space: nowrap;
    min-width: 150px;
    text-align: center;
}

/* 異붽? 踰꾪듉 */
.btn-add-todo {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--point-color, #3A87AD);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.btn-add-todo:hover { background: var(--point-color-dark, #2e6f93); }

/* ?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧
   ?듦퀎 諛??먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧 */
.todo-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-light, #f5f6fa);
    border-radius: 12px;
    padding: 14px 20px;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.stat-num {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main, #222);
    line-height: 1;
}
.stat-num.done   { color: #16a34a; }
.stat-num.remain { color: var(--point-color, #3A87AD); }
.stat-label {
    font-size: 11px;
    color: var(--text-muted, #888);
    font-weight: 500;
}
.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border-color, #e0e0e0);
}
.stat-progress-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    margin-left: 8px;
}
.stat-progress-bar {
    flex: 1;
    height: 8px;
    background: #e0e0e0;
    border-radius: 99px;
    overflow: hidden;
}
.stat-progress-fill {
    height: 100%;
    background: #16a34a;
    border-radius: 99px;
    transition: width 0.4s ease;
}
.stat-progress-pct {
    font-size: 12px;
    font-weight: 700;
    color: #16a34a;
    min-width: 36px;
    text-align: right;
}

/* ?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧
   ?꾪꽣 ???먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧 */
.todo-filter-tabs {
    display: flex;
    gap: 6px;
}
.filter-tab {
    padding: 6px 16px;
    border-radius: 99px;
    border: 1px solid var(--border-color, #e0e0e0);
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted, #888);
    cursor: pointer;
    transition: all 0.15s;
}
.filter-tab.active {
    background: var(--point-color, #3A87AD);
    border-color: var(--point-color, #3A87AD);
    color: #fff;
}
.filter-tab:hover:not(.active) {
    border-color: var(--point-color, #3A87AD);
    color: var(--point-color, #3A87AD);
}

/* ?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧
   由ъ뒪???먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧 */
.todo-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.todo-empty {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    gap: 12px;
    color: #ccc;
}
.todo-empty p {
    font-size: 14px;
    color: #bbb;
    margin: 0;
}

/* ?꾩씠??*/
.todo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color, #f0f0f0);
    transition: background 0.12s;
    border-radius: 8px;
}
.todo-item:hover { background: var(--bg-light, #f9f9fb); }
.todo-item.done .todo-item-title {
    text-decoration: line-through;
    color: var(--text-muted, #aaa);
}

/* 泥댄겕 踰꾪듉 */
.todo-check-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--border-color, #ccc);
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}
.todo-check-btn:hover { border-color: #16a34a; }
.todo-check-btn.checked {
    background: #16a34a;
    border-color: #16a34a;
}

/* ?꾩씠??而⑦뀗痢?*/
.todo-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.todo-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main, #222);
}
.todo-item-date {
    font-size: 12px;
    color: var(--text-muted, #aaa);
}

/* ??젣 踰꾪듉 */
.todo-delete-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #ccc;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.15s, color 0.15s;
}
.todo-item:hover .todo-delete-btn { opacity: 1; }
.todo-delete-btn:hover { color: #ef4444; }

/* ?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧
   紐⑤떖
?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧 */
.todo-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.todo-modal-overlay.open { display: flex; }

.todo-modal {
    background: #fff;
    border-radius: 16px;
    width: 420px;
    max-width: 95vw;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    overflow: hidden;
}
.todo-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--border-color, #f0f0f0);
}
.todo-modal-title {
    font-size: 16px;
    font-weight: 600!important;
    font-family: Pretendard !important;
    color: var(--text-main, #222);
}
.todo-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted, #888);
    display: flex;
    align-items: center;
}
.todo-modal-close:hover { color: var(--text-main, #222); }

.todo-modal-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.todo-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.todo-form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main, #444);
}
.todo-form-label .required { color: #ef4444; }
.todo-form-input {
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--text-main, #222);
    outline: none;
    transition: border 0.15s;
}
.todo-form-input:focus { border-color: var(--point-color, #3A87AD); }
.todo-form-input.input-error { border-color: #ef4444; }

.todo-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 14px 20px 18px;
    border-top: 1px solid var(--border-color, #f0f0f0);
}
.btn-todo-cancel {
    padding: 8px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color, #e0e0e0);
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted, #888);
    cursor: pointer;
}
.btn-todo-save {
    padding: 8px 20px;
    border-radius: 8px;
    border: none;
    background: var(--point-color, #3A87AD);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.btn-todo-save:hover { background: var(--point-color-dark, #2e6f93); }

/* ?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧
   ?좎뒪???먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧 */
.todo-toast-wrap {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ?? 紐⑤뱺 fc-event 湲곕낯 ?ㅽ???珥덇린???? */
.fc .fc-daygrid-event {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 2px !important;
}

/* ?? allDay ?대깽??(諛곌꼍??pill) ?? */
.fc-event-allday {
    width: 100%;
    padding: 3px 8px;
    border-radius: 4px;
    overflow: hidden;
}
.fc-event-allday-title {
    font-size: 13px;        /* 11 ??13 */
    font-weight: 700;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}
/* ?? ?ㅻ뒛 ?좎쭨 ?レ옄 ?숆렇?쇰? ?? */
.fc .fc-day-today .fc-daygrid-day-number {
    background: var(--point-color) !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 24px !important;
    height: 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 4px !important;
    line-height: 1 !important;      /* ??異붽? */
    font-size: 13px !important;
}

/* ?? ?쇰컲 ?좎쭨 ?レ옄 ?? */
.fc .fc-daygrid-day-number {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--text-main) !important;
    text-decoration: none !important;
    padding: 5px 7px !important;
    line-height: 1 !important;      /* ??異붽? */
}

/* ?? ?좎쭨 ?곷떒 ?곸뿭 ?믪씠 怨좎젙 ?? */
.fc .fc-daygrid-day-top {
    min-height: 32px !important;
    align-items: center !important;
}
/* ?? timed ?대깽??(?숆렇?쇰? + ?띿뒪?? ?? */
.fc-event-timed {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
    padding: 2px 4px;
    overflow: hidden;
    background: transparent !important;
}
.fc-event-timed-dot {
    width: 8px;             /* 7 ??8 */
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.fc-event-timed-time {
    font-size: 12px;        /* 10 ??12 */
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}
.fc-event-timed-title {
    font-size: 13px;        /* 11 ??13 */
    font-weight: 600;
    color: var(--text-main);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

/* ?? 湲곕낯 dot ?④린湲??? */
.fc-daygrid-event-dot {
    display: none !important;
}

/* ?? +N more 留곹겕 ?? */
.fc .fc-daygrid-more-link {
    font-size: 13px !important;     /* 11 ??13 */
    color: var(--text-muted) !important;
    font-weight: 600 !important;
    padding: 1px 4px !important;
    display: block !important;
}
.fc .fc-daygrid-more-link:hover {
    color: var(--point-color) !important;
    background: var(--point-color-light) !important;
    border-radius: 4px !important;
}

/* ?? ?붿씪 ?ㅻ뜑 ?? */
.fc .fc-col-header-cell-cushion {
    font-size: 14px !important;     /* 12 ??13 */
}

/* ?? ?좎쭨 ?レ옄 ?? */
.fc .fc-daygrid-day-number {
    font-size: 13px !important;     /* 12 ??13 */
}

/* ?? ? 怨좎젙 ?믪씠 ?? */
.fc .fc-daygrid-day {
    height: 90px !important;
    max-height: 90px !important;
    overflow: visible !important; 
}
.fc .fc-daygrid-day-frame {
    height: 90px !important;
    max-height: 90px !important;
       overflow: visible !important; 
}
.fc .fc-daygrid-day-events {
   overflow: visible !important;  
}

/* ?? ?앹삤踰??ㅽ????? */
.fc .fc-popover {
    border: 1px solid var(--border-color) !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12) !important;
}
.fc .fc-popover-header {
    background: var(--bg-light) !important;
    border-radius: 10px 10px 0 0 !important;
    font-size: 13px !important;     /* 12 ??13 */
    font-weight: 700 !important;
    color: var(--text-main) !important;
}
.fc .fc-popover-body {
    font-size: 13px !important;     /* 11 ??13 */
}

.fc-list-event-graphic,
.fc-list-event-dot, .fc-more-popover-misc {
    display: none !important;
}
.today-ev-text{
    font-size: 13px !important;

      font-family: 'Pretendard' !important;
}
.today-ev-time{
    font-size: 12px !important;
    color: var(--text-muted) !important;
  font-family: 'Pretendard' !important;
}
.fc-list-event-time,.fc-timegrid-slot-label-cushion,.fc-timegrid-axis-cushion{
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--text-muted) !important;
}

/* ?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧??   ?쒕툕諛?諛섏쓳?????뚯씪 留???(cascade ?곗꽑 蹂댁옣)
?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧?먥븧??*/

/* 援ъ“: 而⑦뀒?대꼫 full-width */
.sub-menu .navbar-inner-custom {
    width: 100%;
}

/* ul: 100% ?덈퉬 + 以꾨컮轅??덉슜 */
.sub-menu .nav.nav-underline {
    width: 100%;
    flex-wrap: wrap;
}

/* ?대┛ ?곹깭?먯꽌 overflow: hidden ?댁젣 ??2踰덉㎏ 以?蹂댁씠寃?*/
.sub-menu:not(.close) {
    overflow: visible !important;
    max-height: none !important;
}

/* 1400px ?댄븯: padding 異뺤냼濡?1以??좎? ?쒕룄 */
@media (max-width: 1399px) {
    .nanum-regular-sub {
        font-size: 15px !important;
    }
    .sub-nav {
        padding-inline: 8px !important;
    }
}

/* 1200px ?댄븯: ??異뺤냼 */
@media (max-width: 1199px) {
    .nanum-regular-sub {
        font-size: 13px !important;
    }
    .sub-nav {
        padding-inline: 5px !important;
    }
}
/* ==================== ?쇱そ ?ъ씠?쒕컮 硫붾돱 (musagoHome.html ?곗꽑 ?곸슜) ====================
   二쇱쓽: css/custom.css??.sidebar-content/.sidebar-item? 紐⑤컮???ㅽ겕 ?꾩씠肄섎컮?⑹쑝濡??대? ?뺤쓽?섏뼱 ?덉뼱??   (width:65px, ?ㅽ겕 洹몃씪?붿뼵?? height:50px 媛濡쒕같移? 媛숈? ?대옒?ㅻ챸???곕㈃ 洹??ㅽ??쇱쓣 洹몃?濡?臾쇰젮諛쏅뒗??
   洹몃옒???ш린?쒕뒗 #sidebar濡???援ъ껜?곸씤 ?좏깮?먮? 以섏꽌 ?뺤떎????뼱?대떎. */
#sidebar.sidebar {
    position: relative;
    overflow: visible;
    width: 84px;
    min-width: 84px;
    max-width: 84px;
    background: #ffffff;
    border-right: 1px solid #ECEFF3;
    box-shadow: 0 6px 20px 0 rgba(20, 24, 31, 0.05), 0 1px 2px 0 rgba(20, 24, 31, 0.04);
    transition: width 0.3s ease, min-width 0.3s ease, max-width 0.3s ease;
}
#sidebar .sidebar-content {
    width: 100%;
    height: 100vh;
    background: #ffffff;
    align-items: stretch;
}
#sidebar .sidebar-nav {
    width: 100%;
    /* overflow:visible濡??ъ빞 ?놁쑝濡??쇱튂???섏쐞 硫붾돱(?뚮씪?댁븘??媛 ?섎━吏 ?딅뒗??
       (overflow-y:auto瑜??곕㈃ overflow-x??媛숈씠 ?ㅽ겕濡?泥섎━?섏뼱 ?뚮씪?댁븘?껋씠 媛?ㅼ쭚) */
    overflow: visible;
    padding-top: 10px;
}
#sidebar .sidebar-item {
    display: block;
    height: auto;
    width: 100%;
    margin: 0;
}
#sidebar .sidebar-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 6px;
    background: #ffffff;
    border-left: 3px solid transparent;
    color: #7C8FAC;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
    word-break: keep-all;
}
#sidebar .sidebar-link:hover {
    background: #ffffff;
}
#sidebar .sidebar-link.active {
    background: #ECF2FF;
    border-left-color: #5D87FF;
    color: #5D87FF;
}
#sidebar .sidebar-icon-custom {
    display: inline-block;
    margin-right: 0;
    width: 32px;
    height: 32px;
    background-color: #64748B;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}
#sidebar .sidebar-link.active .sidebar-icon-custom,
#sidebar .sidebar-link:hover .sidebar-icon-custom {
    background-color: #5D87FF;
}

/* ?몃씪??SVG(Tabler) ?꾩씠肄? 湲곕낯 ?됱? svg??stroke ?띿꽦??吏곸젒 #64748B濡?諛뺤븘 ?ｌ뿀??
   active/hover????CSS??stroke ?띿꽦?쇰줈 ??뼱?대떎 (CSS stroke ?띿꽦? svg ?띿꽦蹂대떎 ??긽 ?곗꽑?쒕떎) */
#sidebar .sidebar-icon-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}
#sidebar .sidebar-icon-svg svg {
    width: 100%;
    height: 100%;
}
#sidebar .sidebar-link.active .sidebar-icon-svg svg,
#sidebar .sidebar-link:hover .sidebar-icon-svg svg {
    stroke: #5D87FF;
}

/* ?ъ씠?쒕컮媛 ?꾩씠肄섎쭔 蹂댁씠??醫곸? ??72px)?대씪, ?섏쐞 硫붾돱(2??3?????꾩씠肄섏뿉 留덉슦?ㅻ? ?щ━硫?   ?놁쑝濡??쇱퀜吏???뚮씪?댁븘???⑤꼸濡?蹂댁뿬以?? */
#sidebar .sidebar-item {
    position: relative;
}
#sidebar .sidebar-dropdown {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 220px;
    margin: 0;
    padding: 14px 0;
    background: #ffffff;
    border: 1px solid #E5EAEF;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    z-index: 1000;
}
#sidebar .sidebar-item:hover > .sidebar-dropdown,
#sidebar .sidebar-dropdown:hover {
    display: block;
}
/* 洹몃９(?? 洹쇰줈??愿由? ?쒖꽕臾?愿由????앸굹??吏?? 利?洹?洹몃９??留덉?留?3????ぉ ?꾨옒??援щ텇 諛묒쨪 ?쒖떆.
   ?? ?섏쐞(3?? ??ぉ???덈뒗 洹몃９?먮쭔 ?쒖떆?섍퀬, 3????ぉ???녿뒗 ?⑤룆 硫붾돱??援щ텇???놁쓬 */
#sidebar .sidebar-dropdown > .sidebar-dropdown-item:has(.sidebar-dropdown-sub) {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #E5EAEF;
}
#sidebar .sidebar-dropdown > .sidebar-dropdown-item:has(.sidebar-dropdown-sub):last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}
#sidebar .sidebar-dropdown .sidebar-sublink {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 18px;
    white-space: nowrap;
}
#sidebar .sidebar-dropdown .sidebar-sublink.active,
#sidebar .sidebar-dropdown li > .sidebar-sublink .navbar-text-custom.active {
    color: #5D87FF;
}
/* 移대뱶 ?ㅻ뜑(?? "洹쇰줈???꾪솴")? ?숈씪???고듃/?ъ씠利??몃줈 諛??붿옄?몄쓣 ?섏쐞 硫붾돱?먮룄 ?곸슜 */
#sidebar .sidebar-dropdown .sidebar-sublink-bar {
    display: inline-block;
    width: 4px;
    height: 16px;
    margin-right: 8px;
    border-radius: 2px;
    background-color: #5D87FF;
    flex-shrink: 0;
}
#sidebar .sidebar-dropdown .sidebar-sublink-text {
    font-family: 'NanumSquareRegular', sans-serif!important;
    font-size: 15px;
    font-weight: 400;
    color: var(--important-font-color);
}
#sidebar .sidebar-dropdown .sidebar-sublink.active .sidebar-sublink-text,
#sidebar .sidebar-dropdown .sidebar-sublink:hover .sidebar-sublink-text {
    color: #5D87FF;
}

/* 3???쒕툕?쒕툕) 硫붾돱: ?뚮씪?댁븘???⑤꼸 ?덉뿉?????④퀎 ???ㅼ뿬?곌린濡??쒖떆 */
#sidebar .sidebar-dropdown-sub {
    margin: 0;
    padding: 0;
}
#sidebar .sidebar-dropdown-sub .sidebar-subsublink {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 8px 18px 8px 30px;
    white-space: nowrap;
}
/* 2???? "洹쇰줈??愿由?)怨??고듃/?됱긽? ?숈씪?섍쾶 ?듭씪?섍퀬, 湲???ш린留?14px濡????④퀎 ?묎쾶.
   ?ㅻ쭔 ?몃줈 諛???????? 湲癒몃━??3???꾩슜 ?ㅽ??쇰줈 ?좎??쒕떎 */
#sidebar .sidebar-dropdown-sub .sidebar-subsublink .sidebar-sublink-text {
    font-size: 14px;
}
#sidebar .sidebar-dropdown-sub .sidebar-subsublink .sidebar-subsublink-dot {
    font-size: 6px;
    color: #5D87FF;
    flex-shrink: 0;
}
#sidebar .sidebar-dropdown-sub li > .sidebar-subsublink .navbar-text-custom.active,
#sidebar .sidebar-dropdown-sub .sidebar-subsublink.active .sidebar-sublink-text,
#sidebar .sidebar-dropdown-sub .sidebar-subsublink:hover .sidebar-sublink-text {
    color: #5D87FF;
}
/* ?ъ쭊 泥⑤? 洹몃━??*/
.photo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
}

.photo-add-btn {
    width: 80px;
    height: 80px;
    border: 2px dashed #ccc;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #f9f9f9;
    flex-shrink: 0;
}

.photo-add-text {
    font-size: 11px;
    color: #aaa;
    margin-top: 4px;
}

.photo-thumb-area {
    display: contents;
}

.photo-thumb {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #eee;
}

.photo-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-delete-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: none;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* ?ъ쭊 洹몃━???낅줈??*/
.photo-upload-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
}

.photo-slot {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.photo-slot-add {
    border: 2px dashed #ccc;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.photo-slot-icon {
    font-size: 24px;
    color: #aaa;
}

.photo-slot-label {
    font-size: 11px;
    color: #aaa;
    margin-top: 4px;
}

.photo-slot-thumb {
    background: #eee;
}

.photo-slot-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: none;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.loc, .pLoc {
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==================== 사이드바 접기/펼치기 ==================== */

/* 펼쳐진 상태: 너비 확장 */
#sidebar.sidebar-expanded {
    width: 240px;
    min-width: 240px;
    max-width: 240px;
}

/* 펼쳐진 상태: 링크를 가로 배치 */
#sidebar.sidebar-expanded .sidebar-link {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 13px 20px;
    gap: 12px;
}

/* 펼쳐진 상태: 텍스트 레이블 표시 (Bootstrap visually-hidden 오버라이드) */
#sidebar.sidebar-expanded .sidebar-link .main-menu-text-custom {
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: nowrap !important;
    border: 0 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #94A0B2 !important;
}

/* 펼쳐진 상태: 아이콘 크기 조정 */
#sidebar.sidebar-expanded .sidebar-icon-svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

#sidebar.sidebar-expanded .sidebar-icon-custom {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

/* 펼쳐진 상태: 서브 드롭다운 위치 유지 */
#sidebar.sidebar-expanded .sidebar-dropdown {
    left: 100%;
}

/* 펼쳐진 상태: active 텍스트 색상 */
#sidebar.sidebar-expanded .sidebar-link.active .main-menu-text-custom {
    color: #5D87FF !important;
}

/* 펼쳐진 상태: 호버 시 아이콘·텍스트 색상 (접힌 상태와 동일) */
#sidebar.sidebar-expanded .sidebar-link:hover .sidebar-icon-svg svg {
    stroke: #5D87FF;
}
#sidebar.sidebar-expanded .sidebar-link:hover .sidebar-icon-custom {
    background-color: #5D87FF;
}
#sidebar.sidebar-expanded .sidebar-link:hover .main-menu-text-custom {
    color: #5D87FF !important;
}

/* ==================== 사이드바 상단 바 (로고) ==================== */
.sidebar-top-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    /* 상단 네비바(54px)와 높이를 맞춰 로고와 네비바 글자가 같은 높이에 오게 한다 */
    height: 54px;
    padding: 0 12px;
    flex-shrink: 0;
}

#sidebar.sidebar-expanded .sidebar-top-bar {
    justify-content: flex-start;
}

.sidebar-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    overflow: hidden;
}

.sidebar-logo-symbol {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.sidebar-logo-full {
    height: 32px;
    object-fit: contain;
    display: none;
}

#sidebar.sidebar-expanded .sidebar-logo-symbol {
    display: none;
}

#sidebar.sidebar-expanded .sidebar-logo-full {
    display: block;
}

/* 토글 버튼 (사이드바 오른쪽 바깥에 플로팅) */
#sidebarToggleBtn {
    position: absolute;
    right: -18px;
    /* 상단 네비바(54px)의 세로 가운데에 맞추고, 네비바 안에 들어가도록 높이를 40px 로 줄임 */
    top: 27px;
    transform: translateY(-50%);
    width: 18px;
    height: 40px;
    background: #ffffff;
    border: 1px solid #ECEFF3;
    border-left: none;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 300;
    box-shadow: 3px 0 8px rgba(0, 0, 0, 0.08);
    padding: 0;
    color: #7C8FAC;
}

#sidebarToggleBtn svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    transition: transform 0.3s ease;
}

/* 펼쳐진 상태: 화살표 반전 */
#sidebar.sidebar-expanded #sidebarToggleBtn svg {
    transform: rotate(180deg);
}

#sidebarToggleBtn:hover {
    background: #F5F7FB;
    color: #5D87FF;
}


/* ==================== 사이드바 하단 영역 (#sidebarBottomArea) ==================== */
/* .sidebar-nav(flex-grow:1) 아래에 붙어서 사이드바 바닥에 깔린다.
   위에서부터 AI Beta 버튼 → 로그아웃 버튼 순서로 세로로 쌓인다 */
#sidebar .sidebar-bottom {
    flex-shrink: 0;
    width: 100%;
    padding: 12px 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* 접힌 상태(기본): 보라색 그라데이션 원형 아이콘 버튼 */
#sidebar .sidebar-ai-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 55%, #3B82F6 100%);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
    transition: width 0.3s ease, height 0.3s ease, border-radius 0.3s ease, box-shadow 0.2s ease, transform 0.2s ease;
    overflow: hidden;
    white-space: nowrap;
}
#sidebar .sidebar-ai-btn:hover {
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.45);
    transform: translateY(-1px);
}
#sidebar .sidebar-ai-btn.active {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25), 0 6px 16px rgba(99, 102, 241, 0.35);
}
#sidebar .sidebar-ai-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
#sidebar .sidebar-ai-icon svg {
    width: 100%;
    height: 100%;
}
/* 접힌 상태에서는 문구/Beta 뱃지를 숨긴다 */
#sidebar .sidebar-ai-text,
#sidebar .sidebar-ai-badge {
    display: none;
}

/* 펼쳐진 상태: 가로 알약 버튼 (아이콘 + "무사고 AI" + Beta 뱃지) */
#sidebar.sidebar-expanded .sidebar-bottom {
    padding: 12px 20px 20px;
    align-items: stretch;
}
#sidebar.sidebar-expanded .sidebar-ai-btn {
    width: 100%;
    height: 52px;
    border-radius: 26px;
    justify-content: flex-start;
    gap: 10px;
    padding: 0 16px 0 20px;
}
#sidebar.sidebar-expanded .sidebar-ai-text {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}
#sidebar.sidebar-expanded .sidebar-ai-badge {
    display: inline-block;
    margin-left: auto;
    padding: 3px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

/* ──────── 사이드바 로그아웃 버튼 (#sidebarLogoutBtn) ──────── */
/* 접힌 상태(기본): 아이콘만 */
#sidebar .sidebar-logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 52px;
    height: 40px;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 12px;
    color: #EF4444;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    transition: background-color 0.2s ease;
}
#sidebar .sidebar-logout-btn:hover {
    background: rgba(239, 68, 68, 0.09);
}
#sidebar .sidebar-logout-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
#sidebar .sidebar-logout-icon svg {
    width: 100%;
    height: 100%;
}
/* 접힌 상태에서는 문구를 숨긴다 */
#sidebar .sidebar-logout-text {
    display: none;
}

/* 펼쳐진 상태: 아이콘 + "로그아웃" 문구 */
#sidebar.sidebar-expanded .sidebar-logout-btn {
    width: 100%;
    height: 44px;
    justify-content: flex-start;
    padding: 0 16px 0 20px;
}
#sidebar.sidebar-expanded .sidebar-logout-text {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: #EF4444;
}

/* ==================== 이벤트 현황(근로자/시설물/환경) 이벤트 리스트 ====================
   표는 auto 레이아웃 + text-nowrap이라 긴 메시지가 있으면 표가 영역보다 넓어져 오른쪽(시간)이 잘린다.
   표 너비를 영역에 고정하고 메시지만 말줄임 처리, 마우스를 올리면 줄바꿈해서 전체 문구를 보여준다 */
#worker-event-table,
#facility-event-table,
#environ-event-table {
    table-layout: fixed;
    width: 100%;
    max-width: 100%;
}
#worker-event-table td,
#facility-event-table td,
#environ-event-table td {
    overflow: hidden;
}
#worker-event-table .row,
#facility-event-table .row,
#environ-event-table .row {
    flex-wrap: nowrap;
}
#worker-event-table .col-11,
#facility-event-table .col-11,
#environ-event-table .col-11 {
    min-width: 0;
    flex: 1 1 auto;
}
#worker-event-table .event-contents,
#facility-event-table .event-contents,
#environ-event-table .event-contents {
    min-width: 0;
    max-width: 100%;
}
#worker-event-table .event-msg-main,
#facility-event-table .event-msg-main,
#environ-event-table .event-msg-main {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#worker-event-table .event-datetime,
#facility-event-table .event-datetime,
#environ-event-table .event-datetime {
    flex-shrink: 0;
}
#worker-event-table .loc-regDate,
#facility-event-table .loc-regDate,
#environ-event-table .loc-regDate {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#worker-event-table tr:hover .event-msg-main,
#facility-event-table tr:hover .event-msg-main,
#environ-event-table tr:hover .event-msg-main,
#worker-event-table tr:hover .loc-regDate,
#facility-event-table tr:hover .loc-regDate,
#environ-event-table tr:hover .loc-regDate {
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
    text-overflow: clip;
}
