/* Map styles for FindMyTutor */

/* Map container */
#map {
    width: 100%;
    height: 400px;
    border-radius: 5px;
}

/* Location info control */
.location-info {
    padding: 8px 12px;
    font: 14px/16px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    max-width: 400px;
    word-wrap: break-word;
    border: 1px solid #4e73df;
    margin-bottom: 10px !important;
}

.location-info strong {
    color: #4e73df;
    font-weight: 700;
    margin-right: 5px;
}

/* Custom marker popup */
.leaflet-popup-content {
    max-width: 300px;
    word-wrap: break-word;
}

/* Search control */
.leaflet-control-geocoder {
    border-radius: 4px;
    background: white;
    min-width: 26px;
    min-height: 26px;
}

.leaflet-control-geocoder-form input {
    font-size: 14px;
    border: 0;
    background-color: transparent;
    width: 246px;
    padding: 0 8px;
    height: 26px;
    outline: none;
}

/* Responsive styles */
@media (max-width: 767.98px) {
    #map {
        height: 300px;
    }

    .leaflet-control-geocoder-form input {
        width: 200px;
    }
}

@media (max-width: 575.98px) {
    #map {
        height: 250px;
    }

    .leaflet-control-geocoder-form input {
        width: 150px;
    }
}
