body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

#map-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
}

#map {
    flex: 3;
    width: 100%;
}

#elevation-div {
    flex: 1;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ddd;
}

.elevation-control {
    height: 100% !important;
}

.elevation .area {
    fill: rgba(75, 150, 255, 0.2);
}

.gpx-selector-block {
    padding-top: 7vh;
}

.gpx-selector {
    background: white;
    padding: 7px;
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-height: 80vh;
    overflow: hidden;
    min-width: 150px;
    max-width: 200px;
}

.gpx-selector-header {
    font-weight: bold;
    background-color: rgb(240, 240, 240);
    border-bottom: 1px solid #d4d4d4;
    padding: 5px;
    cursor: pointer;
    user-select: none;
}

.gpx-selector-header:hover {
    background-color: #dddddd;
}

.gpx-selector-content {
    margin-top: 5px;
    max-height: calc(80vh - 220px);
    overflow-y: auto;
    transition: all 0.3s ease;
}

.gpx-selector-item {
    padding: 5px;
    display: flex;
    align-items: center;
}

.gpx-selector-item input[type="radio"] {
    margin-right: 8px;
}

.gpx-selector-item label {
    cursor: pointer;
    flex-grow: 1;
}

.gpx-selector-item:hover {
    background: #f5f5f5;
}