/*main-product-2.css*/

.highcharts-data-table tr:nth-child(even),
.highcharts-data-table thead tr {
	background: #f8f8f8;
}
.highcharts-data-table{
	max-height: 800px;
	position: relative;
	overflow: auto;
}
.highcharts-data-table td,
.highcharts-data-table th {
	text-align: center;
	font-family: sans-serif;
	font-size: 10pt;
	border: 1px solid silver;
	padding: 0.5em;
}

.highcharts-data-table table {
	border-collapse: collapse;
	border-spacing: 0;
	background: white;
	min-width: 100%;
	margin-top: 10px;
    border: 1px solid;
    margin: 10px auto;
    width: 100%;
    max-width: 800px;
}

.highcharts-container {
    margin: 0 auto !important;
}

.highcharts-data-table tr:hover {
	background: #eff;
}

.maplegend2________ {
	margin: 0 auto;
	/* Center the table horizontally */
	display: inline-block;
	/* Ensure the table respects the centered text */
	/*border: '1px solid black';*/
}

.dynamic-arrow svg {
	display: block;
	width: 100%;
	height: 100%;
	/* filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.5)); */
	overflow: visible !important;
  stroke-width: 1px;
  stroke: black;
}


.copy-icon i {
	cursor: pointer;
}

.copy-icon i:hover {
	color: #146EBF;
	/*color: #6741D9;*/
}

/*.copy-icon i:hover::after {*/
/*	content: attr(title);*/
/*	position: absolute;*/
/*	background: #146EBF;*/
/*	color: #fff;*/
/*	padding: .5em 1em;*/
/*	border-radius: 3px;*/
/*	top: -80px;*/
	/*top: 0px;*/
/*	left: -10px;*/
/*	font-size: 14px;*/
/*	font-family: 'Arial', sans-serif;*/
	/* Added font family for consistent typography */
/*	white-space: nowrap;*/
	/* Prevent wrapping */
	/*z-index: 1000;*/
/*	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);*/
	/* Optional shadow for clarity */
/*	pointer-events: none;*/
	/* Prevent tooltip from blocking interaction */

	/* Text spacing adjustments */
/*	letter-spacing: 0.5px;*/
	/* Slightly increased space between letters */
/*	line-height: 1.4;*/
	/* Ensure proper vertical spacing between lines */
/*	word-spacing: 4px;*/
	/* Increase space between words */
/*	text-align: center;*/
	/* Center-align text inside the tooltip */
/*}*/

.copied-message {
	content: "Copied!";
	color: green;

}

.copyIcon {
	color: black;
}

.estPlot {
	background-color: white;
	/*max-width: 1000px;*/
}

.layerLegendDiv {
	/*border: 1px solid red;*/
}

a {
	color: #1763CF !important;
}

#search-results {
	max-height: 250px;
	overflow-y: auto;
	width: 100%;
}


#search-results li.active {
	background-color: #007bff;
	color: white;
}

/* Legend CSS */
.rsltLegend {
	max-width: none;
	/* No max width by default */
	margin: auto;
}

/* Case 1: Screen ≤ 800px */
@media (max-width: 800px) {
	.rsltLegend {
		max-width: 600px;
	}
}

/* Case 2: Screen between 1131px and 1567px */
@media (min-width: 1131px) and (max-width: 1567px) {
	.rsltLegend {
		max-width: 600px;
	}
}

/* Legend CSS - End */


/* Main Button Nav CSS */
.view-toggle-btn {
	background-color: #eeeeee;
	color: black;
	border: none;
	padding: 8px 20px;
	border-radius: 4px;
	font-weight: 500;
	position: relative;
	font-size: 18px;
	transition: background-color 0.2s, color 0.2s;
}

.view-toggle-btn.active {
	background-color: #4681c6;
	color: white;
}

.tooltip-icon {
	position: absolute;
	top: -20px;
	right: -20px;
	cursor: pointer;
	pointer-events: auto !important;
	
}
.tooltip-icon svg {
    pointer-events: none; 
}
/*Tab*/
.tab-view {
	display: none;
}

.tab-view.active {
	display: block;
}

.hide_hide {
	display: 'none';
}

/* Clear Icon inside the input field*/
.clear-button {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	font-size: 1.2rem;
	color: red;
	cursor: pointer;
	line-height: 1;
	z-index: 10;
}

.clear-button:hover {
	color: #000;
}

/* VLM Map styles */
#tab-regional {
	font-family: Arial, sans-serif;
	/*background-color: #f8f9fa;*/
	color: black;
}

#tab-regional h1,
#tab-regional h2 {
	color: #0056b3;
	text-align: center;
	margin-bottom: 25px;
	font-weight: 600;
}

.section-title {
	margin-top: 40px;
	margin-bottom: 20px;
	font-size: 1.8em;
	color: #495057;
	border-bottom: 2px solid #e9ecef;
	padding-bottom: 10px;
}

.chart-container.card,
.map-container.card {
	padding: 0px 15px;
}

.chart-container {
	width: 100%;
	height: 500px;
	margin-bottom: 0;
	display: none;

	min-width: 310px;
	border: 1px solid #ddd;
	background-color: white;
	position: relative;
}
#vlm-chart-container {
	height: 190px;
	margin: 30px auto 0px auto;
}
#slr-chart-container {
	height: 250px;
	margin: 0px auto 30px auto;
}

.map-container {
	height: 650px;
	position: relative;

}

.loading-message,
.error-message {
	text-align: center;
	font-size: 1.3em;
	color: #6c757d;
	padding: 60px;
	background-color: #e2e6ea;
	border-radius: 10px;
	margin-top: 30px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	width: 100%
}

.error-message {
	color: #dc3545;
	background-color: #f8d7da;
	border: 1px solid #f5c6cb;
}

.leaflet-container {
	border-radius: 8px;
}

.custom-legend {
	position: absolute;
	top: 10px;
	right: 10px;
	background: rgba(255, 255, 255, 0.9);
	padding: 10px;
	border-radius: 5px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
	z-index: 1000;
	display: flex;
	flex-direction: column;
	align-items: center;
	font-size: 0.9em;
	color: #333;
}

.custom-legend-bar-container {
	display: flex;
	width: 300px;
	height: 20px;
	border: 1px solid black;
	box-sizing: border-box;
}

.custom-legend-bar {
	flex-grow: 1;
	height: 100%;
}

.custom-legend-labels-top {
	display: flex;
	width: 300px;
	justify-content: space-between;
	font-weight: bold;
	margin-bottom: 2px;
	position: relative;
}

.custom-legend-label-top {
	text-align: center;
	position: absolute;
	transform: translateX(-50%);
	white-space: nowrap;
	font-size: 1.1em;
}

.custom-legend-label-top:nth-child(1) {
	left: 0%;
	transform: translateX(0%);
	text-align: left;
}

.custom-legend-label-top:nth-child(2) {
	left: calc(100% / 8 * 1);
}

.custom-legend-label-top:nth-child(3) {
	left: calc(100% / 8 * 2);
}

.custom-legend-label-top:nth-child(4) {
	left: calc(100% / 8 * 3);
}

.custom-legend-label-top:nth-child(5) {
	left: calc(100% / 8 * 4);
}

.custom-legend-label-top:nth-child(6) {
	left: calc(100% / 8 * 5);
}

.custom-legend-label-top:nth-child(7) {
	left: calc(100% / 8 * 6);
}

.custom-legend-label-top:nth-child(8) {
	left: calc(100% / 8 * 7);
}

.custom-legend-label-top:nth-child(9) {
	left: 100%;
	transform: translateX(-100%);
	text-align: right;
}

.custom-legend-title {
	margin-top: 5px;
	font-size: 1.1em;
	text-align: center;
}

.controls-container {
	text-align: center;
	margin-bottom: 30px;
	padding: 20px;
	background-color: #e9f5ff;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.controls-container label {
	font-size: 1.1em;
	color: #0056b3;
	margin-right: 10px;
}

.controls-container select {
	padding: 8px 12px;
	border-radius: 5px;
	border: 1px solid #0056b3;
	font-size: 1em;
	cursor: pointer;
	background-color: #ffffff;
}

.mapwrapper-container, .regionStationInfoContainer { transition: width .2s ease; }


/* Regional CSS */


.plotText ul, .region-summary ul, .plotTextDiv ul {
    padding-left: 50px !important;
}
.plotText li, .region-summary li, .plotTextDiv li {
    padding-left: 10px !important;
}

.region-summary h4 {
	padding: 20px 0px;
	text-align: center
}

.tooltip-inner {
	max-width: 500px !important
}




/* toggle switch CSS */
/* --- Base Toggle Switch CSS (Same as before) --- */
.switch-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  cursor: pointer;
  user-select: none;
  margin-bottom: 0px !important; /* override bootstrap label */
}

.switch-label input {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}

/* --- Common styles for all sizes of the slider track --- */
.toggle-slider {
  position: relative;
  background-color: #ccc;
  border-radius: 34px;
  transition: background-color 0.4s;
  flex-shrink: 0;
}

/* --- Common styles for the thumb on all sizes --- */
.toggle-slider::before {
  position: absolute;
  content: "";
  background-color: white;
  border-radius: 50%;
  transition: transform 0.4s;
}

/* --- State Change (applied to all sizes) --- */
input:checked + .toggle-slider {
  background-color: #2196F3;
}


/* --- MD - Medium (Original size) --- */
.toggle-md,
.toggle-slider {
  width: 50px;
  height: 28px;
}
.toggle-md::before,
.toggle-slider::before {
  width: 20px;
  height: 20px;
  left: 4px;
  bottom: 4px;
}
input:checked + .toggle-md::before,
input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

/* --- XXXS - Extra-Extra-Extra-Small --- */
.toggle-xxxs {
  width: 28px;
  height: 16px;
}
.toggle-xxxs::before {
  width: 10px;
  height: 10px;
  left: 3px;
  bottom: 3px;
}
input:checked + .toggle-xxxs::before {
  transform: translateX(12px);
}

/* --- XXS - Extra-Extra-Small --- */
.toggle-xxs {
  width: 32px;
  height: 18px;
}
.toggle-xxs::before {
  width: 12px;
  height: 12px;
  left: 3px;
  bottom: 3px;
}
input:checked + .toggle-xxs::before {
  transform: translateX(14px);
}

/* --- XS - Extra Small --- */
.toggle-xs {
  width: 36px;
  height: 20px;
}
.toggle-xs::before {
  width: 14px;
  height: 14px;
  left: 3px;
  bottom: 3px;
}
input:checked + .toggle-xs::before {
  transform: translateX(16px);
}

/* --- SM - Small --- */
.toggle-sm {
  width: 44px;
  height: 24px;
}
.toggle-sm::before {
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
}
input:checked + .toggle-sm::before {
  transform: translateX(20px);
}


/* --- LG - Large --- */
.toggle-lg {
  width: 60px;
  height: 34px;
}
.toggle-lg::before {
  width: 26px;
  height: 26px;
  left: 4px;
  bottom: 4px;
}
input:checked + .toggle-lg::before {
  transform: translateX(26px);
}

/* --- XL - Extra Large --- */
.toggle-xl {
  width: 70px;
  height: 40px;
}
.toggle-xl::before {
  width: 32px;
  height: 32px;
  left: 4px;
  bottom: 4px;
}
input:checked + .toggle-xl::before {
  transform: translateX(30px);
}
/* Meter or English toggle switch Ends*/


.customNav {
	background-color: #ffffff;
}