
body {
    margin: 0;
    padding: 0;
    display: flex;
    height: 100vh;
    background: #E5C287;
    font-family: Arial, sans-serif; /* Improved readability */
}
.container {
    display: flex;
    width: 100%;
    height: 100%;
    margin: 0;
    background: white;
    border: none;
    overflow: hidden;
}
.map-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: margin-right 0.3s ease, width 0.3s ease;
}
#map {
    height: 100%;
    width: 100%;
}
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 50px;
    height: 100%;
    background: #be8319;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
    z-index: 1000;
}
.sidebar img {
    width: 50px;
    height: auto;
    margin-bottom: 20px;
    cursor: pointer;
}
.sidebar button {
    background: #ffab06;
    border: none;
    color: white;
    padding: 10px;
    margin: 5px 0;
    cursor: pointer;
    border-radius: 5px;
    width: 40px;
    height: 40px;
    transition: background 0.3s ease;
}
.sidebar button.active {
    background: #000000;
}
.controls {
    position: fixed;
    top: 0;
    right: 50px;
    width: 250px;
    padding: 15px;
    background: white;
    border: 2px solid #be8319;
    overflow-y: auto;
    display: none;
    z-index: 999;
    transition: transform 0.3s ease;
    height: 100%; /* Full height */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.controls.open {
    display: block;
    transform: translateX(0);
}
.controls.closed {
    transform: translateX(100%);
}

#togglePathScribeButton:hover, #addPathButton:hover {
    background-color: #596bbd;
}
#togglePathScribeButton.active, #addPathButton.active {

background-color: #68ba7f;
}
#homeButton, #togglePathScribeButton, #addPathButton {
    padding: 10px;
    margin: 8px;
    background: #002f6c;
    border-radius: 5px;
    color: white;
    border: none;
    cursor: pointer;
    margin-bottom: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 14px; 
}
#toggleLocationButton{
    padding: 8px;
    background: #002f6c;
    border-radius: 5px;
    color: white;
    border: none;
    cursor: pointer;
    margin-bottom: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%; 
    font-size: 14px; 
}
#clearMapButton,#removeMapButton {
    padding: 10px;
    margin: 8px;
    background: #FF3131;
    border-radius: 5px;
    color: white;
    border: none;
    cursor: pointer;
    margin-bottom: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 50%; 
    font-size: 14px;
}
#removeButton, #toggleTileLayerButton, #createContentButton, #editSouthWestButton, #editNorthEastButton, #fullSizeButton, #createProfileButton, #createDomainButton, #createMetadataButton, #createExtraButton, .copyButton {
    padding: 8px;
    background: #FDA403;
    border-radius: 5px;
    color: white;
    border: none;
    cursor: pointer;
    margin-bottom: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%; 
    font-size: 14px; 
}
#removeButton:hover, #toggleTileLayerButton:hover, #createContentButton:hover, #editSouthWestButton:hover, #editNorthEastButton:hover, #fullSizeButton:hover, #createProfileButton:hover, #createDomainButton:hover, #createMetadataButton:hover, #createExtraButton:hover, .copyButton:hover {
    background-color: #E8751A;
}
#toggleLocationButton:hover {
    background-color: #274ab3;
}
#toggleLocationButton.active{
    background-color: #68ba7f;
}
#mapBoundsControls{
    padding: 8px;
    background-color: #f0ebea;
}
#editSouthWestButton.active, #editNorthEastButton.active, #fullSizeButton.active {
    background-color: #898121;
}
#createContentButton {
    padding: 8px;
    font-size: 0.8em;
    margin-top: 8px;
    background: #FDA403;
}
.panel {
    position: fixed;
    top: 0;
    right: 20px;
    width: 250px;
    height: 100%;
    overflow-y: auto;
    background: white;
    border: 1px solid #be8319;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    padding: 15px;
    display: none;
    z-index: 2000;
}
#chart-container {
    margin-top: 10px;
    width: 250px;
    height: 250px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
#radarChart {
    width: 100%;
    height: 100%;
}
#valueInputContainer {
    display: none;
    margin-top: 10px;
}
#valueInput {
    width: 50px;
    margin-right: 10px;
}
#distanceDisplay {
    margin-left: 10px; 
    font-size: 14px;
    color: #FDA403;
}
.yellow-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: yellow;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    z-index: 2000;
}
.dot-label {
    display: none;
    position: absolute;
    top: 25px;
    text-align: center;
    width: 100%;
}
.yellow-dot:hover .dot-label {
    display: block;
}
/*.arrow {
    position: absolute;
    width: 0; 
    height: 0; 
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}*/
/*.controls.open .arrow {
    border-top: 10px solid #000;
    top: 50%;
    right: -10px;
}*/
/*.controls.closed .arrow {
    border-bottom: 10px solid #000;
    top: 50%;
    right: -10px;
}*/
.faded {
    opacity: 0.5;
}
.selected-boundary {
    background-color: #898121;
    pointer-events: none;
}
.boundary-marker {
    font-size: 24px;
}
#mapBoundsControls {
    display: none;
}
.profile-image-marker .marker-icon {
    border: 2px solid red;
    border-radius: 50%;
}
#searchContainer {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
     /* Hide by default */
}
#searchInput {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px; /* Space between input and button */
    width: 200px;
    box-sizing: border-box;
}
#searchButton {
    padding: 8px 16px;
    background: #FDA403;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    box-sizing: border-box;
    margin-right: 10px; /* Space between button and select */
}
#searchButton:hover {
    background: #E8751A;
}
#locationSelect {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 200px;
    box-sizing: border-box;
}
.controls label {
    font-size: 14px; /* Adjust font size for better readability */
    margin-top: 10px; /* Space between label and input */
}
.controls input[type="text"],
.controls input[type="number"],
.controls input[type="file"],
.controls select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px; /* Space between elements */
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}
.controls h3 {
    font-size: 16px;
    margin-bottom: 10px; /* Space below the title */
    text-align: center; /* Center the title */
}
.controls h3::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #be8319;
    margin: 10px 0; /* Space above and below the divider */
}
.controls .controls-content {
    margin-top: 20px; /* Add space below the divider */
}
#radarChartContainer {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Make sure it's on top of the map */
}
