body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-color: #f4f4f9;
    height: 100vh;
}

header {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 24px;
    flex-shrink: 0;
}

#main-content {
    display: flex;
    flex: 1;
    overflow: hidden;
}

#toc {
    width: 300px;
    background-color: #fff;
    padding: 20px;
    overflow-y: auto;
    height: 100%;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

#container {
    flex: 1;
    padding: 1px;
    display: flex;
    flex-direction: column;
}

.image-container {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.image-container img {
    max-width: 20%;
    height: auto;
    border-radius: 5px;
}

#map {
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

#radius-button,
#clear-radius-button {
    margin: 10px 0;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#radius-button:hover,
#clear-radius-button:hover {
    background-color: #0056b3;
}

#radius-button {
    display: none;
}

.toc-item {
    padding: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.toc-item:hover {
    background-color: #f0f0f0;
}

.toc-item.selected {
    background-color: #007BFF;
    color: white;
}

#legend {
    background: white;
    padding: 10px;
    margin: 10px;
    border: 1px solid black;
    font-size: 12px;
    font-family: Arial, sans-serif;
}