html, body {
    overscroll-behavior: none; /* prevent slide up to refresh on iOS */
}

.search-container {
    position: absolute;
    max-width: min(300px, 100vw);
    margin: 10px;
    z-index: 9999;
    top: 0px;
    left: 0px;
}

.search-input {
    width: 100%;
    padding: 8px 35px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    font-size: 14px;
    box-sizing: border-box;
}

.search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #888;
    cursor: pointer;
}

.search-results {
    position: fixed;
    height: 0%;
    left: 0;
    right: 0;
    background: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transition: height 0.3s ease-in-out;
    max-height: 80%;
    z-index: 9999;
    overflow-y: auto;
    user-select: none;
    color: black;
}

.search-results.visible {
    bottom: 0;
}

/* Custom Scrollbar */
.search-results::-webkit-scrollbar {
    width: 8px; /* Scrollbar width */
}

.search-results::-webkit-scrollbar-track {
    background: #f1f1f1; /* Track background */
    width: 10px;
}

.search-results::-webkit-scrollbar-thumb {
    background: #888; /* Scrollbar color */
    border-radius: 10px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: #555; /* Darker color on hover */
}

.draggable-area {
    width: 100%;
    height: 30px;
    cursor: ns-resize;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.handle {
    width: 50px;
    height: 5px;
    background: #ccc;
    border-radius: 5px;
}

.location {
    padding: 0px 10px;
    border-bottom: 1px solid #eee;
}

.get-directions {
    color: blue;
    cursor: pointer;
}

.close-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: black;
    cursor: pointer;
    font-weight: 700;
}