/* GIS 레이어 패널 CSS */

/* 숨김 클래스 */
.hidden {
	display: none;
}

/* GIS 좌측 레이어 컨테이너 */
.gis-layer-container {
	position: absolute;
	left: 10px;
	top: 25px;
	width: 100px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	z-index: 100;
}

/* 개별 레이어 버튼 */
.gis-layer-box {
	width: 65px;
	height: 65px;
	background-color: rgba(255, 255, 255, 0.95);
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	cursor: pointer;
	transition: all 0.3s ease;
	border: 1px solid rgba(0, 0, 0, 0.1);
	font-size: 11px;
	font-weight: 700;
	color: #0e2a45;
	text-align: center;
	box-sizing: border-box;
	font-family: 'Segoe UI', 'Apple SD Gothic Neo', sans-serif;
	padding: 5px;
	line-height: 1.3;
	letter-spacing: -0.5px;
	gap: 4px;
}

/* 레이어 아이콘 이미지 */
.gis-layer-icon {
	width: 35px;
	height: 32px;
	object-fit: contain;
}

/* 레이어 박스 텍스트 스타일 */
.gis-layer-box span {
	display: block;
	word-break: keep-all;
	font-weight: 700;
	font-size: 11px;
}

/* 영문 모드 */
.lang-en .gis-layer-box span {
	font-size: 10px;
}

.gis-layer-box.active {
	background-color: #446eff;
	color: #ffffff;
}

.gis-layer-box:not(.active):hover {
	transform: translateX(3px);
}

.gis-detail-box:not(.active):hover {
	transform: translateX(-3px);
}

.gis-layer-box.active span {
	color: #ffffff;
	font-weight: 700;
}

/* ===== GIS 우측 상세정보 컨트롤 버튼 ===== */
.gis-detail-container {
	position: absolute;
	right: 10px;
	top: 25px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	z-index: 100;
	transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

body.detail-panel-open .gis-detail-container {
	right: calc(10px + 270px + 10px);
}

/* 우측 상세정보 박스 */
.gis-detail-box {
	width: 65px;
	height: 65px;
	background-color: rgba(255, 255, 255, 0.95);
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	cursor: pointer;
	transition: all 0.3s ease;
	border: 1px solid rgba(0, 0, 0, 0.1);
	font-size: 11px;
	font-weight: 700;
	color: #0e2a45;
	text-align: center;
	box-sizing: border-box;
	font-family: 'Segoe UI', 'Apple SD Gothic Neo', sans-serif;
	padding: 5px;
	line-height: 1.3;
	letter-spacing: -0.5px;
	gap: 4px;
}

.gis-detail-box span {
	display: block;
	word-break: keep-all;
	font-weight: 700;
	font-size: 11px;
}

.gis-detail-box.active {
	background-color: #446eff;
	color: #ffffff;
}

.gis-detail-box.active span {
	color: #ffffff;
	font-weight: 700;
}

/* 레이어 패널 컨테이너 */
.gis-layer-panel {
	position: absolute;
	left: -305px;
	top: 62px;
	width: 300px;
	height: 500px;
	max-height: calc(100vh - 120px);
	background-color: rgba(255, 255, 255, 0.98);
	border-radius: 10px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
	display: flex;
	flex-direction: column;
	z-index: 9999;
	border: 1px solid rgba(0, 0, 0, 0.1);
	overflow: hidden;
	transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.gis-layer-panel.active {
	left: 90px;
}


/* 레이어 패널 헤더 */
.gis-layer-panel-header {
	padding: 15px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.gis-layer-panel-title {
	font-size: 18px;
	font-weight: 700;
	color: #0e2a45;
	white-space: nowrap;
	margin: 0;
	padding-right: 0;
	flex: 1;
	line-height: 1.2;
}

.gis-layer-panel-toolbar {
	display: flex;
	flex-direction: row;
	align-items: center;
	flex: 0 0 auto;
	margin-right: 2px;
}

.gis-layer-panel-manage, .gis-layer-panel-refresh,
	.gis-layer-panel-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	margin: 0;
	background: #fff;
	border: 1px solid #d9d9d9;
	color: #666;
	cursor: pointer;
	text-decoration: none;
	box-sizing: border-box;
	line-height: 1;
}

.gis-layer-panel-manage {
	outline: none !important;
	box-shadow: none !important;
	border: 1px solid #d9d9d9 !important;
	text-decoration: none !important;
	color: #666 !important;
	background: #fff !important;
}

.gis-layer-panel-manage:hover {
	background: #f5f5f5 !important;
	border-color: #cfcfcf !important;
	color: #444 !important;
}

.gis-layer-panel-manage:hover i {
	color: #444 !important;
}
.gis-layer-panel-manage i {
	font-size: 15px;
	line-height: 1;
	color: #666;
}

.gis-layer-panel-refresh, .gis-layer-panel-close {
	font-size: 18px;
}

/* 기지 선택 토글 컨테이너 */
.facility-toggle-container {
	display: flex;
	padding: 10px 15px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	margin-bottom: -20px;
	margin-top: -20px;
	z-index: 1;
}

/* 기지 토글 버튼 */
.facility-toggle-btn {
	flex: 1;
	padding: 8px 12px;
	border: 1px solid #ddd;
	background-color: #ffffff;
	color: #555;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	border-radius: 4px;
	transition: all 0.2s ease;
	outline: none;
}

/* 활성화된 토글 버튼 */
.facility-toggle-btn.active {
	background-color: #446eff;
	color: #ffffff;
	border-color: #446eff;
}

/* 레이어 패널 콘텐츠 */
.gis-layer-panel-content {
	flex: 1;
	overflow-y: auto;
	padding: 10px 0;
}

/* 1단계 그룹 */
.layer-group {
	padding: 10px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.layer-group:last-child {
	border-bottom: none;
}

/* 1단계 그룹 제목 */
.layer-group-title {
	padding: 8px 15px;
	font-size: 15px;
	font-weight: 500;
	color: #0e2a45;
	cursor: default;
	user-select: none;
}

/* 2단계 레이어 아이템 */
.layer-item-2depth {
	padding: 7px 23px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: #0e2a45;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.layer-item-2depth:hover {
	background-color: rgba(0, 102, 204, 0.05);
}

/* 2단계 펼침/접힘 화살표 */
.layer-toggle-arrow {
	display: inline-block;
	width: 12px;
	height: 12px;
	font-size: 10px;
	color: #666;
	transition: transform 0.2s ease;
	flex-shrink: 0;
	text-align: center;
	line-height: 12px;
}

.layer-toggle-arrow.expanded {
	transform: rotate(90deg);
}

/* 펼침 가능한 2단계 레이어 (자식 있을때) */
.layer-item-2depth.layer-expandable {
	cursor: pointer;
}

.layer-item-2depth.layer-expandable:hover .layer-toggle-arrow {
	color: #0066cc;
}

/* 레이어 체크박스 */
.layer-checkbox {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
	margin: 0;
	padding: 0;
	border: 1px solid #999;
	border-radius: 2px;
	background-color: #ffffff;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 14px;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	outline: none;
	box-shadow: none;
	position: relative;
	vertical-align: middle;
}

/* 체크박스 체크 상태 */
.layer-checkbox:checked, .layer-checkbox.checked-state {
	background-color: #0066cc;
	border-color: #0066cc;
}

/* 레이어 라벨  */
.layer-label {
	cursor: pointer;
	font-size: 15px;
	font-weight: 400;
	user-select: none;
	margin: 0;
	padding: 0;
	color: #0e2a45;
	transition: color 0.2s ease;
	word-break: break-word;
	line-height: 1.3;
}

.layer-label:hover {
	color: #0066cc;
}

/* 레이어 라벨 컨테이너 */
.layer-label-container {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 6px;
}

/* 레이어 개수 배지 */
.layer-count-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 15px;
	padding: 0 6px;
	background-color: #0066cc;
	color: #ffffff;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 700;
	flex-shrink: 0;
	user-select: none;
}

/* 3단계 레이어 컨테이너 */
.layer-item-3depth {
	background-color: #fafbfc;
	border-left: 3px solid #0066cc;
	padding: 0;
	overflow: hidden;
	max-height: 0;
	opacity: 1;
	transition: max-height 0.2s ease-out, opacity 0.25s ease-out, padding
		0.3s ease-out;
}

.layer-item-3depth.expanded {
	max-height: 500px;
	opacity: 1;
	transition: max-height 0.4s ease-in, opacity 0.3s ease-in;
}

/* 3단계 레이어 아이템 */
.layer-item-sub {
	padding: 6px 15px 6px 35px;
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 12px;
	color: #555;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.layer-item-sub:hover {
	background-color: rgba(0, 102, 204, 0.08);
}

/* 3단계 체크박스 */
.layer-item-sub .layer-checkbox {
	width: 12px;
	height: 12px;
	background-size: 12px;
}

/* 3단계 레이어 라벨  */
.layer-sub-label {
	cursor: pointer;
	font-weight: 400;
	font-size: 13px;
	user-select: none;
	margin: 0;
	padding: 0;
	color: #555;
	transition: color 0.2s ease;
	word-break: break-word;
	line-height: 1.3;
}

.layer-sub-label:hover {
	color: #0066cc;
}

.layer-color-bar {
	display: inline-block;
	visibility: hidden;
	width: 20px;
	height: 3px;
	border-radius: 1px;
	margin-left: 6px;
	flex-shrink: 0;
}

.layer-color-bar.visible {
	visibility: visible;
}

.layer-color-circle {
	display: inline-block;
	visibility: hidden;
	width: 9px;
	height: 9px;
	margin-left: 3px;
	border-radius: 50%;
	flex-shrink: 0;
}

.layer-color-circle.visible {
	visibility: visible;
}

/* ===== 레이어 선택 버튼 ===== */
.layer-select-btn {
	display: inline-block;
	visibility: hidden;
	padding: 2px 8px;
	font-size: 10px;
	font-weight: 600;
	background-color: #e0e0e0;
	color: #999;
	border: 1px solid #ccc;
	border-radius: 3px;
	cursor: not-allowed;
	margin-left: auto;
	flex-shrink: 0;
}

.layer-select-btn.visible {
	visibility: visible;
}

.layer-select-btn:not(:disabled) {
	background-color: #f0f0f0;
	color: #555;
	border-color: #bbb;
	cursor: pointer;
}

.layer-select-btn:not(:disabled):hover {
	background-color: #e8e8e8;
	border-color: #999;
}

.layer-select-btn.active {
	background-color: #446eff !important;
	color: #ffffff !important;
	border-color: #446eff !important;
	cursor: pointer !important;
}

/* ===== 레이어 상세정보 아이콘 버튼 ===== */
.layer-info-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	visibility: hidden;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background-color: gray;;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	font-style: italic;
	font-family: Georgia, 'Times New Roman', serif;
	text-align: center;
	line-height: 18px;
	cursor: pointer;
	margin-left: auto;
	flex-shrink: 0;
	border: none;
	padding: 0;
}

.layer-info-btn.active {
	background-color: #446eff;
	box-shadow: 0 0 0 2px rgba(68, 110, 255, 0.3);
}

.layer-info-btn.visible {
	visibility: visible;
}

/* ===== 표층퇴적물 상세정보 모달 ===== */
.sediment-info-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 9999;
	display: none;
}

.sediment-info-modal-overlay.active {
	display: block;
}

.sediment-info-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: none;
	width: 320px;
	z-index: 10000;
	overflow: hidden;
}

.sediment-info-modal.active {
	display: block;
}

.sediment-info-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 12px;
	background-color: #212f3c;
}

.sediment-info-modal-title {
	font-size: 20px;
	font-weight: 600;
	color: #ffffff;
}

.sediment-info-modal-close {
	background: none;
	border: none;
	font-size: 18px;
	color: #ffffff;
	cursor: pointer;
	padding: 0;
	width: 24px;
	height: 24px;
	line-height: 24px;
	text-align: center;
	transition: opacity 0.2s ease;
}

.sediment-info-modal-close:hover {
	opacity: 0.7;
}

.sediment-info-modal-content {
	background-color: #ffffff;
	padding: 12px;
}

.sediment-info-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 12px;
}

.sediment-info-table th, .sediment-info-table td {
	padding: 8px 10px;
	text-align: left;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.sediment-info-table th {
	width: 35%;
	font-size: 15px;
	font-weight: 600;
	color: #0e2a45;
	background-color: #f8f9fa;
}

.sediment-info-table td {
	color: #000000;
	font-weight: 400;
	font-size: 15px;
}

.sediment-info-table tr:last-child th, .sediment-info-table tr:last-child td
	{
	border-bottom: none;
	vertical-align: middle;
}

/* ===== 상세정보 패널  ===== */

/* 상세정보 패널 컨테이너 */
.gis-detail-panel {
	position: absolute;
	right: -370px;
	top: 25px;
	width: 280px;
	height: 548px;
	max-height: calc(100vh - 120px);
	display: flex;
	flex-direction: column;
	z-index: 160;
	overflow: hidden;
	transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.gis-detail-panel.active {
	right: 0;
}

/* 상세정보 패널 헤더 */
.gis-detail-panel-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #212f3c;
	height: 35px;
}

/* 상세정보 패널 제목 */
.gis-detail-panel-title {
	font-size: 18px;
	font-weight: 400;
	color: white;
	margin-left: 5px;
}

/* 상세정보 패널 닫기 버튼 */
.gis-detail-panel-close {
	background: none;
	border: none;
	font-size: 20px;
	color: white;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	transition: color 0.2s ease;
}

/* 상세정보 패널 콘텐츠 */
.gis-detail-panel-content {
	flex: 1;
	overflow-y: auto;
	padding: 15px;
	color: #333;
	font-size: 13px;
	margin-bottom: 5px;
	line-height: 1.2;
	background-color: white;
}

.gis-detail-panel-content p {
	font-size: 13px;
	font-weight: 600;
	color: #0e2a45;
	margin-bottom: -9px;
}

/* 상세정보 패널*/
.gis-detail-panel-content {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
		Oxygen, Ubuntu, Cantarell, sans-serif;
	font-weight: 400;
}

.gis-detail-panel-content>*:not(hr):not(p) {
	font-size: 12px;
	color: #555;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 60px;
	object-fit: contain;
	line-height: 1.8;
}

.gis-detail-panel-content hr {
	border: none;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	padding: 0;
}

.gis-detail-panel-content br {
	display: block;
	content: "";
	margin: 8px 0;
}

/* ===== 단기조석 차트 모달 ===== */
.tide-chart-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: none;
	width: 905px;
	max-width: 90vw;
	z-index: 10000;
	overflow: hidden;
	border: 1px solid rgba(0, 0, 0, 0.1);
}

.tide-chart-modal.active {
	display: block;
}

.tide-chart-modal-content {
	padding: 10px;
	height: 350px;
	background-color: #ffffff;
}

.tide-chart-container {
	position: relative;
	width: 100%;
	height: 100%;
	margin-left: -13px;
}

.tide-yaxis-label {
	position: absolute;
	left: 5px;
	top: 50%;
	transform: translateY(-50%) rotate(-90deg);
	font-size: 12px;
	color: #666;
	font-weight: normal;
	white-space: nowrap;
	z-index: 1;
}

.tide-chart-container canvas {
	width: 97% !important;
	height: 100% !important;
	margin-left: 29px;
}

.tide-chart-header {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin-bottom: 5px;
}

.tide-chart-period {
	font-size: 13px;
	color: #555;
	font-weight: 500;
}

/* ===== 단기조류 차트 모달 ===== */
.tidal-current-chart-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: none;
	width: 900px;
	max-width: 95vw;
	z-index: 10000;
	overflow: hidden;
}

.tidal-current-chart-modal.active {
	display: block;
}

.tidal-current-chart-top {
	padding: 12px 15px;
	background-color: #ffffff;
}

.tidal-info-table {
	border-collapse: collapse;
}

.tidal-info-item {
	padding-right: 25px;
	white-space: nowrap;
	height: 32px;
}

.tidal-bullet {
	display: inline-block;
	width: 6px;
	height: 6px;
	background-color: #446eff;
	border-radius: 50%;
	vertical-align: middle;
	margin-right: 8px;
}

/* 라벨 */
.tidal-label {
	font-size: 13px;
	font-weight: 600;
	color: #0e2a45;
	vertical-align: middle;
	margin-right: 8px;
}

/* 값 */
.tidal-value {
	font-size: 15px;
	font-weight: 400;
	color: #333;
	vertical-align: middle;
}

.tidal-depth-select {
	padding: 5px 10px;
	font-size: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background-color: #ffffff;
	color: #333;
	cursor: pointer;
	outline: none;
	vertical-align: middle;
	height: 28px;
}

.tidal-depth-select:focus {
	border-color: #446eff;
}

/* 조회 버튼 */
.tidal-search-btn {
	padding: 0 15px;
	font-size: 12px;
	font-weight: bold;
	background-color: #5e666f;
	color: #ffffff;
	border: none;
	border-radius: 3px;
	cursor: pointer;
	transition: all 0.2s ease;
	vertical-align: middle;
	height: 28px;
	line-height: 28px;
	margin-left: 8px;
}

.tidal-search-btn:hover {
	background-color: #333c4b;
}

.tidal-search-btn i {
	font-size: 11px;
	margin-right: 3px;
	vertical-align: middle;
}

.tidal-current-chart-content {
	display: flex;
	padding: 0;
	height: 300px;
	background-color: #ffffff;
	overflow: visible;
	position: relative;
}

/* 좌측 Y축 (고정) */
.tidal-yaxis-left-fixed {
	flex-shrink: 0;
	width: 60px;
	height: 300px;
	background-color: #ffffff;
	z-index: 5;
	position: relative;
}

.tidal-yaxis-left-fixed canvas {
	display: block;
}

/* 우측 Y축 (고정) */
.tidal-yaxis-right-fixed {
	flex-shrink: 0;
	width: 60px;
	height: 300px;
	background-color: #ffffff;
	z-index: 5;
	position: relative;
}

.tidal-yaxis-right-fixed canvas {
	display: block;
}

/* 스크롤 가능한 차트 영역 */
.tidal-current-chart-scroll {
	flex: 1;
	overflow-x: auto;
	overflow-y: hidden;
	height: 300px;
	position: relative;
	z-index: 10;
}

.tidal-current-chart-wrapper {
	height: 300px;
	min-width: 100%;
	position: relative;
}

.tidal-chart-legend-area {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 25px;
	padding: 8px 15px;
	margin-top: 4px;
	background-color: #ffffff;
}

.tidal-chart-legend-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: #666;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.tidal-chart-legend-item:hover {
	opacity: 0.8;
}

.tidal-chart-legend-item.disabled {
	opacity: 0.4;
	text-decoration: line-through;
}

.tidal-chart-legend-item.disabled .tidal-chart-legend-color {
	background-color: #ccc !important;
}

.tidal-chart-legend-color {
	width: 35px;
	height: 12px;
}

.tidal-current-chart-content canvas {
	display: block;
}

.tide-chart-top {
	padding: 12px 15px;
	background-color: #ffffff;
	margin-bottom: -35px;
}

.tide-info-table {
	border-collapse: collapse;
	width: 100%;
}

.tide-date-item {
	text-align: right;
}

.tide-bullet {
	display: inline-block;
	width: 6px;
	height: 6px;
	background-color: #446eff;
	border-radius: 50%;
	vertical-align: middle;
	margin-right: 8px;
}

.tide-label {
	font-size: 13px;
	font-weight: 600;
	color: #0e2a45;
	vertical-align: middle;
	margin-right: 8px;
}

.tide-value {
	font-size: 15px;
	font-weight: 400;
	color: #333;
	vertical-align: middle;
}

/* 단기조석 - 900px 이하 */
@media ( max-width : 900px) {
	.tide-chart-top {
		margin-bottom: 0;
	}
	.tide-date-item {
		text-align: center;
	}
	.tide-chart-container canvas {
		height: 90% !important;
	}
}

/* 모바일 */
@media ( max-width : 480px) {
	.layer-label {
		font-size: 13px;
	}
	.layer-sub-label {
		font-size: 11px;
	}
	.gis-layer-box {
		width: 50px;
		height: 50px;
	}
	.gis-layer-box span {
		font-size: 9px;
	}
	.gis-detail-box span {
		font-size: 9px;
	}
	.gis-layer-icon {
		width: 24px;
		height: 24px;
	}
	.gis-detail-box {
		width: 50px;
		height: 50px;
		font-size: 9px;
	}
	.gis-detail-box .gis-layer-icon {
		width: 24px;
		height: 24px;
	}
	.gis-layer-panel.active {
		left: 65px;
		width: 260px;
	}
	body.detail-panel-open .gis-detail-container {
		right: 10px;
	}
	.gis-layer-panel {
		width: 250px;
	}

	/* 단기조석 차트 모달 - 모바일 */
	.tide-chart-modal {
		width: 95% !important;
		max-width: none !important;
		max-height: 90vh !important;
	}
	.tide-chart-modal-content {
		padding: 10px;
		padding-bottom: 35px;
		height: 230px;
	}
	.tide-chart-top {
		padding: 8px 10px;
		margin-bottom: 0;
	}
	.tide-info-table {
		font-size: 11px;
	}
	.tide-label {
		font-size: 11px;
		margin-right: 4px;
	}
	.tide-value {
		font-size: 12px;
	}
	.tide-bullet {
		width: 5px;
		height: 5px;
		margin-right: 5px;
	}

	/* 단기조류 차트 모달 - 모바일 */
	.tidal-current-chart-modal {
		width: 95% !important;
		max-width: none !important;
		max-height: 90vh !important;
	}
	.tidal-current-chart-top {
		padding: 8px 10px;
	}
	.tidal-info-table {
		width: 100%;
	}
	.tidal-info-item {
		display: block;
		padding-right: 0;
		height: auto;
		padding: 3px 0;
		white-space: normal;
	}
	.tidal-label {
		font-size: 11px;
		margin-right: 4px;
	}
	.tidal-value {
		font-size: 12px;
	}
	.tidal-bullet {
		width: 5px;
		height: 5px;
		margin-right: 5px;
	}
	.tidal-depth-select {
		font-size: 11px;
		padding: 3px 6px;
		height: 24px;
	}
	.tidal-search-btn {
		font-size: 11px;
		padding: 0 10px;
		height: 24px;
		line-height: 24px;
		margin-left: 5px;
	}
	.tidal-current-chart-content {
		height: 220px;
	}
	.tidal-yaxis-left-fixed, .tidal-yaxis-right-fixed {
		width: 47px;
		height: 220px;
	}
	.tidal-yaxis-left-fixed {
		padding-left: 5px;
	}
	.tidal-yaxis-right-fixed {
		padding-right: 5px;
	}
	.tidal-current-chart-scroll {
		height: 220px;
	}
	.tidal-current-chart-wrapper {
		height: 220px;
	}
	.tidal-chart-legend-area {
		flex-wrap: wrap;
		gap: 10px;
		padding: 6px 10px;
	}
	.tidal-chart-legend-item {
		font-size: 10px;
		gap: 5px;
	}
	.tidal-chart-legend-color {
		width: 25px;
		height: 10px;
	}
}

/* ===== 남극시설 상세정보 모달 ===== */
.facilities-info-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: none;
	width: 700px;
	max-height: 80vh;
	z-index: 10000;
	overflow: hidden;
}

.facilities-info-modal.active {
	display: block;
}

.facilities-modal-scroll {
	max-height: calc(80vh - 50px);
	overflow-y: auto;
}

.facilities-modal-scroll::-webkit-scrollbar {
	width: 6px;
}

.facilities-modal-scroll::-webkit-scrollbar-track {
	background: #f1f1f1;
}

.facilities-modal-scroll::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 3px;
}

.facilities-modal-scroll::-webkit-scrollbar-thumb:hover {
	background: #555;
}

/* 2열 레이아웃 */
.facilities-two-column {
	display: flex;
	gap: 10px;
}

.facilities-table-half {
	flex: 1;
	min-width: 0;
}

.facilities-table-half th {
	width: 45%;
	font-size: 14px !important;
}

.facilities-table-half td {
	font-size: 14px !important;
}

/* ===== 장보고과학기지 모달 ===== */
.jangbogo-station-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: none;
	width: 400px;
	z-index: 10000;
	overflow: hidden;
	background-color: #ffffff;
}

.jangbogo-station-modal.active {
	display: block;
}

.jangbogo-content-wrapper {
	padding: 0;
}

.jangbogo-image-section {
	position: relative;
	width: 100%;
}

.jangbogo-image {
	width: 100%;
	height: auto;
	display: block;
}

.jangbogo-image-caption {
	position: absolute;
	bottom: 8px;
	left: 8px;
	background-color: rgba(0, 0, 0, 0.6);
	color: #ffffff;
	padding: 4px 10px;
	font-size: 12px;
	border-radius: 3px;
}

.jangbogo-info-table {
	width: 100%;
}

.jangbogo-info-table th {
	width: 40%;
}

/* 장보고기지 모달 스크롤 */
.jangbogo-modal-scroll {
	max-height: calc(80vh - 50px);
	overflow-y: auto;
}

.jangbogo-modal-scroll::-webkit-scrollbar {
	width: 6px;
}

.jangbogo-modal-scroll::-webkit-scrollbar-track {
	background: #f1f1f1;
}

.jangbogo-modal-scroll::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 3px;
}

.jangbogo-modal-scroll::-webkit-scrollbar-thumb:hover {
	background: #555;
}

/* 세종접안 모달 */
#sejongDockVideoModal {
	width: min(1000px, 94vw);
	max-height: 88vh;
}

/* 세종접안 모달 테이블 및 비디오 */
#sejongDockVideoModal .sediment-info-table th {
	width: 90px;
}

#sejongDockVideoModal .sediment-info-table th, #sejongDockVideoModal .sediment-info-table td
	{
	padding: 10px 12px;
	font-size: 15px;
}

#sejongDockVideoPlayer {
	height: min(62vh, 640px);
}

/* ===== 모바일 반응형: 남극시설, 세종과학기지, 장보고기지 모달 ===== */
@media ( max-width : 480px) {
	/* 남극시설 상세정보 모달 */
	.facilities-info-modal {
		width: 95% !important;
		max-width: none !important;
		max-height: 85vh !important;
		left: 50% !important;
		top: 50% !important;
		transform: translate(-50%, -50%) !important;
	}
	.facilities-modal-scroll {
		max-height: calc(85vh - 50px);
	}
	.facilities-two-column {
		flex-direction: column;
		gap: 0;
	}
	.facilities-table-half {
		width: 100%;
		flex: none;
	}
	.facilities-table-half th, .facilities-table-half td {
		font-size: 12px !important;
		padding: 8px 10px !important;
	}
	.facilities-table-half th {
		width: 40% !important;
	}

	/* 장보고과학기지 모달 */
	.jangbogo-station-modal {
		width: 95% !important;
		max-width: none !important;
		max-height: 85vh !important;
		left: 50% !important;
		top: 50% !important;
		transform: translate(-50%, -50%) !important;
	}
	.jangbogo-modal-scroll {
		max-height: calc(85vh - 50px);
		overflow-y: auto;
	}
	.jangbogo-image {
		max-height: 200px;
		object-fit: cover;
	}
	.jangbogo-image-caption {
		font-size: 10px;
		padding: 3px 8px;
	}
	.jangbogo-info-table th, .jangbogo-info-table td {
		font-size: 12px !important;
		padding: 8px 10px !important;
	}
	.jangbogo-info-table th {
		width: 35% !important;
	}

	/* 세종접안 영상 모달 */
	#sejongDockVideoModal {
		width: 95% !important;
		max-width: none !important;
		max-height: 85vh !important;
		left: 50% !important;
		top: 50% !important;
		transform: translate(-50%, -50%) !important;
	}
	#sejongDockVideoModal .sediment-info-modal-content {
		max-height: calc(85vh - 50px);
		overflow-y: auto;
	}
	#sejongDockVideoPlayer {
		height: 35vh !important;
		max-height: 320px !important;
	}
	.gis-layer-panel-header {
		padding: 14px;
	}
	.gis-layer-panel-title {
		font-size: 15px;
	}
	.gis-layer-panel-toolbar {
		margin-left: 6px;
	}
	.gis-layer-panel-manage, .gis-layer-panel-refresh,
		.gis-layer-panel-close {
		width: 24px;
		height: 24px;
	}
	.gis-layer-panel-manage i {
		font-size: 13px;
	}
	.gis-layer-panel-refresh, .gis-layer-panel-close {
		font-size: 15px;
	}
}

@media ( max-width : 768px) and (min-width: 481px) {
	/* 남극시설 상세정보 모달 */
	.facilities-info-modal {
		width: 90% !important;
		max-width: none !important;
		max-height: 85vh !important;
	}
	.facilities-two-column {
		flex-direction: column;
		gap: 5px;
	}
	.facilities-table-half {
		width: 100%;
	}
	.facilities-table-half th, .facilities-table-half td {
		font-size: 13px !important;
	}

	/* 장보고과학기지 모달 */
	.jangbogo-station-modal {
		width: 85% !important;
		max-width: none !important;
	}
	.jangbogo-image {
		max-height: 250px;
		object-fit: cover;
	}

	/* 세종접안 영상 모달 */
	#sejongDockVideoModal {
		width: 90% !important;
		max-width: none !important;
		max-height: 85vh !important;
	}
	#sejongDockVideoModal .sediment-info-modal-content {
		max-height: calc(85vh - 50px);
		overflow-y: auto;
	}
	#sejongDockVideoPlayer {
		height: 45vh !important;
		max-height: 480px !important;
	}
}