.osm-map-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    /* Optional slight rounding for a modern look */
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    /* Make sure leaflet controls are below our custom card if overlapping */
}

/* Position our custom card over the leaflet map */
.osm-map-card {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    min-width: 250px;
    max-width: 320px;
    /* This ensures mouse events work on our custom panel */
    pointer-events: auto;
}

.osm-map-card-address {
    font-size: 15px;
    color: #202124;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 15px;
}

.osm-map-card-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.osm-action-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    color: #1a73e8 !important; /* Google Blue */
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
    background: none !important;
}

.osm-action-link:hover {
    color: #1558c4 !important;
}

.osm-action-icon {
    width: 18px;
    height: 18px;
    color: #1a73e8;
}

/* Ensure Leaflet's zoom buttons don't overlap our box */
.leaflet-top.leaflet-left {
    top: auto !important;
    bottom: 20px !important;
    left: 20px !important;
}

@media(max-width: 600px){
    .osm-map-card {
        top: auto;
        bottom: 20px;
        left: 5%;
        width: 90%;
        max-width: 90%;
    }
    .leaflet-control-zoom {
        display: none !important;
    }
}
