.custom-map-container {
    width: 100%;
    height: 600px;
    /* Default height for desktop */
    background-color: transparent;
    /* Transparent as per request */
    position: relative;
}

@media only screen and (max-width: 768px) {
    .custom-map-container {
        height: 450px !important;
        /* Smaller height for tablets/mobile */
    }

    .custom-tooltip-wrapper {
        font-size: 12px;
        /* Smaller font for tooltips */
        max-width: 200px;
        /* Constrain width */
    }

    .custom-tooltip-wrapper h4 {
        font-size: 14px;
    }
}

@media only screen and (max-width: 480px) {
    .custom-map-container {
        height: 350px !important;
        /* Even smaller for phones */
    }
}

/* Robust Tooltip Styling */
.custom-tooltip-wrapper {
    color: #000000 !important;
    font-family: inherit;
    font-size: 14px;
    max-width: 300px;
    white-space: normal;
    text-align: left;
}

.custom-tooltip-wrapper h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: bold;
    color: #000000 !important;
}

.custom-tooltip-wrapper table {
    width: 100%;
    border-collapse: collapse;
}

.custom-tooltip-wrapper th,
.custom-tooltip-wrapper td {
    padding: 4px;
    border-bottom: 1px solid #eee;
    color: #000000 !important;
}