/* Shared restaurant map styles (Leaflet) */
.pub-map {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: linear-gradient(180deg, #eef2ff 0%, #f8fafc 100%);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 10px 28px rgba(99, 102, 241, 0.08);
}

.pub-map .leaflet-container {
    font-family: inherit;
    background: #e8edf4;
}

.pub-map-picker {
    height: 340px;
}

.pub-map-picker .pub-map-iframe {
    height: 100%;
    min-height: 340px;
    border-radius: 16px;
}

.restaurant-location-picker .pub-map-iframe {
    width: 100%;
}

.restaurant-location-picker .leaflet-control-attribution {
    display: none;
}

.panel-content .restaurant-location-picker {
    position: relative;
    z-index: 0;
    isolation: isolate;
}

.panel-content .restaurant-location-picker .leaflet-container {
    z-index: 0;
}

.pub-map-display {
    height: 220px;
}

.pub-map .leaflet-control-zoom {
    border: none;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    overflow: hidden;
}

.pub-map .leaflet-control-zoom a {
    width: 34px;
    height: 34px;
    line-height: 34px;
    color: #334155;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #eef2f7;
}

.pub-map .leaflet-control-zoom a:hover {
    background: #fff;
    color: var(--pub-primary, #6366f1);
}

.pub-map .leaflet-control-attribution {
    margin: 0;
    padding: 2px 8px;
    font-size: 0.68rem;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 8px 0 0 0;
    color: #64748b;
}

.pub-map .leaflet-control-attribution a {
    color: #64748b;
}

.pub-map-pin-wrap {
    background: none;
    border: none;
}

.pub-map-pin {
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
    background: linear-gradient(145deg, var(--pub-primary, #6366f1) 0%, #8b5cf6 100%);
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow:
        0 8px 18px rgba(99, 102, 241, 0.38),
        0 2px 4px rgba(15, 23, 42, 0.12);
}

.pub-map-pin::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 7px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
}

.restaurant-location-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.restaurant-location-modal .pub-map-picker {
    height: 380px;
}

.restaurant-location-summary .restaurant-location-coords {
    margin: 0;
}

.restaurant-location-coords {
    padding: 8px 12px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 0.82rem;
    color: #64748b;
    direction: ltr;
    text-align: left;
}

.snapp-info-map {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 12px;
    background: transparent;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 10px 28px rgba(99, 102, 241, 0.08);
}

.snapp-info-map .pub-map-display {
    height: 220px;
}

.snapp-info-map .pub-map-iframe,
.pub-map-iframe {
    display: block;
    width: 100%;
    height: 220px;
    border: 0;
    border-radius: 16px;
}

.snapp-info-map iframe {
    display: block;
    width: 100%;
    height: 220px;
    border: 0;
    border-radius: 16px;
}
