/* ============================================================
   БАЗОВАЯ КНОПКА
   Наследует стиль Leaflet (.leaflet-bar a)
============================================================ */

.leaflet-control a.gps-button {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
}

/* ============================================================
   СОСТОЯНИЯ (только иконки)
============================================================ */

.leaflet-control a.gps-button {
    background-image: url('../images/location-pin-slash.svg');
}

.leaflet-control a.gps-button.loading {
    background-image: url('../images/location-pin-loading.svg');
}

.leaflet-control a.gps-button.active {
    background-image: url('../images/location-pin-active.svg');
}

.leaflet-control a.gps-button.disabled {
    background-image: url('../images/location-pin-disabled.svg');
    opacity: 0.5;
    cursor: default;
}

/* ============================================================
   ALERT
============================================================ */

.leaflet-control .gps-alert {
    position: absolute;
    left: 34px;
    bottom: -1px;

    width: 220px;
    padding: 4px 6px;

    font-size: 12px;
    line-height: 1.2em;

    color: #e00;
    background: rgba(255,255,255,0.96);

    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* ============================================================
   Плавный поворот маркера
============================================================ */

.leaflet-marker-icon {
    transition: transform 0.3s linear;
}
