
.map-wrapper {
  	height: 500px;
  	position: relative;
}

#kakao-map {
  	position: absolute;
  	top: 0;
  	left: 0;
  	width: 100%;
  	height: 100%;
  	z-index: 0;
}

#ol-map {
  	position: absolute;
  	top: 0;
  	left: 0;
  	width: 100%;
  	height: 100%;
  	z-index: 1;
  	pointer-events: auto;
}

/* 툴팁 및 컨텍스트 메뉴 (OpenLayers용) */
.ol-tooltip {
  position: absolute;
  display: none;
  /*background: rgba(0, 0, 0, 0.8);*/
  color: #fff;
  /*padding: 4px 10px;*/
  border-radius: 4px;
  font-size: 12px;
  pointer-events: none;
  white-space: nowrap;
  z-index: 9999;
  
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* 정류소 툴팁 스타일 추가 */
.station-tooltip {
	background-color: #ffffff !important; 
    color: #111827 !important; 
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-size: 13px;
    font-weight: bold;
    color: #1f2937;
    white-space: nowrap;
}


/* 컨텍스트메뉴 스타일 */
#context-menu {
    position: absolute;
  	background: #fff; 
  	border: 1px solid #ccc;
  	border-radius: 4px;
  	padding: 5px 8px;
  	box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  	font-size: 13px;
  	pointer-events: auto;
  	z-index: 1000;
  	white-space: nowrap;
}

/* 지도/스카이뷰 버튼 스타일 */
.map-controls {
    position: absolute;
    top: 10px;
    right: 40px;
    z-index: 10000;
    display: flex;
    gap: 5px;
}

.map-controls button {
    padding: 3px 7px;
    background: white;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: 14px;
}

.map-controls button:hover {
    background: #f0f0f0;
}

.map-controls button.active {
    background: #1b87e0;
    color: white;
    border-color: #1b87e0;
}

/* 정류소 위치안내 화면 */
/* 탭 버튼 컨테이너 */
.stops-tab-wrapper {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid #4a9cc7; /* 하단 라인 고정 */
    background-color: transparent;
}

/* 개별 탭 버튼 기본 스타일 */
.stops-tab {
    padding: 10px 10px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid #ddd;
    border-bottom: none;
    background-color: #f1f1f1;
    color: #666;
    margin-right: 2px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    outline: none;
    transition: all 0.2s ease;
}

/* 활성화된 탭 스타일 (중요: !important를 사용하여 프로젝트 기본값 덮어쓰기) */
.stops-tab.active {
    background-color: #4a9cc7 !important;
    color: white !important;
    border-color: #4a9cc7 !important;
}

/* 검색 패널 */
.stops-search-panel {
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-top: none;
    margin-bottom: 15px;
}

/* 검색 공통 입력창 스타일 */
.stops-search-panel select, 
.stops-search-panel input {
    height: 34px;
    padding: 0 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    vertical-align: middle;
}

/* 검색 버튼 */
.search-submit-btn {
    height: 34px;
    width: 40px;
    background-color: #4a9cc7;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}
