/**
 * Frontend Maps CSS for PODs Address Enhancement
 */

.pods-address-map {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 15px 0;
    overflow: hidden;
}

.pods-address-map .leaflet-popup-content {
    font-size: 14px;
    line-height: 1.4;
}

.pods-address-map .leaflet-popup-content-wrapper {
    border-radius: 4px;
}

/* Responsive map containers */
@media (max-width: 768px) {
    .pods-address-map {
        height: 250px !important;
        margin: 10px 0;
    }
}

/* Address info box that can appear alongside maps */
.pods-address-info {
    background: #f9f9f9;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    padding: 15px;
    margin: 10px 0;
    font-size: 14px;
    line-height: 1.5;
}

.pods-address-info h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
}

.pods-address-info .address-line {
    margin-bottom: 5px;
}

.pods-address-info .coordinates {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e1e1e1;
}

/* Map loading state */
.pods-address-map.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    color: #666;
    font-size: 14px;
}

.pods-address-map.loading::before {
    content: "🗺️ Loading map...";
}

/* Map error state */
.pods-address-map.error {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffeaea;
    color: #d63638;
    font-size: 14px;
    padding: 20px;
}

.pods-address-map.error::before {
    content: "⚠️ Map unavailable";
}