@keyframes blinking {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.blinking-text {
	animation: blinking 1s infinite;
}
.scrolling-text-container {				
	padding: 10px;				
	margin-bottom: 2px;
	position: relative;
	overflow: hidden;
	height: 100%;
	display: flex;
	align-items: center;
}
.scrolling-text {
	white-space: nowrap;
	animation: scroll-left 40s linear infinite;
	animation-timing-function: linear;
}
@keyframes scroll-left {
	0% {
		transform: translateX(0%);
	}
	12.5% {
		transform: translateX(0%);
	}
	100% {
		transform: translateX(-100%);
	}
}
.paused {
	animation-play-state: paused;
}
.control-icons {
	display: flex;
	align-items: center;				
	margin-left: auto;
}			
.control-icons button {
	background: none;
	border: none;
	color: #6e0077;
	cursor: pointer;
	margin-left: 10px;
	padding: 0;
}
.no-padding {
	padding: 0;
}
/* Map Area */
#map {
	width: 100%; 
	height: 70vh;
}

/* Central circular handle knob */
#swipeHandle::after, #swipe-handle::after {
	content: '↔';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 34px;
	height: 34px;
	background-color: #ffffff;
	border: 2px solid #146fb7;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	color: #146fb7;
	font-size: 16px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	user-select: none;
	-webkit-user-select: none;
}

#swipeHandle:hover::after, #swipe-handle:hover::after {
	background-color: #146fb7;
	color: #ffffff;
	border-color: #ffffff;
}


/* navigation buttons styling */
.nav-list {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-button {
  background: transparent;
  border: none;
  color: black;
  display: flex;
  padding: 1rem 2rem;
  position: relative;
  text-decoration: none;
  font-weight: bold;
  transition: background-color .2s, border-color .2s;
  padding-top: 100px;
}

  
.nav-button:visited {
	color: inherit;
}

.nav-button:not(.active-state):not(.highlighted-state).active,
.nav-button:not(.active-state):not(.highlighted-state).active-click {
	background-color: #def1ff;
	font-weight: 700;
}
.nav-button:hover {
	background-color: #def1ff;
   color: #00367a;
	text-decoration: underline;
}
.nav-button:hover .icon {
	fill: #00367a;
}
.nav-button--full-width {
   width: 100%;
}

.text-content * {
	box-sizing: border-box;
	outline: none;
}
.text-content {
	font-family: Noto Sans, Verdana, Arial, sans-serif;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: .02rem;
	line-height: 1.5rem;
	margin-bottom: 0;
	margin-top: 0;
}
.text-content a {
	color: #00367a;
	text-decoration: underline;
}
.text-content a:hover,
.text-content a:visited {
	color: #00367a;
}
.nav-container {
	display: flex;
	justify-content: flex-end;
}
.nav-menu {
	display: flex;
}
.nav-item {
	list-style: none;
}
.icon {
	margin-right: 10px;
	fill: black;
	transition: fill 0.2s ease;
}
.nav-button:hover {
	background-color: #def1ff;
	text-decoration: underline;
}
.nav-button:hover .icon {
	fill: #00367a;
}

/* --- SIDE PANEL TABS STYLING FIX --- */
#sidePanelTabs .nav-link {
  color: #146fb7 !important;
  background-color: transparent !important;
  border: 1px solid transparent !important;
  transition: all 0.2s ease-in-out;
}

/* Hover State: Blue background with white text */
#sidePanelTabs .nav-link:hover {
  background-color: #146fb7 !important;
  color: #ffffff !important;
  border-color: #146fb7 !important;
}

/* Active Tab State: Filled blue background with white text */
#sidePanelTabs .nav-link.active {
  background-color: #146fb7 !important;
  color: #ffffff !important;
  border-color: #146fb7 !important;
}

.accordion-button {
	font-size: 1.5rem;
}
.button-group {
	border: 1px solid #146fb7;
	background: white;
	border-radius: 2px;

	box-shadow: 0 4px 10px rgba(0, 0, 139, 0.5);	
}
button {
background: white;
border: none;
cursor: pointer;
border-radius: 0;
transition: background-color 0.3s ease, fill 0.3s ease, transform 0.2s ease;
display: flex;
align-items: center;
justify-content: center;
padding:10px;
}
button svg {
	transition: fill 0.3s ease;
	fill: #146fb7; 
}
button:hover{
	background-color:#146fb7;
}
button:hover svg{
	fill: white;
}
button:active,
button:focus {
  background-color: #146fb7;
}
button:active svg,
button:focus svg {
  fill: white;
}
button.active {
  background-color: #146fb7;
}
button.active svg {
  fill: white;
}
.button-group button:not(:last-child) {
	border-bottom: 1px solid #146fb7;
}
.dropdown-form {
	display: none;
	position: absolute;
	/*top: 53px;*/
	left: -285px;
	background-color: white;
	border: 1px solid #146fb7;
	padding: 12px;
	border-radius: 3px;
	box-shadow:0 4px 10px rgba(0, 0, 139, 0.5);
	z-index: 1000;
}
.dropdown-form label {
	display: block;
	margin-bottom: 8px;
	font-weight: bold;
}
.btn-secondary {
	background-color: white;
	color: #146fb7;
	border: 1px solid #146fb7;
	transition: background-color 0.3s, color 0.3s;
}
.btn-secondary:hover {
	background-color: rgba(20, 111, 183, 0.25);
	color: #146fb7;
}
.btn-secondary.active {
	background-color: #146fb7;
	color: white;
}

.dropdown2-form {
	display: none;
	position: absolute;
	left: -305px;
	background-color: white;
	border: 1px solid #146fb7;
	padding: 12px;
	border-radius: 3px;
	box-shadow:0 4px 10px rgba(0, 0, 139, 0.5);
	z-index: 1000;
	width: 300px;
}
.dropdown2-form label {
	font-weight: bold;
}

#LayerPanel label {
  color: #146fb7;
}
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 24px;
    width: 100%;
    height: 100%;
    transition: background-color 0.3s;
	top: 5px;
}
.slider::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s;
}
.toggle-switch input:checked + .slider {
    background-color: #146fb7;
}
.toggle-switch input:checked + .slider::before {
    transform: translateX(26px);
}

.custom-tabs {
    background-color: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-tabs .nav-link:hover {
    /*border-bottom-color: #0d6efd50;
    color: #0d6efd;*/
	border-bottom-color: #146fb750;
    color: #146fb7;
}

.custom-tabs .nav-link.active {
    border-bottom: 2px solid #146fb7;	
    color: #146fb7;
}

.custom-tabs button:hover {
    background-color: transparent; /* Or inherit, or initial, based on design */
}

.custom-tabs .tab-content {
    padding: 30px;
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.datepicker {
background-color: #ffffff;
color: #146fb7;
}

.datepicker td,th{
    text-align: center;
    padding: 5px 5px;
}

/* Override jQuery UI dialog close button for Bootstrap compatibility */
.ui-dialog .ui-dialog-titlebar-close {
  background: none !important;
  border: none;
  width: 24px;
  height: 24px;
  position: absolute;
  right: .5em;
  top: 50%;
  transform: translateY(-50%);
  color: black;
  font-size: 20px;
  line-height: 20px;
  text-align: center;
}

/* Hide the default jQuery UI icon */
.ui-dialog .ui-dialog-titlebar-close .ui-icon {
  display: none !important;
}

/* Add a visible “×” instead */
.ui-dialog .ui-dialog-titlebar-close::after {
  content: "×";
}
/*
#userMenuToggle {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  margin: 0;
  color: darkblue;
  cursor: pointer;
  position: relative;
  height: 100%;
}

#userMenuToggle svg,
#userMenuToggle span {
  vertical-align: middle;
  line-height: 1;
}*/

.dropdown-action-btn {
  display: block;
  width: 80%;
  color:  darkblue;
  padding: 6px 10px;
  border-radius: 2px;
  text-decoration: none;
  margin-bottom: 8px; /* space between buttons */
  transition: background-color 0.2s ease;
}

.dropdown-action-btn:hover {
  background-color: #e4e4e4; /* soft blue hover */
}
.date-range-wrapper {
  background-color: #f7f7fc;
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: inline-block;
  margin-top: 20px;
}

.date-range-container {
  display: flex;
  gap: 15px;
  align-items: flex-end;
}

.date-block {
  display: flex;
  flex-direction: column;
  font-family: 'Segoe UI', sans-serif;
  font-size: 14px;
}

.date-block label {
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}

.date-block input[type="date"] {
  padding: 6px 8px;
  width: 170px;
  border-radius: 5px;
  border: 1px solid #aaa;
}

.submit-block {
  display: flex;
  align-items: flex-end;
}

/* 🔁 Updated Button ID */
#submitDatesBtn {
  padding: 7px 50px;
  background: linear-gradient(to right, #00e7ff, #00ffcf);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s ease;
  padding-bottom: 10px;
  margin: 10px;
}

#submitDatesBtn:hover {
  background: linear-gradient(to right, #ff78eb, #d109ff);
}

.date-note {
  margin-top: 15px;
  font-size: 13px;
  color: #555;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fffbe6;
  border-left: 4px solid #ffc107;
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}



/* Add this at the bottom of your CSS file */
#myDownloadsPopup {
  position: fixed; /* Important: stays on top regardless of scroll */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6); /* semi-transparent dark overlay */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* SUPER HIGH so it’s above map/leaflet */
}

#myDownloadsPopup .popup-content {
  background: #fff;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  overflow-x: auto;
}


.close-btn {
  position: absolute;
  top: -5px;
  right: -10px;
  background: red;
  color: white;
  border: none;
  font-size: 22px;
  padding: 2px 8px;
  cursor: pointer;
}
.my-orders-btn {
  background: linear-gradient(145deg, #2c3e50, #34495e); 
  border: 2px solid gold;
  border-radius: 12px;
  padding: 10px 25px;
  font-size: 18px;
  font-weight: bold;
  font-family: 'Georgia', serif;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.my-orders-btn:hover {
  background: linear-gradient(145deg, #1f2b38, #273746);
  color: #fffacd; 
  border-color: #fffacd;
  transform: scale(1.05);
}
