body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #FFF4E0;
}

.container {
    background: white;
    padding: 30px; /* Increase padding to create more space */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

h1 {
    color: #FF6F00;
}

button {
    margin: 10px 0;
    padding: 10px 20px;
    background-color: #FF6F00;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

button:hover {
    background-color: #E65C00;
}

input, select {
    margin: 10px 0;
    padding: 10px;
    width: calc(100% - 20px); /* Adjust width to account for padding */
    border: 1px solid #ccc;
    border-radius: 5px;
}

#filteredLocations, #locationInfo {
    margin-top: 20px;
}

.locationItem {
    background: #FFE0B2;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
}

.autocomplete {
    position: relative;
    display: inline-block;
    width: 100%; /* Ensure it takes the full width of the container */
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #ccc; /* Match the input border color */
    border-radius: 5px; /* Match the input border radius */
    background-color: #fff; /* Match the container background */
    z-index: 99;
    top: 100%; /* Position below the input */
    left: 0;
    right: 0;
    max-height: 150px; /* Limit the height of the dropdown */
    overflow-y: auto; /* Add scroll if there are many suggestions */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
    text-align: left;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #eee; /* Lighter border for items */
}

.autocomplete-items div:hover {
    background-color: #FFE0B2; /* Match your .locationItem background */
}

.autocomplete-items div:last-child {
    border-bottom: none; /* Remove border for the last item */
}