#map{
    width: calc(100vw - 576px);
    left: 256px;
    height: 100vh;
    position: absolute;
}
body{
    overflow: hidden;
}
.dropdown-item:focus,
.dropdown-item:hover,
.dropdown-item:active {
    background-color: #000 !important; /* 검정색 배경 */
    color: #fff !important;           /* 글자색은 흰색으로 */
}
.no-calendar-icon {
    position: relative;
    color-scheme: dark; /* 다크모드 배경일 때도 자연스럽게 */
}

/* 크롬, 엣지 */
.no-calendar-icon::-webkit-calendar-picker-indicator {
    opacity: 0;
    display: none;
}

/* 파이어폭스 */
.no-calendar-icon::-moz-focus-inner {
    border: 0;
}
.no-calendar-icon::-moz-calendar-picker-indicator {
    display: none;
}

/* 사파리 (iOS 포함) */
.no-calendar-icon::-webkit-inner-spin-button,
.no-calendar-icon::-webkit-clear-button {
    display: none;
}
.form-select.bg-dark.text-light {
    /* * Bootstrap은 SVG 아이콘을 배경 이미지로 사용합니다.
     * fill='%23fff' 는 SVG의 fill 색상을 흰색(#fff)으로 변경합니다.
    */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}
#loader-wrapper{
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.1);
    z-index: 99999;
    cursor: pointer;
}
#loader-wrapper .loading {
    position: relative;
    left: 0;
    top: 40%;
    z-index: 1;
    margin: auto auto auto auto;
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #4db1ff;
    width: 60px;
    height: 60px;
    -webkit-animation: loader-wrapper-spin 2s linear infinite;
    animation: loader-wrapper-spin 2s linear infinite;
}
@keyframes loader-wrapper-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.nmap-top{
    display: none;
    position: absolute;
    top: 0;
    width: 100vw;
    height: 67px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(243, 244, 246, 0.7));
    backdrop-filter: blur(10px);
}
.nmap-left{
    position: absolute;
    top:0;
    width: 256px;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), rgba(31, 41, 55, 0.2));
    backdrop-filter: blur(8px);
    height: 100vh;
}
.nmap-right{
    position: absolute;
    top: 0px;
    right: 0;
    width: 320px;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), rgba(31, 41, 55, 0.9));
    backdrop-filter: blur(8px);
    /*border: 1px solid rgba(255, 255, 255, 0.05);*/
    height: 100vh;
    display: flex;
    flex-direction: column;
}
.nmap-logo{
    /*width: 50px;*/
    height: 50px;
    margin-right: 10px;
    align-self: center;
    margin-top: -5px;
}
.nmap-title{
    display: flex;
    flex-direction: column;
    margin-top: -10px;
}
.nmap-maintitle{
    font-size: 1.2em;
    color: #111827;
    font-weight: bold;
}
.nmap-subtitle{
    font-size: .5em;
    color: #6B7280;
}



.header-right-btn{
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 3px;
}
.header-right-btn:hover{
background-color: #dddddd;
}
.nmap-badge{
    background-color: #EF4444;
    position: absolute;
    border-radius: 99px;
    color: white;
    width: 16px;
    height: 16px;
    display: block;
    top: -2px;
    left: 15px;
    font-size: 11px;
    text-align: center;
}
.nmap-left{
    background-color: #1F2937;
    padding: 16px 16px;
}

.nmap-left .left-menu-list{
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-bottom:1px solid #334155;
    /*height: calc(100vh - 524px);*/
    height: calc(100vh - 457px);
    overflow-y: scroll;
}

.nmap-left .left-menu-list .left-menu-item{
    display: flex;
    padding-left: 12px;
    padding-right: 12px;
    gap:12px;
    font-size: 14px;
    font-weight: 400;
    border-radius: 16px;
    /*height: 48px;*/
    cursor: pointer;
}

.nmap-left .left-menu-list .left-menu-item.active{
    background-color: #374151;
}

.nmap-left .left-menu-list .left-menu-item:hover{
    background-color: #374151;
}

.nmap-left .weather-info-text{
    font-size: 14px;
    font-weight: 500;
}

.nmap-left .data-text{
    font-size: 13px;
    font-weight: 400;
}

.nmap-left .data-value{
    font-size: 13px;
    font-weight: 400;
}

.nmap-left .data-area{
    padding: 10px;
    border-radius: 5px;
    background-color: #2F3947;
}

.nmap-left .data-area .bottom-hr{
    border-bottom: 1px solid #374151;
}




.nmap-right{
    background-color: #111827;

}

.nmap-right .accordion-button::after {

    background-size: 15px 15px;
}
.nmap-right-title {
    font-size: 1.1em;
    color: white;
    text-align: center;
    padding: 5px;
    border-bottom:1px solid #334155;
    background-color: #3F4957;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-dark .accordion-item{
    background-color:#111827;
    border-bottom:1px solid #334155;
    color:#e5e7eb;
}

.accordion-dark .accordion-button{
    background-color:#111827; color:#e5e7eb;
}


.accordion-dark .accordion-button:not(.collapsed){
    background-color:#111827;
    color:#fff;
    box-shadow:none;
    padding-right: 25px;
}

.accordion-dark .accordion-body{
    background:#111827; color:#e5e7eb;
}

.accordion-dark .accordion-button:focus{
    box-shadow:0 0 0 0 #111827;
}


.nmap-right .auto-item{
    /*height: 60px;*/
    border-radius: 16px;
    padding: 12px;
    width: 100%;
}
.nmap-right .auto-item:nth-child(3n + 1){
    background-color: #166534;
}
.nmap-right .auto-item:nth-child(3n + 2){
    background-color: #9A3412;
}
.nmap-right .auto-item:nth-child(3n){
    background-color: #991B1B;
}
.nmap-right .auto-item.yellow{
    color: #1a1d20;
}
.nmap-right .auto-item.yellow .item-state{
    color: #1a1d20;
}
.nmap-right .auto-item.yellow:nth-child(3n+1) { background-color: #FFF9C4; } /* 부드러운 노랑 */
.nmap-right .auto-item.yellow:nth-child(3n+2) { background-color: #FFEB3B; } /* 기본 노랑 */
.nmap-right .auto-item.yellow:nth-child(3n)   { background-color: #FFC107; } /* 골드톤 포인트 */

.nmap-right .auto-item.success{
    background-color: #166534;
}

.nmap-right .auto-item.wait{
    background-color: #9A3412;
}

.nmap-right .auto-item.error{
    background-color: #991B1B;
}

.nmap-right .auto-item .item-title{
    font-size: 14px;
    font-weight: 500;
}

.nmap-right .auto-item .item-info{
    font-size: 12px;
    font-weight: 400;
    opacity: 0.5;
}

.nmap-right .auto-item .item-state{
    font-size: 12px;
    font-weight: 400;
    opacity: 0.5;
}
.nmap-right-item *{
    vertical-align: top;
}
.nmap-right-label{
    display: inline-block;
    word-break: break-all;
}
.nmap-pointer{
    cursor: pointer;
}
.nmap-break-all{
    word-break: break-all;
}
.nmap-list{
    /*height: calc(100vh - 435px);*/
    height: calc(100vh - 368px);
    overflow-y: scroll;
}
.nmap-top-list{
    height: 160px;
    overflow-y: scroll;
}
.nmap-no-item{
    text-align: center;
    margin-top: 30px;
    color: white;
}
.nmap-list-item{
    border-bottom: 1px solid #374151;
    padding-bottom: 8px;
}
.nmap-list-item.etri-open-item{
    background-color: #333333;
}
.cmmn-modal .modal-content{
    background-color: #111827;
    color: #FFFFFF;
    /*1px solid #374151*/
}

.cmmn-modal .modal-header{
    border-bottom: 1px solid #374151;
}

.cmmn-modal .modal-footer{
    border-top: 1px solid #374151;
}

.default-input-group{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.default-input-group label{
    font-size: 14px;
    font-weight: 400;
    color: #D1D5DB;
}


.default-input-group input{
    background-color: #1F2937;
    border: 1px solid #4B5563;
    height: 38px;
    border-radius: 8px;
    color: #FFFFFF;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 300;
}

.cmmn-modal .btn-close {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3e%3cpath d='M2.5 2.5l11 11m0-11l-11 11' stroke='%23ffffff' stroke-width='2'/%3e%3c/svg%3e") center/1em auto no-repeat;
    opacity: 1;
}

.custom-btn{
    height: 36px;
    border-radius: 8px;
    border: 0;
    font-size: 14px;
    font-weight: 500;
    padding: 0 20px;
    color: #FFFFFF;
}

.custom-btn.green{
    background: #16A34A;

}
.custom-btn.orange{
    background: #EA580C;

}
.custom-btn.red{
    background: #DC2626;

}
.nmap-right-footer{
    /*position: absolute;
    bottom: 0;*/
}
.nmap-opacity{
    position: absolute !important;
    right: 333px;
    bottom:10px;
    background-color: #1a1d20;
    padding: 10px;
    padding-bottom: 2px;
    padding-top: 2px;
    border-radius: 15px;
}
.nmap-opacity input{
    width: 130px;
}
.nmap-basemap{
    position: absolute !important;
    right: 333px;
    top:14px;
}
.nmap-basemap .btn-group{
    border-radius: 100px !important;
    overflow: hidden;
    width: 200px;
}
.nmap-basemap .btn{
    border:none;
    background-color: #ffffff;
    color: #374151;
    font-size: 14px;
}
.nmap-basemap .btn:hover{
    background-color: #ffffff;
}
.nmap-basemap .btn.active{
    background-color: #2563EB;
    color: white;
}

/*.SYSTEM-SGVS .nmap-left{
    background-color:  #A50000;
}*/
.SYSTEM-SGVS .nmap-top{
    background: linear-gradient(to bottom,  #A50000,  #A50000);
}
.SYSTEM-SGVS .nmap-maintitle{
    color: white;
}
.SYSTEM-SGVS .nmap-subtitle{
    color: #cBc2c0;
}

.nmap-data-request{
    display: none;
    position: absolute;
    background-color: #1a1d20;
    width: 320px;
    height: auto;
    bottom: 0;
    right: 320px;
}
.nmap-data-request.active{
    display: block;
}

/* 무한 회전 애니메이션 */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#rotateIcon {
    display: inline-block;
    animation: spin 1.5s linear infinite;
    /* 속도 조절 가능 */
}