/* Vložená Leaflet mapa — overlay pro odemčení na dotykových zařízeních */
.leaflet-map-interactive-wrap {
    position: relative;
}

.leaflet-map-touch-overlay {
    position: absolute;
    inset: 0;
    z-index: 450;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(243, 244, 246, 0.42);
    backdrop-filter: blur(1px);
    cursor: pointer;
    touch-action: pan-y;
    border-radius: inherit;
}

.leaflet-map-touch-overlay.is-hidden {
    display: none;
}

.leaflet-map-touch-overlay__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.125rem;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    color: #4b5563;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    max-width: min(85%, 16rem);
    pointer-events: none;
}

.leaflet-map-touch-overlay__icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    color: #7a12d1;
}

.leaflet-map-touch-done {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.625rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, 0.95);
    color: #374151;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(4px);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.leaflet-map-touch-done:hover {
    background: #fff;
    color: #111827;
}

.leaflet-map-touch-done[hidden] {
    display: none !important;
}
