.radius_border{border:1px solid #919191;border-radius:5px;}     
.custom_typecontrol {position:absolute;top:10px;right:10px;overflow:hidden;width:132px;height:30px;margin:0;padding:0;z-index:1;font-size:12px;;}
.custom_typecontrol span {display:block;width:65px;height:30px;float:left;text-align:center;line-height:30px;cursor:pointer;}
.custom_typecontrol .btn {background:#fff;background:linear-gradient(#fff,  #e6e6e6);}       
.custom_typecontrol .btn:hover {background:#f5f5f5;background:linear-gradient(#f5f5f5,#e3e3e3);}
.custom_typecontrol .btn:active {background:#e6e6e6;background:linear-gradient(#e6e6e6, #fff);}    
.custom_typecontrol .selected_btn {color:#fff;background:#425470;background:linear-gradient(#425470, #5b6d8a);}
.custom_typecontrol .selected_btn:hover {color:#fff;}   
.custom_zoomcontrol {position:absolute;top:50px;right:10px;width:36px;height:80px;overflow:hidden;z-index:1;background-color:#f5f5f5;} 
.custom_zoomcontrol span {display:block;width:36px;height:40px;text-align:center;cursor:pointer;}     
.custom_zoomcontrol span img {width:20px;padding:12px 0;border:none;}             
.custom_zoomcontrol span:first-child{border-bottom:1px solid #bfbfbf;}   

.cwrap {position: absolute;left: 0;bottom: 40px;width: 288px;height: 132px;margin-left: -144px;text-align: left;overflow: hidden;font-size: 12px;;}
.cwrap * {padding: 0;margin: 0;}
.cwrap .cinfo {width: 286px;height: 120px;border-radius: 5px;border-bottom: 2px solid #ccc;border-right: 1px solid #ccc;overflow: hidden;background: #fff;}
.cwrap .cinfo:nth-child(1) {border: 0;box-shadow: 0px 1px 2px #888;}
.cinfo .ctitle {padding: 5px 0 0 10px;height: 30px;background: #eee;border-bottom: 1px solid #ddd;font-size: 15px;font-weight: bold;line-height:30px;}
.cinfo .cclose {position: absolute;top: 8px;right: 10px;color: #888;width: 13px;height: 13px;background: url('/common/images/overlay_close.png');background-size: cover;}
.cinfo .cclose:hover {cursor: pointer;}
.cinfo .cbody {position: relative;overflow: hidden;}  


.measurement-controls {
    position: absolute;
    top: 140px;
    right: 10px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.measurement-btn {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 9px;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s;
}

.measurement-btn:hover {
    background: #f0f0f0;
}

.measurement-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.measurement-info {
    position: absolute;
    top: 10px;
    right: 150px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    font-size: 13px;
    min-width: 180px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
}

.measurement-info div:first-child {
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

#measurement-result {
    color: #666;
    line-height: 1.4;
}

.controls {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.search-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #e3f2fd;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #90caf9;
    position: relative;
}

.search-controls input {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    width: 250px;
}

.search-controls input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 5px rgba(0, 124, 186, 0.3);
}

.search-controls button {
    margin: 5px;
    padding: 8px 16px;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.search-controls button:hover {
    background: #005a87;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 10px;
    right: 10px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.search-result-item {
    cursor: pointer;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-result-item:hover {
    background-color: #f5f5f5;
}

.search-result-item:last-child {
    border-bottom: none;
}

/* 토글 스위치 스타일 */
.toggle-controls {
    display: flex;
    gap: 15px;
    align-items: center;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #007cba;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    cursor: pointer;
}

/* 오른쪽 상단 컨트롤 패널 */
.right-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1000;
}

.zoom-controls {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.measure-controls {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-top: 10px;
}

.control-button {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.control-button:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #999;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.control-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.control-button.active {
    background: #2eb9cc;
    color: white;
    border-color: #2eb9cc;
}

.control-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.distance-info {
    position: absolute;
    top: 12px;
    right: 70px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 1000;
}

.info {
    margin-top: 10px;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 4px;
}

.kakao-scale {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 10px;
    font-family: 'Malgun Gothic', Arial, sans-serif;
    font-size: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 1000;
    min-width: 80px;
}

.scale-bar {
    height: 4px;
    background: #333;
    margin: 4px 0 2px 0;
    position: relative;
}

.scale-bar::before {
    content: '';
    position: absolute;
    left: 0;
    top: -2px;
    width: 1px;
    height: 8px;
    background: #333;
}

.scale-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: -2px;
    width: 1px;
    height: 8px;
    background: #333;
}

.scale-text {
    text-align: center;
    color: #333;
    font-weight: 500;
    margin: 0;
}

video { 
    width: 100%; 
    max-width: 640px; 
    height: 400px; 
    background: #000; 
    border: 2px solid #555; 
    border-radius: 8px; 
}

.stream-btn-start { background: #28a745; color: white; }
.stream-btn-stop { background: #dc3545; color: white; }
.stream-btn-start:hover { background: #218838; }
.stream-btn-stop:hover { background: #c82333; }
button:disabled { background: #6c757d; cursor: not-allowed; }
.status { 
    padding: 15px; 
    margin: 20px 0; 
    border-radius: 5px; 
    font-weight: bold; 
}
.status.connected { background: #d4edda; color: #155724; }
.status.connecting { background: #fff3cd; color: #856404; }
.status.error { background: #f8d7da; color: #721c24; }
.status.waiting { background: #e2e3e5; color: #383d41; }
.debug-info { 
    background: #1a1a1a; 
    padding: 15px; 
    border-radius: 5px; 
    margin: 20px 0; 
    text-align: left; 
    font-family: monospace; 
    font-size: 12px; 
    max-height: 200px;
    overflow-y: auto;
}

/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #2d2d2d;
    border-radius: 10px;
    padding: 20px;
    max-width: 90%;
    max-height: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #555;
    padding-bottom: 15px;
}

.modal-title {
    margin: 0;
    color: white;
    font-size: 1.5em;
}

.close {
    background: none;
    border: none;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    margin: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover {
    color: white;
}

.modal-video {
    width: 100%;
    max-width: 800px;
    height: 450px;
    background: #000;
    border: 2px solid #555;
    border-radius: 8px;
    margin-bottom: 20px;
}

.modal-controls {
    text-align: center;
    margin-bottom: 15px;
}

.modal-status {
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}

.modal-status.connected { background: #d4edda; color: #155724; }
.modal-status.connecting { background: #fff3cd; color: #856404; }
.modal-status.error { background: #f8d7da; color: #721c24; }
.modal-status.waiting { background: #e2e3e5; color: #383d41; }

.modal-debug {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 5px;
    font-family: monospace;
    font-size: 12px;
    max-height: 150px;
    overflow-y: auto;
    text-align: left;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}


.map-area {
  width: 100vw;
  height: 100%;
  /*background: url(../images/map.png) no-repeat center center;*/
  background-size: cover;
}

/* 왼쪽 정보 패널 */
.info-panel {
  position:absolute;
  top:20px;
  left:20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 상태 카드 컨테이너 */
.status-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 10px 15px;
  background: #fff;
  border-bottom: 1px solid #ddd;
  border-radius: 16px;
  box-shadow: 0 8px 10px rgba(60, 60, 100, 0.5),
              0 1.5px 10px rgba(60, 60, 100, 0.3);
  box-sizing: border-box;
  transition: box-shadow 0.2s;
}

.status-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.status-title {
  font-size: 1.7rem;
  font-weight: bold;
  white-space: nowrap;
}

.status-location {
  width: 100%;
  color: #000;
  background-color: #f1f1f1;
  border-radius: 25px;
  padding: 8px 10px;
  text-align: center;
}

.status-step {
  width: 60px;
  height: 60px;
  font-weight: bold;
  color: #f1f1f1;
  background-color:#4db959;
  border-radius: 5px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tab-menu {
  display: flex;
  width:100%;
  border-radius: 5px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 10px rgba(60, 60, 100, 0.5),
              0 1.5px 10px rgba(60, 60, 100, 0.3);
}

.tab-menu button {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  background: #fff;
  color: #000;
  text-align: center;
  white-space: nowrap;
  letter-spacing: -0.1em;
  font-size:13px;
  font-weight: 500;
  cursor: pointer;
}

.tab-menu button.on {
  background: #333;
  color: #fff;
}

.tab-close {
  display:none;
}

.tab-contents>div {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 5px 24px rgba(60, 60, 100, 0.22), 0 5px 8px rgba(60, 60, 100, 0.12);
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.tab-contents2>div {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 5px 24px rgba(60, 60, 100, 0.22), 0 5px 8px rgba(60, 60, 100, 0.12);
}

.tab-contents3>div {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 5px 24px rgba(60, 60, 100, 0.22), 0 5px 8px rgba(60, 60, 100, 0.12);
}

.search-box {
  border-bottom: 1px solid #ddd;
}

.search-box input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
}

.search-box button {
  width: 100%;
  padding: 10px;
  border: none;
  background: #333;
  color: #fff;
  text-align:center;
}

.cctv-list {
	width:100%;
	left:0;
	margin-top:30px;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 16px;
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
    position: absolute;
}

.search-result-item {
    list-style: none;
    border-bottom: 1px solid #eee;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-item {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-item:hover {
    background-color: #f8f9fa;
}

.item-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.item-content {
    flex: 1;
    min-width: 0;
}

.item-title {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.category-badge {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-right: 8px;
    color: #666;
    flex-shrink: 0;
}

.item-name {
    font-weight: 500;
    color: #333;
}

.item-address {
    font-size: 12px;
    color: #888;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-summary {
    list-style: none;
    line-height:35px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.search-stats {
    padding: 8px 12px;
    font-size: 12px;
    color: #666;
}

.search-query {
    font-weight: bold;
    color: #333;
}

.result-count {
    color: #007bff;
    font-weight: bold;
}

.no-results {
    list-style: none;
}

.no-results .search-item {
    justify-content: center;
    padding: 20px;
    color: #888;
}


.floating-btns {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  right:32px;
  bottom: 55px;
  -webkit-transition: .6s ease-out;
  transition: .6s ease-out;
  padding: 10px;
  border-radius: 8px;
  gap: 10px;
}

.floating-btns.active {
  right: 450px
}

.floating-btns button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 80px;
  height: 80px;
  padding: 10px;
  border: none;
  color: #fff;
  background: #333;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.floating-btns button i {
  font-size: 2.5rem;
  color: #ccc;
}

.floating-btns button span {
  font-size: 1.2rem;
} 
.floating-btns button:focus,
.floating-btns button:hover {
  * {
    color: #2eb9cc;
  }
}

.floating-btns button.active {
  * {
    color: #2eb9cc;
  }
}

.roadmapSelect {
  width: 500px;
  border-radius: 8px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  padding: 20px;
  position: absolute;
  right: 50%;
  top: 50%;
  -webkit-transform: translate(50%, -50%);
  transform: translate(50%, -50%);
  z-index: 6;
}

.roadmapSelect .notice {
  font-size: 16px;
  margin-bottom: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 3px;
  font-weight: 500;
}

.roadmapSelect .notice .closeBtn {
  cursor: pointer;
  position: absolute;
  right: 20px;
  width: 15px;
  font-size: 2rem;
}

.roadmapSelect .boxArea {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
}

.roadmapSelect .boxArea>div {
  background-color: #052563;
  color: #fff;
  border-radius: 8px;
  padding: 15px 10px;
  width: 50%;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
}

.roadmapSelect .rSearch {
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: 15px 50%;
  background-size: 18px;
  background-blend-mode: luminosity;
}

.roadmapSelect .rDirect {
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: 18px 50%;
  background-size: 20px;
  background-blend-mode: luminosity;
}

.detail-panel {
  height: auto;
  min-height:500px;
  position: absolute;
  z-index: 9999;
  bottom: 55px;
  display: flex;
  justify-content: flex-start;
  right: -600px;
  -webkit-transition: .6s ease-out;
  transition: .6s ease-out;
}

.detail-panel.active {
  right: 20px;
}

.side-tab {
  width: 46px;
  height: 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  background-color: #1e99a9;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
  border-radius: 8px 0 0 8px;
  -webkit-transform: translateY(50%);
  transform: translateY(50%);
  z-index: 1;
  -webkit-transition: .4s;
  transition: .4s;
}

.panel-info {
  display:flex;
  flex-direction: column;
  max-width: 550px;
  max-height:700px;
  overflow:auto;
  border:2px solid #1e99a9;
  border-radius: 25px;
  padding:10px;
  background:#fff;
  overflow:auto;
}

.detail-tabs {
  display:flex;
  width:100%;
  gap:5px;
}

.detail-tabs button {
  flex:1;
  font-size: 16px;
  font-weight:500;
}

.detail-term {
  display:flex;
  width:100%;
  justify-content: space-between;
  align-items: center;
  padding:10px;
}

.detail-question {
  display:flex;
  align-items: center;
  width: 90px;
  height: 19px;
  color: #141414;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  padding: 0;
  gap: 4px;
}
.detail-question>div {
  background-color: #052563;
  color: #fff;
  width: 16px;
  height: 16px;
  text-align: center;
  border-radius: 16px;
  cursor: pointer;
}

.detail-status {
  background:#d5d5d5;
  padding:10px 5px;
  border-radius: 25px;
}

.detail-status span {
  border-radius:25px;
  padding:3px 10px;
  color:#fff;
  border:2px solid #fff;
  font-size:1.4rem;
}

.detail-info {
  font-size:1.2rem;
  text-align:right;
  padding:1rem 0;
}

td.status {
  color:#fff;
  padding:0;
}

:root {
  /* 안전 상태 - 초록색 */
  --color-safe: #2ecc71;
  
  /* 관심 상태 - 파란색 */
  --color-attention: #2196f3;
  
  /* 주의 상태 - 노란색 */
  --color-caution: #ffb300;
  
  /* 경계 상태 - 주황색 */
  --color-warning: #ff7f00;
  
  /* 위험 상태 - 빨간색 */
  --color-danger: #ff3b3b;
}

/* 각 상태별 스타일 적용 예시 */
.safe {
  background-color: var(--color-safe);
}

.attention {
  background-color: var(--color-attention);
}

.caution {
  background-color: var(--color-caution);
}

.warning {
  background-color: var(--color-warning);
}

.danger {
  background-color: var(--color-danger);
}

/* 모바일 뷰 */
@media (max-width: 768px) {

  .info-panel {
    top:10px;
    left:-500px;
    z-index: 1;
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);  /* 부드러운 이징 효과 추가 */
  }

  .info-panel.active {
    left:10px;
  }

  .status-card {
    display:none;
  } 

  .tab-menu {
    position:relative;
    width:300px;
  }

  .tab-menu button {
    font-size:1.2rem;
    padding: 10px 10px;
  }
  .tab-contents {
    width:100%;
    max-width:500px;
  }
  
  .tab-contents2 {
    width:95vw;
    max-width:500px;
  }
  
  .tab-contents3 {
    width:95vw;
    max-width:500px;
  }

  .floating-btns {
    position: fixed;
    width:100%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    left:0;
    bottom:0;
    background-color:#fff;
    padding: 5px;
    border-radius: 8px;
    gap: 10px;
    border-top:solid 1px #ccc;
  }
    
  .floating-btns.active {
    bottom:0;
  }
  
  .floating-btns button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 80px;
    height: 60px;
    padding: 10px;
    border: none;
    color: #fff;
    background: none;
    border-radius: 15px;
    transition: all 0.3s ease;
  }

  .floating-btns button i {
    font-size: 2rem;
    color: #9486b7;
  }
  
  .floating-btns button span {
    font-size: 1.2rem;
    font-weight: 600;
    color:#000;
  } 

  .detail-panel {
    top:10rem;
    height: auto;
    width: auto;
  }

  .detail-panel.active {
    right:5px;
  }
    
  .side-tab {
    width: 30px;
    height: 50px;
  }

  .panel-info {
    display:flex;
    flex-direction: column;
    max-width: 550px;
    max-height:700px;
    overflow:hidden;
  }
    
  .detail-tabs button {
    font-size: 14px;
    font-weight:500;
  }

  .detail-status {
    display:flex;
  }

  .detail-status span {
    border-radius:25px;
    padding:3px 8px;
    color:#fff;
    border:2px solid #fff;
    font-size:1.1rem;
  }

  .detail-info {
    font-size:1rem;
    text-align:right;
    padding:1rem 0.5rem 1rem 0;
  }

  .roadmapSelect {
    width: 90%;  /* 고정 너비 대신 화면 비율로 변경 */
    max-width: 400px;  /* 최대 너비 설정 */
    padding: 15px;  /* 패딩 줄임 */
    border-radius: 12px;  /* 모서리 더 둥글게 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);  /* 그림자 효과 추가 */
  }

  .roadmapSelect .notice {
    font-size: 14px;  /* 폰트 크기 줄임 */
    margin-bottom: 12px;
  }

  .roadmapSelect .notice .closeBtn {
    right: 15px;  /* 오른쪽 여백 조정 */
    font-size: 1.8rem;  /* 닫기 버튼 크기 조정 */
  }

  .roadmapSelect .boxArea {
    gap: 8px;  /* 버튼 사이 간격 조정 */
  }

  .roadmapSelect .boxArea > div {
    padding: 12px 8px;  /* 패딩 조정 */
    font-size: 14px;  /* 폰트 크기 줄임 */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;  /* 아이콘과 텍스트 사이 간격 */
  }

  .roadmapSelect .boxArea > div i {
    font-size: 16px;  /* 아이콘 크기 조정 */
  }

  .roadmapSelect .rSearch,
  .roadmapSelect .rDirect {
    background-position: 12px 50%;  /* 아이콘 위치 조정 */
    background-size: 16px;  /* 아이콘 크기 조정 */
  }
}

/* 데스크탑 뷰 */
@media (min-width: 769px) {

  .search-box {
    border-bottom: none;
    display: flex;
    gap: 10px;
  }
  
  .search-box input {
    width: 100%;
  }
  
  .search-box button {
    width: 20%;
  }

  .panel-info {
    min-width:400px;
  }
  
}
