body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

#wrapper {
    width: 95%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    min-height: 100vh;
    padding-bottom: 100px; 
}

#map {
    height: 500px;
    width: 100%;
    margin-top: 8px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

@media (max-width: 600px) {
    .leaflet-routing-container {
        width: 80vw !important; 
        max-width: 300px;
    }

    #map {
        height: 60vh;
        min-height: 400px;
    }
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 10px 0;
    z-index: 1000;
}

.search-box {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    padding: 5px 15px;
}

#route-search {
    flex-grow: 1;
    border: none;
    outline: none;
    padding: 10px;
    font-size: 16px;
    font-family: inherit;
}

.search-box button {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    color: #5f6368;
}

#directions-btn {
    color: #007aff;
}

.suggestions-dropdown {
    position: absolute;
    top: 55px;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    display: none;
}

.suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f1f3f4;
    font-size: 14px;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

.suggestion-item strong {
    display: block;
    font-size: 15px;
    color: #202124;
}

.suggestion-item span {
    color: #70757a;
}