
#medicamento {
    width: 100%;
    padding: 8px;
    font-size: 16px;
    margin-bottom: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#sugerencias {
    border: 0px solid #ccc;
    background: #fff;
    max-height: 250px;
    overflow-y: auto;
    position: absolute;
    z-index: 999;
    width: 100%;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
    scrollbar-width: thin;
    scrollbar-color: #888 #f0f0f0;
}

#sugerencias::-webkit-scrollbar {
    width: 6px;
}
#sugerencias::-webkit-scrollbar-track {
    background: #f0f0f0;
}
#sugerencias::-webkit-scrollbar-thumb {
    background-color: #999;
    border-radius: 4px;
}

#sugerencias div {
    padding: 10px;
    cursor: pointer;
    margin-bottom: 4px;
    border-bottom: 1px solid #eee;
    color: #000;
    white-space: pre-line;
    transition: background 0.2s ease;
}

#sugerencias div:hover {
    background-color: #e6f7ff;
}

#resultado {
    font-size: 16px;
    padding: 10px;
    border-radius: 4px;
    margin-top: 12px;
}

#resultado span.rojo {
    color: #b30000;
    font-weight: bold;
}
