:root {
  --blue: #007bff;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #dc3545;
  --orange: #fd7e14;
  --yellow: #ffc107;
  --green: #28a745;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --gray: #818181;
  --gray-dark: #3c3c3c;
  --primary: #007bff;
  --secondary: #818181;
  --brand-blue: #007bff;
  --brand-white: #F9F9F9;
  --brand-white-hover: #F2F2F2;
  --brand-blue-dark: #06318C;
  --brand-blue-dark-variant: #425E91;
  --brand-blue-light: #66B2FF;
  --light-surface-1: #FFFFFF;
  --light-surface-2: #F6F6F6;
  --light-surface-3: #E9E9EA;
  --light-surface-outline: #B5B5B5; 
  --dark-surface-1: #242424;
  --dark-surface-2: #262626;
  --dark-surface-3: #2d2d2d;
  --dark-surface-outline: #656565;
  --on-light-surface: #DDDDDD;
  --on-dark-surface: #393939;
  --light-container: #E9E9E9;
  --dark-container: #303030;
  --bs-primary: #007bff; /*  Custom Orange */
  --bs-secondary: #4a90e2; /* Custom Blue */
  --bs-success: #28a745;   /* Default Green */
  --bs-danger: #dc3545;    /* Default Red */
  --bs-warning: #ffc107;   /* Default Yellow */
  --bs-info: #4a90e2;      /* Default Teal */
  --bs-light: #f8f9fa;     /* Default Light */
  --bs-dark: #343a40;      /* Default Dark */
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #3c3c3c;
  --transparent: #FFFFFF00;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --font-family-sans-serif: Exo 2; /* -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; */
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; 
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: hidden;
  width: 100vw;
}

/* 1️⃣ Ensure the entire date picker container matches Bootstrap button */
.DateRangePicker {
    background-color: var(--blue) !important; /* Bootstrap Primary Blue */
    border-radius: 5px;
    /* border: 1px solid var(--light-surface-outline) !important; Darker blue border */
    /* padding: 5px; */
}

/* 2️⃣ Fix the background behind text inputs */
.DateInput {
    background-color: var(--blue) !important; /* Match button */
    border-radius: 5px;
}

/* 3️⃣ Make sure individual date fields have the correct background */
.DateInput_input {
    background-color: var(--blue) !important; /* Match button */
    color: #ffffff !important; /* White text */
    border: none !important;
    border-radius: 5px;
    text-align: center;
}

/* 4️⃣ Remove the white background from behind the input fields */
.DateRangePickerInput {
    background-color: var(--blue) !important; /* Match button */
    border: 1px solid var(--brand-blue-light) !important; /* Darker blue border */
    border-radius: 5px;
}

/* 5️⃣ Ensure arrow background matches the theme */
.DateRangePickerInput_arrow {
    background-color: transparent !important; /* Remove white background */
    color: #ffffff !important; /* White arrows */
}

/* 6️⃣ Fix the calendar popup's background */
.DateRangePicker_picker {
    background-color: var(--blue) !important; /* Match button */
    border-radius: 5px;
}

/* 7️⃣ Fix calendar days text */
.DayPicker {
    background-color: var(--blue) !important; /* Fix white background */
}

/* 8️⃣ Change text color of selectable days */
.DayPicker-Day {
    color: #ffffff !important; /* White text */
}

/* 9️⃣ Style the selected date in the calendar */
.DayPicker-Day--selected, .DayPicker-Day--today {
    background-color: #ffc107 !important; /* Bootstrap Warning (Yellow) */
    color: #000000 !important; /* Ensure readability */
}

/* Change color of NavLink when active */
.nav-link.active {
    color: var(--primary) !important;  
    /* color: var(--secondary) !important;  Use Bootstrap's primary color */
    background-color: transparent !important; /* Remove background color */
}

/* Ensure icons inside the NavLink also change color */
/* .nav-link.active i { */
    /* color: var(--primary) !important; */
/* } */

/* Default icon color when inactive */
/* .nav-link i {
    color: inherit;
} */

/* .nav-link:hover {
    color: var(--primary) !important;
} */

/* .nav-link.active { */
    /* border: 1px solid var(--primary); */
/* } */

/* Default State - Neutral Grey */
.nav-item .nav-icon,
.nav-item .nav-text {
    color: var(--brand-white) !important;  
    transition: color 0.3s ease; /* Smooth color change */
}

/* Active State - White */
.nav-item.active .nav-icon,
.nav-item.active .nav-text {
    color: #ffffff !important;  /* White */
}

/* Hover Effect */
.nav-item:hover .nav-icon,
.nav-item:hover .nav-text {
    color: #ffffff !important;  /* White on hover */
}

/* Navbar Adjustments */
.nav-item {
    text-align: center !important;
    /* padding: 1rem 1rem !important; */
}

/* Default Link Style: Light White */
.custom-nav-link {
    color: rgba(255, 255, 255, 0.8) !important;  /* Light white */
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

/* Active Link: Fully White */
.custom-nav-link.active {
    color: var(--bs-white) !important;  /* Full white */
}

/* Hover Effect: Brighten on Hover */
.custom-nav-link:hover {
    color: var(--brand-blue-dark-variant) !important;  /* White on hover */
}

/* Default Button Style */
.bts-button {
    background: #007bffc0;  
    border: 2px solid rgba(0,123, 255, 0.95);
    /* background: var(--transparent); */ 
    /* background: var(--dark-surface-3);   */
    /* color: var(--brand-blue) !important;  /* Light white */
    color: var(--brand-white) !important;  /* Light white */

    /* padding: 0.5rem 1rem; */
    margin: 2px;
    /* border-radius: 4px; */
    border-color: var(--brand-blue) !important;  /* Light white */
    text-align: center;
    transition: all 0.3s ease;  /* Smooth transition */

    /* min-width: 60px;   */
    padding: 10px;
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    justify-content: center;
    text-align: center;
}

.iso-button{
    margin: 2px;
    border-radius: 4px;
    border-color: var(--white) !important;  /* Light white */
    text-align: center;
    transition: all 0.3s ease;  /* Smooth transition */
    /* min-width: 60px;   */
    padding: 10px;
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Hover Effect for the Entire Button */
.bts-button:hover {
    /* background: rgba(255, 255, 255, 0.1);  */
    /* background: var(--dark-surface-3);   */
    /* background: var(--brand-blue-dark-variant) !important;  Light white */
    background: var(--bs-primary) !important;  /* Light white */
    border-color: var(--white) !important;  /* Light white */
    /* color: var(--brand-blue-dark-variant) !important;  Light white  */
    color: var(--bs-white) !important;  /* Light white */ 
    transform: scale(1.02);  /* Slight scaling */
}

/* Active State */
.bts-button.active {
    background: var(--primary) !important;  /* Primary color */ 
    color: var(--white) !important;  /* Primary color */
    /* box-shadow: 0px 5px 20px var(--primary);  White shadow */
}

.rto-label {
    background: none !important;
    border: none !important;
}

.sidebar-navbar {
    position: fixed;
    margin: 0;
    left: 0;
    top: 0;
    z-index: 1050; /* Ensures it stays above content */
    padding: 0;
    height: 100vh;
    color: white;
    align-content: center;
    box-shadow: none; /* Remove shadow */
    flex-direction: column;
    align-items: center;
    overflow-y: auto; /* Enables scrolling */
    border-radius: 0 !important; /* Force remove rounded corners */
    width: 60px; /* Reduce width to 75% of 80px */
    background-color: rgba(40, 40, 40, 0.9) !important; /* Slightly more transparent */
    border: none !important;
    backdrop-filter: none !important; /* Remove blur effects */
    -webkit-backdrop-filter: none !important;
}

/* Sidebar button styling */
.sidebar-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem 0.5rem !important;
    margin: 0.25rem 0 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 0 !important; /* Force remove rounded corners from buttons */
    transition: all 0.3s ease !important;
    width: 100% !important;
    min-height: 60px !important;
    background: transparent !important;
    border: none !important;
}

/* Icon styling inside sidebar buttons */
.sidebar-button .nav-icon {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    display: block !important;
    visibility: visible !important;
}

/* Sidebar button hover effect */
.sidebar-button:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--bs-primary) !important;
    transform: translateX(2px);
}

.sidebar-button:hover .nav-icon {
    color: var(--bs-primary) !important;
}

/* Active sidebar button */
.sidebar-button.active {
    background-color: var(--bs-primary) !important;
    color: var(--white) !important;
    border-left: 3px solid var(--white) !important;
}

.sidebar-button.active .nav-icon {
    color: var(--white) !important;
}

/* Override Bootstrap Nav styles specifically for sidebar */
.navbar-nav .nav-link,
.nav.navbar .nav-link {
    border-radius: 0 !important;
}

/* Ensure Font Awesome icons are visible */
i.fa, i.fas, i.fa-solid, i.fa-md, i.fs-2, i.fs-3,
.sidebar-button i,
.nav-icon {
    color: #ffffff !important;
    display: inline-block !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure sidebar container has proper display */
.sidebar-navbar.nav {
    display: flex !important;
    flex-direction: column !important;
}

/* Force visibility on all nav elements */
.sidebar-navbar * {
    visibility: visible !important;
}

/* Ensure shadow remains visible across screen sizes */
/* For medium and smaller screens */
/* @media (max-width: 992px) {  
    .sidebar-navbar {
        width: 80px; 
        box-shadow: 3px 0px 8px rgba(0, 0, 0, 0.5);
    }
} */
/* For tablets and smaller screens */
/* @media (max-width: 768px) {  
    .sidebar-navbar {
        width: 70px;
        box-shadow: 2px 0px 6px rgba(0, 0, 0, 0.5);
    }
} */

.bts-card {
    margin: 0.5rem;
    padding: 0;
    /* width: auto; */
    max-width: 99%;
    overflow: visible;
    /* padding: 1rem; */
    /* background: var(--dark-surface-3);
    color: var(--brand-white);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease; */
}

/*
.leaflet-layer,
.leaflet-control-zoom-in,
.leaflet-control-zoom-out,
.leaflet-control-attribution {
  filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.leaflet-control-attribution a {
  color: var(--brand-white);
}
*/

/* Assign leavlet top processing priority */
.leaflet-container {
    z-index: 0 !important;
}

#background-container {
  position: relative;
  z-index: 1;
  background-image: url("windmill.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 100vh;
  /* display: flex; */
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}

/* Blur layer */
#background-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: inherit;
  background-size: inherit;
  background-repeat: inherit;
  background-position: inherit;
  filter: blur(12px);
  z-index: -1; /* Send behind actual content */
  opacity: 0.8;
}



.transparent-content {
    background: none;
    border: none;
    box-shadow: none;
    color: #ffffff; /* White text for dark backgrounds */
    text-align: center;
}

.glass-card {
background: rgba(255, 255, 255, 0.08);
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
border-radius: 6px;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.15);
}

.glass-text {
  color: rgba(255, 255, 255, 0.75); /* brighter white blend for better readability */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); /* enhanced shadow for better depth */
}

.bg-glass{
  background: rgba(255, 255, 255, 0.08); /* or rgba(0,0,0,0.3) for dark mode */
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Safari support */
}

/* glass controls */
/* Base reset */
/*
html, body, #_dash-app-content {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  height: 100%;
  width: 100%;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
background-color: #f5f5f5; fallback if map fails 
}
*/

/* Override any glassmorphism styles for sidebar */
.sidebar-navbar.glass-sidebar,
.glass-navbar,
.glass-sidebar {
  background: rgba(40, 40, 40, 0.95) !important; /* Override glassmorphism */
  border-radius: 0 !important; /* Override rounded corners */
  border: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  text-shadow: none !important;
}

/* Navbar styling */
.glass-navbar {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.8rem 2rem;
  z-index: 1000;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Sidebar styling */
.glass-sidebar {
  position: absolute;
  top: 100px;
  left: 20px;
  padding: 1rem 1.5rem;
  width: 220px;
  z-index: 1000;
}

.glass-sidebar h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: rgba(0, 0, 0, 0.85);
}

.glass-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.glass-sidebar li {
  margin-bottom: 0.75rem;
  cursor: pointer;
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.8);
  transition: color 0.2s ease;
}

.glass-sidebar li:hover {
  color: rgba(0, 0, 0, 1);
}




/* Glass Slider Styling */
.glass-slider .rc-slider {
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-slider .rc-slider-rail {
  background: rgba(255, 255, 255, 0.15) !important;
  border-radius: 3px;
}

.glass-slider .rc-slider-track {
  background: linear-gradient(90deg, rgba(0, 123, 255, 0.8), rgba(0, 123, 255, 0.6)) !important;
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

.glass-slider .rc-slider-handle {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 2px solid rgba(0, 123, 255, 0.8) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 12px rgba(0, 123, 255, 0.4) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.glass-slider .rc-slider-handle:hover {
  border-color: rgba(0, 123, 255, 1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 16px rgba(0, 123, 255, 0.6) !important;
}

.glass-slider .rc-slider-handle:focus {
  border-color: rgba(0, 123, 255, 1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 16px rgba(0, 123, 255, 0.6) !important;
}

.glass-slider .rc-slider-mark-text {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.75rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.glass-slider .rc-slider-mark-text-active {
  color: rgba(255, 255, 255, 1) !important;
  font-weight: bold;
}

/* Tooltip styling for glass theme */
.glass-slider .rc-slider-tooltip {
  background: rgba(0, 0, 0, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 6px;
}

.glass-slider .rc-slider-tooltip-content {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.8rem;
}

.glass-slider .rc-slider-tooltip-arrow {
  border-top-color: rgba(0, 0, 0, 0.8) !important;
}

/* Time slider container specific styling */
#time-slider-container .glass-card {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Glass Dropdown Styling */
.glass-dropdown .Select-control {
  background: rgba(255, 255, 255, 0.20) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2) !important;
  color: rgba(255, 255, 255, 0.85) !important; /* subtle white blend */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); /* soft pop */
}

.glass-dropdown .Select-control:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

.glass-dropdown .Select-control.is-focused {
  /* background: rgba(255, 255, 255, 0.15) !important; */
  background: rgba(0, 0, 0, 0.80) !important;
  border-color: rgba(0, 123, 255, 0.6) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(0, 123, 255, 0.2) !important;
}

.glass-dropdown .Select-placeholder,
.glass-dropdown .Select-value {
  color: rgba(255, 255, 255, 0.9) !important;
}

.glass-dropdown .Select-arrow-zone {
  color: rgba(255, 255, 255, 0.7) !important;
}

.glass-dropdown .Select-arrow {
  border-color: rgba(255, 255, 255, 0.7) transparent transparent !important;
}

.glass-dropdown .Select-menu-outer {
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  margin-top: 4px !important;
}

.glass-dropdown .Select-menu {
  background: rgba(255, 255, 255, 0.20) !important;
}

.glass-dropdown .Select-option {
  background: rgba(255, 255, 255, 0.20) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 0.5rem 0.75rem !important;
  transition: background-color 0.2s ease !important;
}

.glass-dropdown .Select-option:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 1) !important;
}

.glass-dropdown .Select-option.is-focused {
  background: rgba(255, 255, 255, 0.2) !important;
  color: rgba(255, 255, 255, 1) !important;
}

.glass-dropdown .Select-option.is-selected {
  background: rgba(0, 123, 255, 0.4) !important;
  color: rgba(255, 255, 255, 1) !important;
}

/* Dash Dropdown specific styling (dcc.Dropdown) */
.glass-dropdown .dash-dropdown .Select-control {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2) !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.glass-dropdown .dash-dropdown .Select-control:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

.glass-dropdown .dash-dropdown .Select-control--is-focused {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(0, 123, 255, 0.6) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(0, 123, 255, 0.2) !important;
}

.glass-dropdown .dash-dropdown .Select-placeholder,
.glass-dropdown .dash-dropdown .Select-value-label {
  color: rgba(255, 255, 255, 0.9) !important;
}

.glass-dropdown .dash-dropdown .Select-arrow-zone {
  color: rgba(255, 255, 255, 0.7) !important;
}

.glass-dropdown .dash-dropdown .Select-arrow {
  border-color: rgba(255, 255, 255, 0.7) transparent transparent !important;
}

.glass-dropdown .dash-dropdown .Select-menu-outer {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  margin-top: 4px !important;
  z-index: 9999 !important;
}

.glass-dropdown .dash-dropdown .Select-menu {
  background: transparent !important;
}

.glass-dropdown .dash-dropdown .Select-option {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 0.5rem 0.75rem !important;
  transition: background-color 0.2s ease !important;
}

.glass-dropdown .dash-dropdown .Select-option:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 1) !important;
}

.glass-dropdown .dash-dropdown .Select-option--is-focused {
  background: rgba(255, 255, 255, 0.2) !important;
  color: rgba(255, 255, 255, 1) !important;
}

.glass-dropdown .dash-dropdown .Select-option--is-selected {
  background: rgba(0, 123, 255, 0.4) !important;
  color: rgba(255, 255, 255, 1) !important;
}

/* Additional modern Dash dropdown selectors */
.glass-dropdown div[data-dash-is-loading] {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Modern React Select component styling */
.glass-dropdown .css-control {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2) !important;
}

.glass-dropdown .css-menu {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.glass-dropdown .css-option {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.9) !important;
  transition: background-color 0.2s ease !important;
}

.glass-dropdown .css-option:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 1) !important;
}

/* Fallback for any dropdown container */
.glass-dropdown > div,
.glass-dropdown .dropdown,
.glass-dropdown .Dropdown-root {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2) !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.glass-dropdown input {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border: none !important;
}

.glass-dropdown input::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* enforce full width for containers */
#app-container,
.dash-bootstrap .row,
.dash-bootstrap .col,
.dash-bootstrap .container {
  overflow-x: hidden;

  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Force base transparency and backdrop on table */
.glass-table {
  background: transparent !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.85);
  overflow: hidden;
}

/* Reset all inherited background styles */
.glass-table * {
  background-color: transparent !important;
}

/* Table header */
.glass-table thead th {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: rgba(0, 0, 0, 0.7) !important;
}

/* Table rows - light glass */
.glass-table tbody tr {
  background-color: rgba(255, 255, 255, 0.15) !important;
  transition: background-color 0.2s ease;
}

/* Hover effect - darker glass */
.glass-table-hover tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.3) !important;
  cursor: pointer;
}

/* Borders */
.glass-table td, .glass-table th {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Glass Feature Table - specialized styling for locations table */
.glass-feature-table {
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.85);
  overflow: hidden;
}

/* Feature table header styling */
.glass-feature-table thead th {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: rgba(0, 0, 0, 0.8) !important;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Feature table body styling */
.glass-feature-table tbody td {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: rgba(0, 0, 0, 0.75) !important;
  transition: background-color 0.2s ease;
}

/* Feature table hover effect */
.glass-feature-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.25) !important;
  cursor: pointer;
}

.glass-feature-table tbody tr:hover td {
  background-color: rgba(255, 255, 255, 0.25) !important;
}

/* Feature table borders */
.glass-feature-table td, .glass-feature-table th {
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.landing-logo {
    font-size: clamp(7rem, 14vw, 18rem);
    margin-bottom: 0rem;
    padding-bottom: 1rem;
    line-height: 1.05;          /* tight vertical rhythm */
    letter-spacing: -0.5px;     /* polish large text */
    font-weight: 700 !important;           /* softer font weight than bold */
    background: linear-gradient(
    180deg,
    #ffffff 1%,    /* light clear sky blue */
    #5fb0f7 15%,   /* brighter cyan-blue */
    #ff8a65 55%,   /* warm glowing orange */
    #ffb74d 90%,   /* golden amber */
    #fff59d 100%   /* clean bright yellow */

    );




    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    
    text-shadow: /* 0 2px 12px rgba(0, 0, 0, 0.5), */ 
                 0 0px 2px rgba(0, 0, 0, 0.2) !important; 
}

.page-markdown {
  padding: 2rem;
  max-width: 800px;
  margin: auto;
}

/* Responsive navbar fixes */
/* Apply compact navbar styling to ALL screen sizes */
.bg-glass {
  padding: 0.5rem 1rem !important; /* Compact padding for all screens */
}

.navbar {
  min-height: 50px !important;
  max-height: 50px !important; /* Prevent navbar from getting taller */
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

.navbar .container {
  align-items: center !important;
  min-height: 50px !important;
  max-height: 50px !important;
}

.navbar-brand,
.navbar-toggler {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.navbar .row {
  align-items: center !important;
  margin: 0 !important;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
  /* Even more compact on mobile if needed */
  .bg-glass {
    padding: 0.5rem 1rem !important;
  }
}

/* Extra small screens */
@media (max-width: 576px) {
  .bg-glass {
    padding: 0.25rem 0.5rem !important; /* Even more compact on very small screens */
  }
  
  .navbar {
    min-height: 45px !important;
  }
  
  /* Ensure navbar content doesn't get pushed to edges */
  .navbar .container {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
}

/* General navbar improvements for all screen sizes */
.navbar .container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

.navbar .row {
  flex: 1 !important;
  margin: 0 !important;
}

.navbar-toggler {
  border: none !important;
  padding: 0.25rem 0.5rem !important;
  line-height: 1 !important;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

.navbar-brand {
  margin-right: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

/* Hamburger menu responsive visibility - use Bootstrap's native behavior */
/* Hide hamburger on large screens (Bootstrap lg breakpoint) */
@media (min-width: 992px) {
  .navbar-toggler {
    display: none !important;
  }
  
  /* Always show navbar items on large screens and ensure proper flex behavior */
  .navbar-collapse {
    display: flex !important;
    flex-basis: auto !important;
  }
  
  /* Ensure navbar nav is visible on large screens */
  .navbar-collapse .navbar-nav {
    display: flex !important;
  }
}

/* Show hamburger on small/medium screens */
@media (max-width: 991.98px) {
  .navbar-toggler {
    display: block !important;
  }
  
  /* On small screens, allow collapse to hide/show based on state */
  .navbar-collapse:not(.show) {
    display: none !important;
  }
  
  .navbar-collapse.show {
    display: block !important;
  }
}

/* Landing Carousel */
.landing-carousel {
    /* center horizontally */
    margin: 4rem 2rem;
    position: relative;
}

@media (max-width: 992px) {
    .landing-carousel {
        max-width: 95vw;
    }
}

/* Carousel inner container - holds just the image area */
.landing-carousel .carousel-inner {
    position: relative;
    margin: 0 auto; /* Space for controls on sides */
    margin-bottom: 60px; /* Space for indicators below */
    margin-top: 60px; /* Space for indicators below */
    align-items: center;
    justify-content: center;

}

.landing-carousel .carousel-item {
    position: relative;
    padding: 0; /* Remove all padding from items */
}

.landing-carousel .carousel-item img {
    height: 50vh !important; /* Exactly 50% of viewport height */
    /* width: 100%; */
    object-fit: contain;
    object-position: center;
    border-radius: 8px 8px 0 0;
}

/* Caption positioned OUTSIDE and BELOW the image */
.landing-carousel .carousel-caption {
    position: static !important;
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 1rem !important;
    border-radius: 0 0 8px 8px;
    width: 100% !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    text-align: center;
    color: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
    margin: 0; /* Remove any margin */
}

.landing-carousel .carousel-caption h5,
.landing-carousel .carousel-caption h4,
.landing-carousel .carousel-caption p {
    color: rgba(255, 255, 255, 0.92) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
    margin-bottom: 0.5rem !important;
}

.landing-carousel .carousel-caption h5 {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    line-height: 1.3;
}

.landing-carousel .carousel-caption p {
    font-size: 0.9rem !important;
    margin-bottom: 0 !important;
    line-height: 1.4;
    opacity: 0.9;
}

/* Controls positioned OUTSIDE the image area */
.landing-carousel .carousel-control-prev,
.landing-carousel .carousel-control-next {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    height: 50vh; /* Match image height exactly */
    background: transparent;
    border: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.landing-carousel .carousel-control-prev:hover,
.landing-carousel .carousel-control-next:hover {
    opacity: 1;
}

.landing-carousel .carousel-control-prev {
    left: 0; /* Position at very left edge */
    justify-content: center;
}

.landing-carousel .carousel-control-next {
    right: 0; /* Position at very right edge */
    justify-content: center;
}

/* Indicators positioned BELOW the caption */
.landing-carousel .carousel-indicators {
    position: absolute;
    bottom: -60px; /* Below the entire carousel */
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .landing-carousel .carousel-inner {
        margin: 0 60px 50px 60px; /* Reduced spacing for controls and indicators */
    }
    
    .landing-carousel .carousel-item img {
        height: 40vh !important; /* Smaller on tablets */
    }
    
    .landing-carousel .carousel-control-prev,
    .landing-carousel .carousel-control-next {
        width: 60px;
        height: 40vh;
    }
    
    .landing-carousel .carousel-indicators {
        bottom: -50px;
    }
    
    .landing-carousel .carousel-caption {
        padding: 0.75rem !important;
    }
    
    .landing-carousel .carousel-caption h5 {
        font-size: 1rem !important;
    }
    
    .landing-carousel .carousel-caption p {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 576px) {
    .landing-carousel .carousel-inner {
        margin: 0 40px 40px 40px; /* Further reduced on mobile */
    }
    
    .landing-carousel .carousel-item img {
        height: 30vh !important; /* Even smaller on mobile */
    }
    
    .landing-carousel .carousel-control-prev,
    .landing-carousel .carousel-control-next {
        width: 40px;
        height: 30vh;
    }
    
    .landing-carousel .carousel-indicators {
        bottom: -40px;
    }
    
    .landing-carousel .carousel-caption {
        padding: 0.6rem !important;
    }
    
    .landing-carousel .carousel-caption h5 {
        font-size: 0.95rem !important;
    }
    
    .landing-carousel .carousel-caption p {
        font-size: 0.8rem !important;
    }
}

