div.gm-style .gm-style-iw-c {
  padding-top: 10px !important;
  padding-left: 10px !important;
}

div.gm-style .gm-style-iw-d {
  overflow: hidden !important;
  padding-bottom: 10px !important;
  padding-right: 10px !important;
}

.card2 {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 4px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  /*flex-direction: column;*/
  padding: 32px;
}

.dtg_location_info {
  height: calc(100vh - 400px) !important;
}
.dtg_list_card {
  height: calc(100vh - 460px);
}
.dtg_list_card_left {
  padding: 20px;
  height: calc(100vh - 410px);
}
.dtg_list_card_body {
  overflow-x: auto;
  overflow-y: auto;
}
.dtg_table-responsive-md {
  width: 100%;
}
.dtg_table {
  table-layout: revert !important;
  min-width: revert !important;
}
.dtg_list_search {
  padding-top: revert;
  align-items: flex-end;
}
.dtg_trip_popup_layer {
  position: absolute;
  z-index: -1;
  overflow-y: scroll;
  opacity: 0;
  transition: all 0.2s;
  padding: 20px 0 20px 0;
  width: 400px;
  height: 600px;
  right: 0;
}
.dtg_trip_popup_layer.on {
  z-index: 999;
  opacity: 1;
}
.dtg-popup-header {
  position: relative;
  text-align: left;
  padding: 20px;
}
.dtg-popup-title {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  color: #111111;
}
.dtg-popup-body {
  padding: 0 20px 20px 20px;
  text-align: left;
  overflow-y: auto;
}

.bis_info__dashboard {
  width: 440px;
  height: 100%;
  padding: 0 30px;
  border-right: 1px solid #eaeaea;
}
.bis_list-card {
  padding-top: 20px;
}
.bis_list_card_body {
  height: calc(100vh - 181px);
}
.bis_table-responsive-md {
  width: 100%;
  overflow-x: auto;
  height: 100%;
}
.bis_table {
  overflow-y: auto;
  table-layout: revert !important;
  min-width: revert !important;
}


.bis_detail-body {
  height: calc(100vh - 201px);
  overflow-y: auto;
  margin-top: 20px;
}
.bis_detail-header {
  height: 100%;
}

.bis_table-list.y-line tbody th, .bis_table-list.y-line tbody td {
  padding: 10px;
}
.bis_table-list.y-line tbody th {
  text-align: left;
}
.bis_table-list.y-line tbody td {
  text-align: right;
}
.bis_table-list tbody td span {
  display: inline-block;
  vertical-align: middle;
  padding: 4px 16px;
  border-radius: 50em;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  background-color: #1782ff;
  color: #fff;
}

/* 공통 로딩 오버레이 */
/* 팝업 영역 로딩: 부모 컨테이너(position: relative) 기준으로 덮음 */
.loading-popup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(22, 22, 55, 0.5);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* 페이지 영역 로딩: 스크롤 제외 보이는 뷰포트 영역만 덮음 */
.loading-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(22, 22, 55, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.loading-img {
    width: 100px;
    height: 100px;
}

/* .popup-cont-map, .page-body 등 LoadingComponent(type="popup") 사용 컨테이너 기준 설정 */
/* LoadingComponent type="popup" (position:absolute) 은 해당 클래스를 가진 가장 가까운 positioned 조상을 기준으로 덮음 */
.popup-cont-map {
    position: relative;
}

/* 운행 경로 팝업 헤더 세로 가운데 정렬 */
#popup-drivingRoute .popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 운행 경로 팝업 헤더 - popup-close absolute 해제 및 h3 margin 초기화 */
#popup-drivingRoute .popup-close {
    position: static;
    flex-shrink: 0;
}
#popup-drivingRoute .popup-header h3 {
    margin: 0;
    flex: 1;
}

/* 운행 경로 팝업 헤더 padding 및 popup-body 상단 padding 조정 */
#popup-drivingRoute .popup-header {
    padding: 20px 40px 0px 40px;
}
#popup-drivingRoute .popup-body.popup-cont-map {
    padding-top: 20px;
}

/* location-popup-map: LoadingComponent(type="popup") 기준 컨테이너 */
.popup-cont-map .location-popup-map {
    position: relative;
}

/* 경로 상세정보 말풍선 */
.line-info-bubble {
    position: fixed;
    transform: translateY(-50%);
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    /* .vehicle-status-help-wrap의 white-space: nowrap 상속 차단 */
    white-space: normal;
    overflow: hidden;
    font-family: "Noto Sans KR", sans-serif;
    z-index: 10;
}
.line-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #2c3e50;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    border-radius: 8px 8px 0 0;
}
.line-info-close-btn {
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    color: #fff;
    opacity: 0.8;
    -webkit-user-select: none;
    user-select: none;
    padding: 0 2px;
}
.line-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
.line-info-th {
    padding: 7px 12px;
    text-align: left;
    background: #f8f9fa;
    color: #555;
    font-weight: 600;
    width: 70px;
    border-bottom: 1px solid #eee;
}
.line-info-td {
    padding: 7px 12px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}
.line-info-th-last {
    padding: 7px 12px;
    text-align: left;
    background: #f8f9fa;
    color: #555;
    font-weight: 600;
    width: 70px;
    border-radius: 0 0 0 8px;
}
.line-info-td-last {
    padding: 7px 12px;
    color: #333;
    border-radius: 0 0 8px 0;
}
.line-info-tail {
    position: fixed;
    transform: translateY(-50%);
    bottom: 12px;
    left: 50%;
    width: 16px;
    height: 16px;
    background: #fff;
    transform: translateX(-50%) rotate(45deg);
    box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.15);
}

/* 운행실적 경로 상세정보 말풍선 (paths.js, paths-all.js 전용) */
/* line-info-* 와 동일한 스타일을 적용하며, 래퍼 div 의 transform 으로 인해 position:fixed 가 뷰포트가 아닌 래퍼 기준으로 동작 */
/* 래퍼에 translate(-50%, -100%) 적용 → 버블이 화살표 마커 기준 상단에 위치 */
.path-info-bubble {
    position: fixed;
    transform: translateY(-50%);
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    white-space: normal;
    overflow: hidden;
    font-family: "Noto Sans KR", sans-serif;
    z-index: 10;
}
.path-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #2c3e50;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    border-radius: 8px 8px 0 0;
}
.path-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
.path-info-th {
    padding: 7px 12px;
    text-align: left;
    background: #f8f9fa;
    color: #555;
    font-weight: 600;
    width: 70px;
    border-bottom: 1px solid #eee;
}
.path-info-td {
    padding: 7px 12px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}
.path-info-th-last {
    padding: 7px 12px;
    text-align: left;
    background: #f8f9fa;
    color: #555;
    font-weight: 600;
    width: 70px;
    border-radius: 0 0 0 8px;
}
.path-info-td-last {
    padding: 7px 12px;
    color: #333;
    border-radius: 0 0 8px 0;
}
/* 말풍선 하단 삼각형 꼬리 - line-info-tail 과 동일한 스타일 */
.path-info-tail {
    position: fixed;
    transform: translateY(-50%);
    bottom: 12px;
    left: 50%;
    width: 16px;
    height: 16px;
    background: #fff;
    transform: translateX(-50%) rotate(45deg);
    box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.15);
}

/* vehicle-item__body dl 전체 너비 타입 */
.location-info__dashboard .vehicle-item__body dl.full {
    flex: 0 1 100%;
}
/* dl.full 내 dd 폰트 크기를 vehicle-list 기준(14px)과 동일하게 명시 */
.location-info__dashboard .vehicle-item__body dl.full dd {
    font-size: 14px;
}

/* vehicle-item__body dd 빨간색 폰트 타입 */
.location-info__dashboard .vehicle-item__body dd.text-danger {
    color: #dc3545;
}
/* ============================================================
   차량상태 도움말 아이콘 & 툴팁
   - 차량상태 th 우측에 표시되는 ? 아이콘과 마우스오버 시 나타나는 도움말 툴팁
   ============================================================ */

/* th 내 래퍼: 아이콘과 텍스트를 인라인 flex로 정렬 */
.vehicle-status-help-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: relative;
    white-space: nowrap;
}

/* 물음표 도움말 아이콘 버튼 - vehicle-status-tooltip__header::before 와 동일한 양식 */
.vehicle-status-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    /* letter-spacing 상속 시 문자 뒤에 여백이 생겨 좌측 치우침 현상 발생하므로 리셋 */
    letter-spacing: 0;
    text-align: center;
    cursor: pointer;
    border: none;
    outline: none;
    padding: 0;
    flex-shrink: 0;
    vertical-align: middle;
    user-select: none;
    transition: opacity 0.15s ease;
}

.vehicle-status-help-icon:hover {
    opacity: 0.8;
}

/* ---- 팝업 컨테이너 ---- */
.vehicle-status-tooltip {
    position: fixed;
    z-index: 9999;
    width: 360px;
    max-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e6ea;
    font-family: "Noto Sans KR", sans-serif;
    /* .vehicle-status-help-wrap의 white-space: nowrap 상속 차단 */
    white-space: normal;
    overflow: hidden;
    animation: vst-fadein 0.15s ease;
}

@keyframes vst-fadein {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 팝업 열림 상태 아이콘 */
.vehicle-status-help-icon.is-active {
    opacity: 0.8;
}

/* ---- 헤더 ---- */
.vehicle-status-tooltip__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 11px 12px 11px 16px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.vehicle-status-tooltip__header::before {
    content: '?';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

/* X 닫기 버튼 */
.vehicle-status-tooltip__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease;
    padding: 0;
}

.vehicle-status-tooltip__close:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ---- 설명 영역 ---- */
.vehicle-status-tooltip__desc {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    background: #fff;
    border-bottom: 1px solid #eef0f3;
    overflow-y: auto;
}

/* GPS 안내 박스: 파란 좌측 보더 + 연한 배경 */
.vehicle-status-tooltip__info-box {
    background: #f0f7ff;
    border-left: 3px solid #1782ff;
    border-radius: 0 6px 6px 0;
    padding: 8px 10px 8px 12px;
}

.vehicle-status-tooltip__info-title {
    font-size: 11px;
    font-weight: 700;
    color: #1782ff;
    margin: 0 0 5px;
    line-height: 1.4;
}

/* 불릿 리스트 */
.vehicle-status-tooltip__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.vehicle-status-tooltip__list li {
    font-size: 11px;
    color: #3a4a5a;
    padding-left: 13px;
    position: relative;
    line-height: 1.55;
}

.vehicle-status-tooltip__list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: #1782ff;
    font-weight: 700;
}

/* 주의 문구 */
.vehicle-status-tooltip__notice {
    font-size: 11px;
    color: #555;
    line-height: 1.65;
    margin: 0;
    padding: 6px 10px;
    background: #fffbf0;
    border-left: 3px solid #f5a623;
    border-radius: 0 5px 5px 0;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* 강조 텍스트 */
.vehicle-status-tooltip__notice em {
    font-style: normal;
    font-weight: 700;
    color: #c0392b;
}

/* ---- 섹션 타이틀 ---- */
.vehicle-status-tooltip__section-title {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    font-size: 11px;
    font-weight: 700;
    color: #2c3e50;
    background: #f4f6f9;
    border-top: 1px solid #e2e6ea;
    border-bottom: 1px solid #e2e6ea;
    letter-spacing: 0.02em;
}

.vehicle-status-tooltip__section-title::before {
    content: '';
    width: 3px;
    height: 13px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    border-radius: 2px;
    flex-shrink: 0;
}

/* ---- 상태 리스트 (ul/li) ---- */
.vehicle-status-tooltip__status-list {
    margin: 0;
    padding: 4px 0 6px;
    list-style: none;
    max-height: 230px;
    overflow-y: auto;
}

.vehicle-status-tooltip__status-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 14px;
    border-bottom: 1px solid #f3f4f6;
}

.vehicle-status-tooltip__status-list li:last-child {
    border-bottom: none;
}

.vehicle-status-tooltip__status-list li:nth-child(even) {
    background: #f9fafb;
}

/* 번호 원형 뱃지 */
.vehicle-status-tooltip__status-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    background: #e8f0fe;
    color: #1a73e8;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}

/* 상태명 */
.vehicle-status-tooltip__status-name {
    font-size: 11px;
    color: #2c3e50;
    line-height: 1.45;
}
