#companies-map-container {
    width: 100%;
    max-width: 100%;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #2A537A;
    /* Primary border */
}

#companies-map {
    height: 500px;
    width: 100%;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #companies-map {
        height: 400px;
    }
}

/* Popup Styles */
.leaflet-popup-content-wrapper {
    border-radius: 0;
    /* More clean/modern look matching the brand */
    box-shadow: 0 4px 20px rgba(42, 83, 122, 0.25);
    /* Shadow using primary color hue */
    padding: 0;
    overflow: hidden;
}

.leaflet-popup-content {
    font-family: 'Open Sans', sans-serif;
    /* Or theme font */
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    min-width: 220px;
}

.company-popup {
    display: flex;
    flex-direction: column;
}

.company-popup h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    background-color: #2A537A;
    /* Primary */
    color: #FCF5E1;
    /* Secondary (Cream) text */
    padding: 12px 15px;
    border-bottom: 3px solid #FFED00;
    /* Accent Border */
}

.company-popup .popup-body {
    padding: 15px;
    background-color: #fff;
}

.company-popup .address {
    margin-bottom: 12px;
    color: #2A537A;
    /* Text color */
    font-weight: 500;
}

.company-popup .website-link {
    display: block;
    text-align: center;
    background-color: #2A537A;
    /* Primary */
    color: #fff;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 4px;
    /* Small radius */
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 2px solid #2A537A;
}

.company-popup .website-link:hover {
    background-color: #FFED00;
    /* Accent */
    color: #2A537A;
    /* Primary text */
    border-color: #FFED00;
}

/* Leaflet override to match */
.leaflet-container a.leaflet-popup-close-button {
    color: #FCF5E1;
    /* Secondary */
    font-size: 20px;
    top: 4px;
    right: 4px;
}

.leaflet-container a.leaflet-popup-close-button:hover {
    color: #FFED00;
    /* Accent */
}