/************************************************************
 *  Reusable map.css
 ************************************************************/

/* Force the map container to a certain height, e.g., 300px */
#restaurant-map, #expandedMap {
    width: 100%;
    height: 300px; /* Adjust as needed */
    border-radius: 15px;
    background-color: #f0f0f0; /* fallback if map can't load */
    cursor: pointer; /* indicates clickable to open modal */
}

/* If you want the expanded map to be taller than 300px: */
#expandedMap {
    height: 600px; /* large map in modal */
}

/************************************************************
 *  MODAL styles for the map
 ************************************************************/

.map-modal {
    display: none;            /* Hidden by default */
    position: fixed;          /* Stay in place */
    z-index: 2000;            /* Sits on top of everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;         /* Disable scroll in background */
    background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
}

.map-modal-content {
    position: relative;
    margin: 5% auto;
    width: 80%;
    max-width: 1000px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff; /* You can also keep it transparent if you want */
}

/* Close button inside the modal */
.map-modal-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    z-index: 9999;
    /* Add a subtle shadow or better visibility if you want */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}

.map-modal-close:hover,
.map-modal-close:focus {
    color: #e61c4c;
}

/************************************************************
 *  Leaflet custom color for marker, popups, etc.
 ************************************************************/

/* Example: if you want to recolor the default zoom buttons */
.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
    background-color: #e61c4c;
    color: #fff;
    font-weight: bold;
    border: none;
}

/* If you want to style the popup text or arrow, e.g.: */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
}
.leaflet-popup-tip {
    background: #e61c4c;
}
