body {
    font-family: sans-serif;
    padding: 2rem;
}

form {
    position: relative;
    max-width: 500px;
}

input[type="text"] {
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
}

.autocomplete-box {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    z-index: 10;
}

.autocomplete-item {
    padding: 0.75rem;
    border-top: 1px solid #eee;
    cursor: pointer;
}

.autocomplete-item:hover {
    background-color: #f0f0f0;
}

.autocomplete-item small {
    display: block;
    font-size: 0.8rem;
    color: #666;
}