/**
 * style.css - Стили для страницы карты, линейки, координат и добавления тайлов
 */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

#map {
    width: 100%;
    height: 100%;
}

.leaflet-control-custom {
    background: white;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    margin-bottom: 6px;
}

.leaflet-control-custom button {
    padding: 6px 12px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    border: none;
    background: none;
    cursor: pointer;
}

.leaflet-control-custom button:hover {
    background: #f4f4f4;
}

.distance-label {
    background: white;
    padding: 6px 12px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    margin-top: 6px;
    white-space: nowrap;
}

.coords-label {
    background: white;
    padding: 6px 12px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    margin-top: 6px;
    white-space: nowrap;
}

.coords-label button {
    margin-left: 10px;
    padding: 2px 8px;
    font-size: 12px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #f4f4f4;
}

.coords-label button:hover {
    background: #e0e0e0;
}