#map {
    height: 600px;
    width: 100%;
    z-index: 0;
}
.legend {
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}
.legend-item {
    margin-bottom: 10px;
    cursor: pointer;
    font-weight: normal;
    display: flex;
    justify-content: space-between;
    transition: color 0.3s, text-decoration 0.3s;
}
.legend-item.hidden {
    color: gray;
    text-decoration: line-through;
}
.legend-line {
    width: 30px;
    height: 4px;
    display: inline-block;
    margin-right: 5px;
}
.legend-info {
    margin-left: 5px;
    cursor: pointer;
}
.marker-circle {
    width: 28px;
    height: 28px;
    background-color: white;
    border: 4px solid;
    border-radius: 50%;
}
.marker-square {
    width: 28px;
    height: 28px;
    background-color: white;
    border: 4px solid;
    border-radius: 5px;

}
.leaflet-marker-icon.marker-circle, .leaflet-marker-icon.marker-square{
    border: none;
}
.variant-tooltip {
    background-color: white;
    color: black;
    border: 1px solid #ccc;
    padding: 5px;
}
.marker-name {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: currentColor;
}
.modal-content {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.modal-body {
    padding: 10px;
}
.modal-body h6 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #007bff;
}
.offcanvas {
    width: 300px;
}
.offcanvas-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.offcanvas-footer {
    margin-top: auto;
    text-align: center;
}
.symbol {
    display: flex;
    align-items: center;
    gap: 10px;
}
.symbol .marker-circle, .symbol .marker-square {
    width: 20px;
    height: 20px;
}

.file-preview img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}
.file-preview a {
    display: inline-block;
    margin-right: 10px;
    color: #007bff;
    text-decoration: none;
}
.file-preview a:hover {
    text-decoration: underline;
}


.leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
    border: 2px solid rgba(0,0,0,0.2);
    background-clip: padding-box;
}
.leaflet-control-icon {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 10px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, border-color 0.3s;
    opacity: 0.8;
}

.leaflet-control-icon img {
    width: 24px;
    height: 24px;
}
.leaflet-control-icon button, .leaflet-control-icon a {
    border: none;
    background-color: transparent;
}

.leaflet-control-icon:hover {
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(0,0,0,0.5);
}

.leaflet-control-icon:hover img {

}

.variant-tooltip {
    font-size: 14px;
    font-weight: normal;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px;
    border-radius: 5px;
}

.no-icon {
    display: none;
}
