﻿html,
body
{
    margin: 0;
    padding: 0;
}

#leaflet-map
{
    height: 100%;
    min-height: 20rem;
}

.leaflet-popup-content
{
    font-size: 14px;
    line-height: 1.6;
    max-height: 300px;
    min-width: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    margin-inline-end: 0.5rem;
    padding-inline-end: 0.5rem;
}

.leaflet-tooltip
{
    background: lightsteelblue;
    border-radius: 8px;
    padding: 6px;
    font-size: 12px;
}

.popup-content
{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.popup-header
{
    font-weight: bold;
}

.popup-detail
{
    font-size: 13px;
    /* white-space: pre-wrap; */
    white-space: wrap;
    word-break: break-word;
}

.popup-label
{
    font-weight: bold;
}

.graphs-container
{
    width: 100%;
}

.graph-container
{
    /*margin-top: 10px;*/
    border: 2px solid #007bff;
    border-radius: 4px;
    padding: 6px;
    display: none;
}

#search-container
{
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 9999;
    background: white;
    padding: 6px;
    border-radius: 4px;
    width: 280px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#leaflet-search-input,
#leaflet-type-filter
{
    width: 100%;
    box-sizing: border-box;
    padding: 4px;
}

#leaflet-search-results
{
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: none;
}

.search-item
{
    padding: 4px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

.search-item:hover
{
    background: #f0f0f0;
}
