/* Reset and Layout Settings */
  html, body {
    height: 100%;
    margin: 0;
    padding: 0;
  }

.app-container {
	height: 100vh;
    display: flex;
    flex-direction: column;
}

.map-container {
  flex: 1; /* Take the remaining space after the header */
  position: relative;
}

/* Map Container Fills Remaining Space */
.map-container {
    position: absolute;
    top: 50px;
    left: 0;
    bottom: 0;
    right: 0;
}

#map {
    width: 100%; /* Ensure full width */
    height: 100%; /* Ensure full height */
    margin: 0;
    padding: 0;
    pointer-events: auto; /* Enable mouse events */
    z-index: 1; /* Ensure the map is above other elements */
    position: relative; /* Ensure proper stacking context */
}

.navbar-fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.slider {
    margin-bottom: 15px 0;
}

.filterlabel {
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

#all {
    display: flex;
    flex-direction: row;
    height: 100%; /* Full height of the page */
}

#mapWindow {
    display: inline-block;
    width: 80%; /* Adjusted width */
    height: 100%; /* Full height */
}

#menu {
    display: inline-block;
    width: 20%; /* Adjusted width */
    height: auto; /* Dynamic height based on content */
    max-height: calc(100% - 50px); /* Ensure it fits the screen */
    overflow-y: auto; /* Add scrollbar if content exceeds */
    padding: 10px;
    background-color: #fff; /* Ensure background color */
}

select {
    width: 100%;
    padding: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button,
.filterlabel div {
    background-color: #f5f5f5;
    border: none;
    color: #007bff;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    padding: 5px 10px;
    border-radius: 4px;
}

button:hover,
.filterlabel div:hover {
    background-color: #007bff;
    color: #fff;
}

/* Style the slider's value display */
#val_Scoremean,
#val_CapacityMW {
    color: #007bff;
    font-weight: bold;
}

/* STYLE FOR TABLE */

/* Enhanced CSS for a modern styled table */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    text-align: left;
    border-radius: 10px;
    overflow: hidden; /* Ensures rounded corners when scrolling */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.styled-table thead tr {
    background-color: #4CAF50;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: bold;
}

.styled-table th,
.styled-table td {
    padding: 12px 20px;
    border: 1px solid #dddddd; /* Subtle border */
}

.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
    transition: background-color 0.3s; /* Smooth hover effect */
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3; /* Alternating row colors */
}

.styled-table tbody tr:hover {
    background-color: #e2f7d5; /* Light green hover */
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #4CAF50; /* Stronger last row border */
}

.styled-table tbody td:first-of-type {
    font-weight: bold; /* Highlight the first column */
}

.styled-table caption {
    margin: 10px 0;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #4CAF50;
    text-transform: uppercase;
}

