body {
    font-family: Arial, sans-serif;
    background-color: #333; /* Dark background */
    color: white; /* Light text color */
    display: flex;
    flex-direction: column;
    align-items: left;
    padding: 20px;
}

h1 {
    margin-bottom: 20px;
}

/* Normal link */
a {
    color: #f8f8f8; /* Link color */
    text-decoration: none; /* Remove underline */
}

/* Hovered link */
a:hover {
    color: #f8f8f8; /* Change color on hover */
    text-decoration: underline; /* Underline on hover */
}

#page-title {
    text-align: left;  /* Aligns the text to the left */
    margin-left: 0;    /* Ensures no extra margin on the left */
    padding-left: 10px; /* Optionally, add some padding for spacing */
    font-family: Arial, sans-serif;  /* Optional: set font style */
}

.custom-button {
    width: 200px;
    height: 40px;
    margin-right: 10px; /* Add space between buttons */
    background-color: #066b14; /* Example background color */
    color: white; /* Text color */
    border: none; /* Remove border */
    border-radius: 5px; /* Optional: rounded corners */
    cursor: pointer; /* Change cursor on hover */
    transition: background-color 0.3s; /* Smooth transition for hover */
}

.custom-button:hover {
    background-color: #0056b3; /* Darker shade on hover */
}

.custom-button:disabled {
    background-color: #6c757d; /* Gray color for disabled buttons */
    cursor: not-allowed; /* Change cursor for disabled buttons */
}

button {
    margin-bottom: 10px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #20692c; /* Button background */
    color: white; /* Button text color */
    cursor: pointer;
}

button:hover {
    background-color: #4156a2; /* Button hover background */
}

#container {
    display: flex; /* Flexbox layout */
    width: 100%; /* Full width */
}

#map {
    border-right: 1px solid #555; /* Divider between map and plot */
    height: 600px; /* Adjust map height to match plot height */
}

#plot {
    padding-left: 20px; /* Space between map and plot */
    width: 100%; /* Ensure the plot takes full width */
    height: 600px; /* Adjust height as needed */
}

#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 30, 30, 0.8); /* semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* ensures it appears above all other content */
}

.spinner {
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-top: 8px solid #ffffff; /* color of the spinner */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite; /* spinning animation */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.plot-container {
    max-width: 100vw; /* Ensures the plot doesn't exceed the viewport width */
    overflow-x: auto; /* Allows scrolling if content exceeds container width */
  }
  